annotate libgaim/protocols/gg/Makefile.am @ 14600:d44c87d17b19

[gaim-migrate @ 17327] Fall back to using internal libgadu if an external one is not found committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 20 Sep 2006 11:42:26 +0000
parents 60b1bc8dbf37
children 1e1bcb4a6d82
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14192
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
1 EXTRA_DIST = \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
2 Makefile.mingw \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
3 lib/common.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
4 lib/compat.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
5 lib/COPYING \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
6 lib/dcc.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
7 lib/events.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
8 lib/http.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
9 lib/libgadu.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
10 lib/libgadu-config.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
11 lib/libgadu.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
12 lib/obsolete.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
13 lib/pubdir50.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
14 lib/pubdir.c
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
15
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
16 pkgdir = $(libdir)/gaim
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
17
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
18 GGSOURCES = \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
19 gg-utils.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
20 gg-utils.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
21 confer.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
22 confer.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
23 search.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
24 search.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
25 buddylist.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
26 buddylist.c \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
27 gg.h \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
28 gg.c
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
29
14600
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
30 if USE_INTERNAL_LIBGG
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
31 GGSOURCES += \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
32 lib/common.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
33 lib/compat.h \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
34 lib/dcc.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
35 lib/events.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
36 lib/http.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
37 lib/libgadu.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
38 lib/libgadu-config.h \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
39 lib/libgadu.h \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
40 lib/obsolete.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
41 lib/pubdir50.c \
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
42 lib/pubdir.c
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
43
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
44 INTGG_CFLAGS = -I$(top_srcdir)/libgaim/protocols/gg/lib
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
45 endif
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
46
14192
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
47 AM_CFLAGS = $(st)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
48
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
49 libgg_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
50
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
51 if STATIC_GG
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
52
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
53 st = -DGAIM_STATIC_PRPL $(GADU_CFLAGS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
54 noinst_LIBRARIES = libgg.a
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
55 pkg_LTLIBRARIES =
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
56
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
57 libgg_a_SOURCES = $(GGSOURCES)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
58 libgg_a_CFLAGS = $(AM_CFLAGS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
59 libgg_a_LIBADD = $(GADU_LIBS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
60
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
61 else
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
62
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
63 st = $(GADU_CFLAGS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
64 pkg_LTLIBRARIES = libgg.la
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
65 noinst_LIBRARIES =
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
66
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
67 libgg_la_SOURCES = $(GGSOURCES)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
68 libgg_la_LIBADD = $(GADU_LIBS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
69
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
70 endif
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
71
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
72 AM_CPPFLAGS = \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
73 -I$(top_srcdir)/libgaim \
14600
d44c87d17b19 [gaim-migrate @ 17327]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14192
diff changeset
74 $(INTGG_CFLAGS) \
14192
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
75 $(GLIB_CFLAGS) \
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
76 $(DEBUG_CFLAGS)
60b1bc8dbf37 [gaim-migrate @ 16863]
Evan Schoenberg <evan.s@dreskin.net>
parents:
diff changeset
77