src/protocols/gg/Makefile.am

Wed, 22 Feb 2006 02:54:20 +0000

author
Matthew Luckie
date
Wed, 22 Feb 2006 02:54:20 +0000
changeset 13318
1657b80f2832
parent 11414
10b74079ef15
child 13627
44233a1064f9
permissions
-rw-r--r--

[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: Richard Laager <rlaager@pidgin.im>

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)

mercurial