view src/protocols/gg/Makefile.am @ 13317:41747a38a1a8

[gaim-migrate @ 15686] SF Patch #1424846 from Matthew Luckie with changes by me This builds using a shared library version of libgadu. Wingaim still uses the in-tree copy of libgadu. I hope to get our win32 changes to libgadu merged upstream soon, so we can use the upstream codebase there too. For libgadu build instructions, see: http://gaim.sourceforge.net/faq2.php#libgadu committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 22 Feb 2006 02:54:20 +0000
parents d5599677bf32
children fa7313d125ac
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

pkgdir = $(libdir)/gaim

GGSOURCES = \
	utils.h \
	utils.c \
	confer.h \
	confer.c \
	search.h \
	search.c \
	buddylist.h \
	buddylist.c \
	gg.h \
	gg.c

AM_CFLAGS = $(st)

libgg_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)

if STATIC_GG

st = -DGAIM_STATIC_PRPL $(GADU_CFLAGS)
noinst_LIBRARIES = libgg.a
pkg_LTLIBRARIES =

libgg_a_SOURCES = $(GGSOURCES)
libgg_a_CFLAGS  = $(AM_CFLAGS)
libgg_a_LIBADD  = $(GADU_LIBS)

else

st = $(GADU_CFLAGS)
pkg_LTLIBRARIES = libgg.la
noinst_LIBRARIES =

libgg_la_SOURCES = $(GGSOURCES)
libgg_la_LIBADD  = $(GADU_LIBS)

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/src \
	$(GLIB_CFLAGS) \
	$(DEBUG_CFLAGS)