comparison src/protocols/jabber/Makefile.am @ 4202:59751fe608c5

[gaim-migrate @ 4438] Much needed Makefile.am cleanups. Sorry for the large mass of commit e-mails, everyone. These changes should work on older versions of automake and newer versions. If you do have a problem, let me know, but it should be a smooth transition. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 05 Jan 2003 03:02:55 +0000
parents 5df423e0bca8
children fcc28f5dd0c8
comparison
equal deleted inserted replaced
4201:511c2b63caa4 4202:59751fe608c5
1 EXTRA_DIST = xmltok_impl.c xmltok_ns.c 1 EXTRA_DIST = xmltok_impl.c xmltok_ns.c
2 2
3 pkgdir = $(libdir)/gaim 3 pkgdir = $(libdir)/gaim
4 4
5 CFLAGS += -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS) 5 JABBERSOURCES = \
6 libjabber_la_LDFLAGS = -module -avoid-version
7
8 if STATIC_JABBER
9
10 st = -DSTATIC
11 pkg_LTLIBRARIES =
12 noinst_LIBRARIES = libjabber.a
13
14 libjabber_a_SOURCES = \
15 asciitab.h \ 6 asciitab.h \
16 expat.c \ 7 expat.c \
17 genhash.c \ 8 genhash.c \
18 hashtable.c \ 9 hashtable.c \
19 hashtable.h \ 10 hashtable.h \
51 pproxy.c \ 42 pproxy.c \
52 rate.c \ 43 rate.c \
53 \ 44 \
54 jabber.c 45 jabber.c
55 46
47 AM_CFLAGS = $(st)
48
49 libjabber_la_LDFLAGS = -module -avoid-version
50
51 if STATIC_JABBER
52
53 st = -DSTATIC
54 noinst_LIBRARIES = libjabber.a
55
56 libjabber_a_SOURCES = $(JABBERSOURCES)
56 libjabber_a_CFLAGS = $(AM_CFLAGS) 57 libjabber_a_CFLAGS = $(AM_CFLAGS)
57 58
58 else 59 else
59 60
60 st = 61 st =
61 pkg_LTLIBRARIES = libjabber.la 62 pkg_LTLIBRARIES = libjabber.la
62 noinst_LIBRARIES =
63 63
64 libjabber_la_SOURCES = \ 64 libjabber_la_SOURCES = $(JABBERSOURCES)
65 asciitab.h \
66 expat.c \
67 genhash.c \
68 hashtable.c \
69 hashtable.h \
70 iasciitab.h \
71 karma.c \
72 latin1tab.h \
73 lib.h \
74 libxode.h \
75 nametab.h \
76 pool.c \
77 sha.c \
78 snprintf.c \
79 socket.c \
80 str.c \
81 utf8tab.h \
82 xhash.c \
83 xmldef.h \
84 xmlnode.c \
85 xmlparse.c \
86 xmlparse.h \
87 xmlrole.c \
88 xmlrole.h \
89 xmltok.c \
90 xmltok.h \
91 xmltok_impl.h \
92 xstream.c \
93 \
94 jabber.h \
95 jconn.c \
96 jid.c \
97 jpacket.c \
98 jutil.c \
99 log.c \
100 log.h \
101 pproxy.c \
102 rate.c \
103 \
104 jabber.c
105 65
106 endif 66 endif
67
68 AM_CPPFLAGS = \
69 -I$(top_srcdir)/src \
70 $(DEBUG_CFLAGS)