Need to include deflate.h in EXTRA_DIST so that it gets included in
[pidgin-git.git] / libpurple / protocols / gg / Makefile.am
blob277c20de2667159c1ebc8106d3b02dc90b7f73d8
1 EXTRA_DIST = \
2         Makefile.mingw \
3         lib/common.c \
4         lib/compat.h \
5         lib/COPYING \
6         lib/dcc.c \
7         lib/dcc7.c \
8         lib/debug.c \
9         lib/deflate.c \
10         lib/deflate.h \
11         lib/encoding.c \
12         lib/encoding.h \
13         lib/events.c \
14         lib/handlers.c \
15         lib/http.c \
16         lib/libgadu.h \
17         lib/libgadu.c \
18         lib/libgadu-config.h \
19         lib/libgadu-debug.h \
20         lib/libgadu-internal.h \
21         lib/message.c \
22         lib/message.h \
23         lib/obsolete.c \
24         lib/protocol.h \
25         lib/pubdir.c \
26         lib/pubdir50.c \
27         lib/resolver.c \
28         lib/resolver.h \
29         lib/session.h \
30         lib/sha1.c
32 pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
34 if USE_INTERNAL_LIBGADU
35 INTGGSOURCES = \
36         lib/common.c \
37         lib/compat.h \
38         lib/dcc.c \
39         lib/dcc7.c \
40         lib/debug.c \
41         lib/deflate.c \
42         lib/deflate.h \
43         lib/encoding.c \
44         lib/encoding.h \
45         lib/events.c \
46         lib/handlers.c \
47         lib/http.c \
48         lib/libgadu.h \
49         lib/libgadu.c \
50         lib/libgadu-config.h \
51         lib/libgadu-internal.h \
52         lib/message.c \
53         lib/message.h \
54         lib/obsolete.c \
55         lib/protocol.h \
56         lib/pubdir.c \
57         lib/pubdir50.c \
58         lib/resolver.c \
59         lib/resolver.h \
60         lib/session.h \
61         lib/sha1.c
63 INTGG_CFLAGS = -I$(top_srcdir)/libpurple/protocols/gg/lib -DGG_IGNORE_DEPRECATED -DUSE_INTERNAL_LIBGADU
65 if USE_GNUTLS
66 GADU_LIBS += $(GNUTLS_LIBS)
67 endif
69 endif
71 GGSOURCES = \
72         $(INTGGSOURCES) \
73         gg-utils.h \
74         gg-utils.c \
75         confer.h \
76         confer.c \
77         search.h \
78         search.c \
79         buddylist.h \
80         buddylist.c \
81         gg.h \
82         gg.c
84 AM_CFLAGS = $(st)
86 libgg_la_LDFLAGS = -module -avoid-version
88 if STATIC_GG
90 st = -DPURPLE_STATIC_PRPL $(GADU_CFLAGS)
91 noinst_LTLIBRARIES = libgg.la
92 libgg_la_SOURCES = $(GGSOURCES)
93 libgg_la_CFLAGS  = $(AM_CFLAGS)
94 libgg_la_LIBADD  = $(GADU_LIBS)
96 else
98 st = $(GADU_CFLAGS)
99 pkg_LTLIBRARIES = libgg.la
100 libgg_la_SOURCES = $(GGSOURCES)
101 libgg_la_LIBADD  = $(GLIB_LIBS) $(GADU_LIBS)
103 endif
105 AM_CPPFLAGS = \
106         -I$(top_srcdir)/libpurple \
107         -I$(top_builddir)/libpurple \
108         $(INTGG_CFLAGS) \
109         $(GLIB_CFLAGS) \
110         $(DEBUG_CFLAGS)