view libpurple/protocols/bonjour/Makefile.am @ 16593:6e1c7c34c6af

merge of '86961dfcb9720a0cb020c2baba86c8050b1254f9' and 'e4ec2539cf0008c8eb97a0d8cccebb3f5d7bff33'
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 28 Apr 2007 16:57:03 +0000
parents ce049678a67b
children 441945083737
line wrap: on
line source

EXTRA_DIST = \
		Makefile.mingw

pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)

BONJOURSOURCES = \
	bonjour.c \
	bonjour.h \
	buddy.c \
	buddy.h \
	dns_sd.c \
	dns_sd.h \
	jabber.c \
	jabber.h

AM_CFLAGS = $(st)

libbonjour_la_LDFLAGS = -module -avoid-version

if STATIC_BONJOUR

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES     = libbonjour.a
libbonjour_a_SOURCES = $(BONJOURSOURCES)
libbonjour_a_CFLAGS  = $(AM_CFLAGS)
libbonjour_a_LIBADD  = $(HOWL_LIBS)

else

st =
pkg_LTLIBRARIES       = libbonjour.la
libbonjour_la_SOURCES = $(BONJOURSOURCES)
libbonjour_la_LIBADD   = $(GLIB_LIBS) $(HOWL_LIBS)

endif


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