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