Mercurial > ~mikael > mcabber > hg
annotate mcabber/mcabber/Makefile.am @ 2133:69d00a118c0c
Fix ANSI C-incompatible change
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 24 Jun 2014 20:58:46 +0200 |
parents | c7e9950fa741 |
children |
rev | line source |
---|---|
57 | 1 bin_PROGRAMS = mcabber |
1653
fca9a4c17432
Improve UI latency and CPU usage
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1604
diff
changeset
|
2 mcabber_SOURCES = main.c main.h roster.c roster.h events.c events.h \ |
94 | 3 commands.c commands.h compl.c compl.h \ |
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
364
diff
changeset
|
4 hbuf.c hbuf.h screen.c screen.h logprint.h \ |
930
a75f7a13df7b
UTF-8 terminal support (Reimar Döffinger)
Mikael Berthe <mikael@lilotux.net>
parents:
868
diff
changeset
|
5 settings.c settings.h hooks.c hooks.h utf8.c utf8.h \ |
1041
d4b97a2423eb
Introduce PGP utility functions
Mikael Berthe <mikael@lilotux.net>
parents:
1040
diff
changeset
|
6 histolog.c histolog.h utils.c utils.h pgp.c pgp.h \ |
1604
351427ef0b4b
Remove #include's of C files
Mikael Berthe <mikael@lilotux.net>
parents:
1600
diff
changeset
|
7 xmpp.c xmpp.h xmpp_helper.c xmpp_helper.h xmpp_defines.h \ |
351427ef0b4b
Remove #include's of C files
Mikael Berthe <mikael@lilotux.net>
parents:
1600
diff
changeset
|
8 xmpp_iq.c xmpp_iq.h xmpp_iqrequest.c xmpp_iqrequest.h \ |
351427ef0b4b
Remove #include's of C files
Mikael Berthe <mikael@lilotux.net>
parents:
1600
diff
changeset
|
9 xmpp_muc.c xmpp_muc.h xmpp_s10n.c xmpp_s10n.h \ |
2104
c7e9950fa741
Added option to enable carbons (set carbons = 1 in mcabberrc)
Roeland Jago Douma <roeland@famdouma.nl>
parents:
2091
diff
changeset
|
10 caps.c caps.h help.c help.h carbons.c carbons.h |
1426
a64778f5f26b
Implement FIFO named command pipe
Mikael Berthe <mikael@lilotux.net>
parents:
1309
diff
changeset
|
11 |
1309
887f8801418c
Only compile otr.c if libotr is available
franky@veqlargh.fs
parents:
1300
diff
changeset
|
12 if OTR |
1470
a8b924b5474c
The OTR protocol expects (X)HTML messsages
Mikael Berthe <mikael@lilotux.net>
parents:
1448
diff
changeset
|
13 mcabber_SOURCES += otr.c otr.h nohtml.c nohtml.h |
1309
887f8801418c
Only compile otr.c if libotr is available
franky@veqlargh.fs
parents:
1300
diff
changeset
|
14 endif |
57 | 15 |
1598 | 16 LDADD = $(GLIB_LIBS) $(LOUDMOUTH_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \ |
1880
668657be02ba
Honour libidn build flags
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1835
diff
changeset
|
17 $(ENCHANT_LIBS) $(LIBIDN_LIBS) |
57 | 18 |
2041
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
19 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) \ |
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
20 $(GLIB_CFLAGS) $(LOUDMOUTH_CFLAGS) \ |
1668
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
21 $(GPGME_CFLAGS) $(LIBOTR_CFLAGS) \ |
1880
668657be02ba
Honour libidn build flags
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1835
diff
changeset
|
22 $(ENCHANT_CFLAGS) $(LIBIDN_CFLAGS) |
73 | 23 |
781
d3af6877a7df
Add --enable-hgcset to configure script
Mikael Berthe <mikael@lilotux.net>
parents:
777
diff
changeset
|
24 CLEANFILES = hgcset.h |
d3af6877a7df
Add --enable-hgcset to configure script
Mikael Berthe <mikael@lilotux.net>
parents:
777
diff
changeset
|
25 |
d3af6877a7df
Add --enable-hgcset to configure script
Mikael Berthe <mikael@lilotux.net>
parents:
777
diff
changeset
|
26 if HGCSET |
1835
c08db93d4907
Backed out changeset f35f39c15b35 (BUILT_SOURCES)
Mikael Berthe <mikael@lilotux.net>
parents:
1824
diff
changeset
|
27 BUILT_SOURCES = hgcset.h |
777
e6d42f239541
"/version" shows Mercurial changeset (if there's one)
Mikael Berthe <mikael@lilotux.net>
parents:
745
diff
changeset
|
28 |
2091
e06054423a60
Change phony targets in makefile to remove unnecessary compilation
Hermitifier
parents:
2079
diff
changeset
|
29 hgcset.h: remake_hgcset |
2041
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
30 $(top_srcdir)/hgcset.sh "$(top_srcdir)/mcabber" "$(top_builddir)/mcabber" |
777
e6d42f239541
"/version" shows Mercurial changeset (if there's one)
Mikael Berthe <mikael@lilotux.net>
parents:
745
diff
changeset
|
31 |
2091
e06054423a60
Change phony targets in makefile to remove unnecessary compilation
Hermitifier
parents:
2079
diff
changeset
|
32 .PHONY: remake_hgcset |
781
d3af6877a7df
Add --enable-hgcset to configure script
Mikael Berthe <mikael@lilotux.net>
parents:
777
diff
changeset
|
33 endif |
57 | 34 |
1668
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
35 if INSTALL_HEADERS |
1762
e7ce50fe19a9
Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1735
diff
changeset
|
36 mcabber_SOURCES += modules.c modules.h api.h |
1668
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
37 mcabberinclude_HEADERS = main.h roster.h events.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
38 commands.h compl.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
39 hbuf.h screen.h logprint.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
40 settings.h hooks.h utf8.c utf8.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
41 histolog.h utils.h pgp.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
42 xmpp.h xmpp_helper.h xmpp_defines.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
43 xmpp_iq.h xmpp_iqrequest.h \ |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
44 xmpp_muc.h xmpp_s10n.h \ |
1762
e7ce50fe19a9
Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1735
diff
changeset
|
45 caps.h fifo.h help.h modules.h api.h \ |
2041
e8f2db654e67
Fix building from separate directory
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1941
diff
changeset
|
46 $(top_builddir)/include/config.h |
1668
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
47 |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
48 if OTR |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
49 mcabberinclude_HEADERS += otr.h nohtml.h |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
50 endif |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
51 |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
52 if HGCSET |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
53 mcabberinclude_HEADERS += hgcset.h |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
54 endif |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
55 |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
56 mcabberincludedir = $(includedir)/mcabber |
1941
2256d0626730
Modularize fifo system (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents:
1880
diff
changeset
|
57 else |
2079
8da280d34b48
Rename FIFO module file name
Mikael Berthe <mikael@lilotux.net>
parents:
2041
diff
changeset
|
58 mcabber_SOURCES += fifo_internal.c fifo.h |
1668
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
59 endif |
41c26b7d2890
Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents:
1653
diff
changeset
|
60 |
781
d3af6877a7df
Add --enable-hgcset to configure script
Mikael Berthe <mikael@lilotux.net>
parents:
777
diff
changeset
|
61 #SUBDIRS = |