view src/protocols/sametime/Makefile.am @ 12166:d6417efb990c

[gaim-migrate @ 14467] g_str_has_prefix is only available in glib >= 2.2.0. we already have a wrapper for this in gaim, but I guess it's not legitimate to use that in meanwhile, so I duplicated the wrapper there too. code reuse at it's worst. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 19 Nov 2005 18:09:51 +0000
parents f8cd06753755
children f9d0ab1474ac
line wrap: on
line source

SUBDIRS = meanwhile

EXTRA_DIST = Makefile.mingw


pkgdir = $(libdir)/gaim


noinst_HEADERS = sametime.h

SAMETIMESOURCES = sametime.c


if STATIC_SAMETIME

st = -DGAIM_STATIC_PRPL
noinst_LIBRARIES   = libsametime.a
libsametime_a_SOURCES = $(SAMETIMESOURCES)
libsametime_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES     = libsametime.la
libsametime_la_SOURCES = $(SAMETIMESOURCES)


endif


libsametime_la_LDFLAGS = -module -avoid-version -no-undefined
libsametime_la_LIBADD = $(GLIB_LIBS) meanwhile/libmeanwhile.la


AM_CFLAGS = \
	$(GLIB_CFLAGS) \
	$(DEBUG_CFLAGS) \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/src/protocols/sametime/meanwhile


AM_CPPFLAGS = \
	-DG_LOG_DOMAIN=\"meanwhile\" \
	$(st)