view libgaim/protocols/bonjour/Makefile.am @ 14453:0af643d766bd

[gaim-migrate @ 17167] Breaking from case statements to prevent fall-through which causes an extra va_arg to be extracted is kind of important. I think I'll do that here. (Thanks to Josh Blanton) committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 05 Sep 2006 13:55:50 +0000
parents 60b1bc8dbf37
children 69590c55c748
line wrap: on
line source

EXTRA_DIST = \
		Makefile.mingw

pkgdir = $(libdir)/gaim

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 $(GLIB_LIBS) $(HOWL_LIBS)

if STATIC_BONJOUR

st = -DGAIM_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)

endif


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