Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / libpurple / protocols / jabber / Makefile.am
blob8b0bae09c4ccb2e3e546db844415533d43b19b42
1 EXTRA_DIST = \
2         Makefile.mingw \
3         win32/posix.uname.c \
4         win32/utsname.h
6 pkgdir = @PURPLE_PLUGINDIR@
8 JABBERSOURCES = \
9                           adhoccommands.c \
10                           adhoccommands.h \
11                           auth.c \
12                           auth.h \
13                           auth_digest_md5.c \
14                           auth_digest_md5.h \
15                           auth_plain.c \
16                           auth_scram.c \
17                           auth_scram.h \
18                           buddy.c \
19                           buddy.h \
20                           bosh.c \
21                           bosh.h \
22                           caps.c \
23                           caps.h \
24                           chat.c \
25                           chat.h \
26                           data.c \
27                           data.h \
28                           disco.c \
29                           disco.h \
30                           google/gmail.c \
31                           google/gmail.h \
32                           google/google.c \
33                           google/google.h \
34                           google/google_p2p.c \
35                           google/google_p2p.h \
36                           google/google_presence.c \
37                           google/google_presence.h \
38                           google/google_roster.c \
39                           google/google_roster.h \
40                           google/google_session.c \
41                           google/google_session.h \
42                           google/jingleinfo.c \
43                           google/jingleinfo.h \
44                           google/relay.c \
45                           google/relay.h \
46                           gtalk.c \
47                           gtalk.h \
48                           ibb.c \
49                           ibb.h \
50                           iq.c \
51                           iq.h \
52                           jabber.c \
53                           jabber.h \
54                           jingle/jingle.c \
55                           jingle/jingle.h \
56                           jingle/content.c \
57                           jingle/content.h \
58                           jingle/iceudp.c \
59                           jingle/iceudp.h \
60                           jingle/rawudp.c \
61                           jingle/rawudp.h \
62                           jingle/rtp.c \
63                           jingle/rtp.h \
64                           jingle/session.c \
65                           jingle/session.h \
66                           jingle/transport.c \
67                           jingle/transport.h \
68                           jutil.c \
69                           jutil.h \
70                           message.c \
71                           message.h \
72                           namespaces.h \
73                           oob.c \
74                           oob.h \
75                           parser.c \
76                           parser.h \
77                           pep.c \
78                           pep.h \
79                           ping.c \
80                           ping.h \
81                           presence.c \
82                           presence.h \
83                           roster.c \
84                           roster.h \
85                           si.c \
86                           si.h \
87                           useravatar.c \
88                           useravatar.h \
89                           usermood.c \
90                           usermood.h \
91                           usernick.c \
92                           usernick.h \
93                           usertune.c \
94                           usertune.h \
95                           xdata.c \
96                           xdata.h \
97                           xmpp.c \
98                           xmpp.h
100 AM_CFLAGS = $(st)
102 libjabber_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
104 if USE_CYRUS_SASL
105 JABBERSOURCES += auth_cyrus.c
106 endif
108 if IS_WIN32
109 JABBERSOURCES += win32/posix.uname.c
110 endif
112 if STATIC_JABBER
114 st = -DPURPLE_STATIC_PRPL
115 noinst_LTLIBRARIES   = libjabber.la
116 libjabber_la_SOURCES = $(JABBERSOURCES)
117 libjabber_la_CFLAGS  = $(AM_CFLAGS)
119 else
121 st =
122 pkg_LTLIBRARIES      = libjabber.la
123 libjabber_la_SOURCES = $(JABBERSOURCES)
124 libjabber_la_LIBADD  = @PURPLE_LIBS@ $(SASL_LIBS) $(LIBXML_LIBS) $(IDN_LIBS)\
125         $(FARSTREAM_LIBS) \
126         $(GSTREAMER_LIBS)
128 endif
130 AM_CPPFLAGS = \
131         -I$(top_srcdir)/libpurple \
132         -I$(top_builddir)/libpurple \
133         $(DEBUG_CFLAGS) \
134         $(GLIB_CFLAGS) \
135         $(GPLUGIN_CFLAGS) \
136         $(IDN_CFLAGS) \
137         $(LIBXML_CFLAGS) \
138         $(FARSTREAM_CFLAGS) \
139         $(GSTREAMER_CFLAGS)
141 SUBDIRS = tests