comparison mcabber/mcabber/Makefile.am @ 1668:41c26b7d2890

Install mcabber headers * Change mcabber headers naming scheme * Move 'src/' -> 'mcabber/' * Add missing include <mcabber/config.h>'s * Create and install clean config.h version in 'include/' * Move "dirty" config.h version to 'mcabber/' * Add $(top_srcdir) to compiler include path * Update modules HOWTO
author Myhailo Danylenko <isbear@ukrpost.net>
date Mon, 18 Jan 2010 15:36:19 +0200
parents mcabber/src/Makefile.am@fca9a4c17432
children 5093b5ca1572
comparison
equal deleted inserted replaced
1667:8af0e0ad20ad 1668:41c26b7d2890
1 bin_PROGRAMS = mcabber
2 mcabber_SOURCES = main.c main.h roster.c roster.h events.c events.h \
3 commands.c commands.h compl.c compl.h \
4 hbuf.c hbuf.h screen.c screen.h logprint.h \
5 settings.c settings.h hooks.c hooks.h utf8.c utf8.h \
6 histolog.c histolog.h utils.c utils.h pgp.c pgp.h \
7 xmpp.c xmpp.h xmpp_helper.c xmpp_helper.h xmpp_defines.h \
8 xmpp_iq.c xmpp_iq.h xmpp_iqrequest.c xmpp_iqrequest.h \
9 xmpp_muc.c xmpp_muc.h xmpp_s10n.c xmpp_s10n.h \
10 caps.c caps.h fifo.c fifo.h help.c help.h
11
12 if OTR
13 mcabber_SOURCES += otr.c otr.h nohtml.c nohtml.h
14 endif
15
16 LDADD = $(GLIB_LIBS) $(LOUDMOUTH_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \
17 $(ENCHANT_LIBS)
18
19 AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(LOUDMOUTH_CFLAGS) \
20 $(GPGME_CFLAGS) $(LIBOTR_CFLAGS) \
21 $(ENCHANT_CFLAGS)
22
23 CLEANFILES = hgcset.h
24
25 if HGCSET
26 BUILT_SOURCES = hgcset.h
27
28 hgcset.h:
29 ../hgcset.sh
30
31 .PHONY: hgcset.h
32 endif
33
34 if INSTALL_HEADERS
35 mcabberinclude_HEADERS = main.h roster.h events.h \
36 commands.h compl.h \
37 hbuf.h screen.h logprint.h \
38 settings.h hooks.h utf8.c utf8.h \
39 histolog.h utils.h pgp.h \
40 xmpp.h xmpp_helper.h xmpp_defines.h \
41 xmpp_iq.h xmpp_iqrequest.h \
42 xmpp_muc.h xmpp_s10n.h \
43 caps.h fifo.h help.h $(top_srcdir)/include/config.h
44
45 if OTR
46 mcabberinclude_HEADERS += otr.h nohtml.h
47 endif
48
49 if HGCSET
50 mcabberinclude_HEADERS += hgcset.h
51 endif
52
53 mcabberincludedir = $(includedir)/mcabber
54 endif
55
56 #SUBDIRS =