14192
|
1 EXTRA_DIST = \
|
|
2 Makefile.mingw \
|
|
3 lib/common.c \
|
|
4 lib/compat.h \
|
|
5 lib/COPYING \
|
|
6 lib/dcc.c \
|
|
7 lib/events.c \
|
|
8 lib/http.c \
|
|
9 lib/libgadu.c \
|
|
10 lib/libgadu-config.h \
|
|
11 lib/libgadu.h \
|
|
12 lib/obsolete.c \
|
|
13 lib/pubdir50.c \
|
|
14 lib/pubdir.c
|
|
15
|
|
16 pkgdir = $(libdir)/gaim
|
|
17
|
|
18 GGSOURCES = \
|
|
19 gg-utils.h \
|
|
20 gg-utils.c \
|
|
21 confer.h \
|
|
22 confer.c \
|
|
23 search.h \
|
|
24 search.c \
|
|
25 buddylist.h \
|
|
26 buddylist.c \
|
|
27 gg.h \
|
|
28 gg.c
|
|
29
|
14600
|
30 if USE_INTERNAL_LIBGG
|
|
31 GGSOURCES += \
|
|
32 lib/common.c \
|
|
33 lib/compat.h \
|
|
34 lib/dcc.c \
|
|
35 lib/events.c \
|
|
36 lib/http.c \
|
|
37 lib/libgadu.c \
|
|
38 lib/libgadu-config.h \
|
|
39 lib/libgadu.h \
|
|
40 lib/obsolete.c \
|
|
41 lib/pubdir50.c \
|
|
42 lib/pubdir.c
|
|
43
|
|
44 INTGG_CFLAGS = -I$(top_srcdir)/libgaim/protocols/gg/lib
|
|
45 endif
|
|
46
|
14192
|
47 AM_CFLAGS = $(st)
|
|
48
|
|
49 libgg_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
|
|
50
|
|
51 if STATIC_GG
|
|
52
|
|
53 st = -DGAIM_STATIC_PRPL $(GADU_CFLAGS)
|
|
54 noinst_LIBRARIES = libgg.a
|
|
55 pkg_LTLIBRARIES =
|
|
56
|
|
57 libgg_a_SOURCES = $(GGSOURCES)
|
|
58 libgg_a_CFLAGS = $(AM_CFLAGS)
|
|
59 libgg_a_LIBADD = $(GADU_LIBS)
|
|
60
|
|
61 else
|
|
62
|
|
63 st = $(GADU_CFLAGS)
|
|
64 pkg_LTLIBRARIES = libgg.la
|
|
65 noinst_LIBRARIES =
|
|
66
|
|
67 libgg_la_SOURCES = $(GGSOURCES)
|
|
68 libgg_la_LIBADD = $(GADU_LIBS)
|
|
69
|
|
70 endif
|
|
71
|
|
72 AM_CPPFLAGS = \
|
|
73 -I$(top_srcdir)/libgaim \
|
14600
|
74 $(INTGG_CFLAGS) \
|
14192
|
75 $(GLIB_CFLAGS) \
|
|
76 $(DEBUG_CFLAGS)
|
|
77
|