Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / libpurple / protocols / irc / Makefile.am
blobd47b7617913c12a87a407e67404eaec5be0f7459
1 EXTRA_DIST = \
2         Makefile.mingw
4 pkgdir = @PURPLE_PLUGINDIR@
6 IRCSOURCES = \
7         cmds.c \
8         dcc_send.c \
9         irc.c \
10         irc.h \
11         msgs.c \
12         parse.c
14 AM_CFLAGS = $(st)
16 libirc_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
18 if STATIC_IRC
20 st = -DPURPLE_STATIC_PRPL
21 noinst_LTLIBRARIES = libirc.la
22 libirc_la_SOURCES  = $(IRCSOURCES)
23 libirc_la_CFLAGS   = $(AM_CFLAGS)
25 else
27 st =
28 pkg_LTLIBRARIES   = libirc.la
29 libirc_la_SOURCES = $(IRCSOURCES)
30 libirc_la_LIBADD  = @PURPLE_LIBS@ $(SASL_LIBS)
32 endif
34 AM_CPPFLAGS = \
35         -I$(top_srcdir)/libpurple \
36         -I$(top_builddir)/libpurple \
37         $(GLIB_CFLAGS) \
38         $(GPLUGIN_CFLAGS) \
39         $(DEBUG_CFLAGS)