2011-02-24 04:14:30 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2012-10-24 20:41:30 +02:00
|
|
|
noinst_LIBRARIES = libhexchatcommon.a
|
2011-02-24 04:14:30 +01:00
|
|
|
|
2014-09-06 16:44:52 +02:00
|
|
|
AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(top_srcdir)
|
2011-02-24 04:14:30 +01:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
cfgfiles.h \
|
|
|
|
chanopt.h \
|
|
|
|
ctcp.h \
|
|
|
|
dcc.h \
|
|
|
|
fe.h \
|
2012-10-24 21:33:02 +02:00
|
|
|
hexchat.h \
|
|
|
|
hexchatc.h \
|
|
|
|
hexchat-plugin.h \
|
2011-02-24 04:14:30 +01:00
|
|
|
history.h \
|
|
|
|
identd.c \
|
|
|
|
ignore.h \
|
|
|
|
inbound.h \
|
|
|
|
inet.h \
|
|
|
|
make-te.c \
|
|
|
|
modes.h \
|
|
|
|
msproxy.h \
|
|
|
|
network.h \
|
|
|
|
notify.h \
|
|
|
|
outbound.h \
|
|
|
|
plugin.h \
|
|
|
|
plugin-timer.h \
|
|
|
|
proto-irc.h \
|
|
|
|
server.h \
|
|
|
|
servlist.h \
|
|
|
|
ssl.h \
|
|
|
|
ssl.c \
|
|
|
|
text.h \
|
|
|
|
textenums.h \
|
|
|
|
textevents.h \
|
|
|
|
textevents.in \
|
|
|
|
tree.h \
|
|
|
|
url.h \
|
|
|
|
userlist.h \
|
2012-10-24 21:33:02 +02:00
|
|
|
util.h
|
2011-02-24 04:14:30 +01:00
|
|
|
|
|
|
|
if USE_OPENSSL
|
|
|
|
ssl_c = ssl.c
|
|
|
|
endif
|
|
|
|
|
2014-01-30 08:01:42 +01:00
|
|
|
if USE_MSPROXY
|
|
|
|
msproxy_c = msproxy.c
|
|
|
|
endif
|
|
|
|
|
2011-02-24 04:14:30 +01:00
|
|
|
if USE_DBUS
|
|
|
|
dbusdir = dbus
|
2012-10-24 20:41:30 +02:00
|
|
|
libhexchatcommon_a_LIBADD = \
|
2011-02-24 04:14:30 +01:00
|
|
|
$(top_builddir)/src/common/dbus/dbus-*.$(OBJEXT)
|
|
|
|
endif
|
|
|
|
SUBDIRS = $(dbusdir) .
|
|
|
|
|
2013-03-31 17:01:56 +02:00
|
|
|
if DO_PLUGIN
|
|
|
|
include_HEADERS = hexchat-plugin.h
|
|
|
|
endif
|
|
|
|
|
2014-01-14 07:18:15 +01:00
|
|
|
noinst_PROGRAMS = make-te
|
|
|
|
|
2012-10-24 21:33:02 +02:00
|
|
|
libhexchatcommon_a_SOURCES = cfgfiles.c chanopt.c ctcp.c dcc.c hexchat.c \
|
2014-02-06 02:42:48 +01:00
|
|
|
history.c ignore.c inbound.c marshal.c modes.c $(msproxy_c) network.c notify.c \
|
2012-10-24 21:33:02 +02:00
|
|
|
outbound.c plugin.c plugin-timer.c proto-irc.c server.c servlist.c \
|
2013-04-03 16:48:03 +02:00
|
|
|
$(ssl_c) text.c tree.c url.c userlist.c util.c
|
2012-10-24 20:41:30 +02:00
|
|
|
libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS)
|
2011-02-24 04:14:30 +01:00
|
|
|
|
2012-10-27 17:25:34 +02:00
|
|
|
textenums.h: textevents.h
|
|
|
|
|
2014-06-09 19:45:24 +02:00
|
|
|
textevents.h: $(srcdir)/textevents.in make-te
|
2014-09-06 16:44:52 +02:00
|
|
|
$(AM_V_GEN) $(srcdir)/make-te < $< > $@ 2> textenums.h
|
2012-10-27 17:25:34 +02:00
|
|
|
|
2014-06-09 19:45:24 +02:00
|
|
|
marshal.h: $(srcdir)/marshalers.list
|
|
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_hexchat_marshal --header $< > $@
|
2014-02-06 02:42:48 +01:00
|
|
|
|
2014-06-09 19:45:24 +02:00
|
|
|
marshal.c: $(srcdir)/marshalers.list
|
|
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_hexchat_marshal --body $< > $@
|
2014-02-06 02:42:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
BUILT_SOURCES = textenums.h textevents.h marshal.c marshal.h
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|