diff 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
line wrap: on
line diff
--- a/libgaim/protocols/gg/Makefile.am	Wed Sep 20 09:13:17 2006 +0000
+++ b/libgaim/protocols/gg/Makefile.am	Wed Sep 20 11:42:26 2006 +0000
@@ -27,6 +27,23 @@
 	gg.h \
 	gg.c
 
+if USE_INTERNAL_LIBGG
+GGSOURCES += \
+	lib/common.c \
+	lib/compat.h \
+	lib/dcc.c \
+	lib/events.c \
+	lib/http.c \
+	lib/libgadu.c \
+	lib/libgadu-config.h \
+	lib/libgadu.h \
+	lib/obsolete.c \
+	lib/pubdir50.c \
+	lib/pubdir.c
+
+INTGG_CFLAGS = -I$(top_srcdir)/libgaim/protocols/gg/lib
+endif
+
 AM_CFLAGS = $(st)
 
 libgg_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
@@ -54,6 +71,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libgaim \
+	$(INTGG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)