view libpurple/protocols/bonjour/Makefile.am @ 20475:2a2cc0b57d8f

propagate from branch 'im.pidgin.pidgin' (head 5e94d4a46251e35e2b640180905fe364b82355e5) to branch 'im.pidgin.cpw.khc.msnp14' (head 7e42b1cb607bb785ef1a7d9e724f7d3ad0189f08)
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 22 Jul 2007 18:17:41 +0000
parents d7b50cac1c7a
children 316be7e715c6
line wrap: on
line source

EXTRA_DIST = \
		mdns_win32.c \
		mdns_win32.h \
		Makefile.mingw

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

BONJOURSOURCES = \
	bonjour.c \
	bonjour.h \
	buddy.c \
	buddy.h \
	dns_sd_proxy.h \
	jabber.c \
	jabber.h \
	mdns_common.c \
	mdns_common.h \
	mdns_howl.c \
	mdns_howl.h \
	mdns_types.h

AM_CFLAGS = $(st) -DUSE_BONJOUR_HOWL

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 \
	-I$(top_builddir)/libpurple \
	$(GLIB_CFLAGS) \
	$(DEBUG_CFLAGS) \
	$(HOWL_CFLAGS)