view libpurple/example/Makefile.am @ 29192:4066bd054421

Fix -uninstalled pc files for out-of-tree builds. ${pcfiledir} expands to the directory that the .pc file is in. This isn't right for out-of-tree builds: we want to add the source directory to the include path. In the case of libpurple, we need both because some of the headers are generated.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 20 Dec 2009 17:13:47 +0000
parents 77423ba51dd4
children
line wrap: on
line source

noinst_PROGRAMS = nullclient

nullclient_SOURCES = defines.h nullclient.c
nullclient_DEPENDENCIES =
nullclient_LDFLAGS = -export-dynamic
nullclient_LDADD = \
	$(DBUS_LIBS) \
	$(INTLLIBS) \
	$(GLIB_LIBS) \
	$(LIBXML_LIBS) \
	$(top_builddir)/libpurple/libpurple.la

AM_CPPFLAGS = \
	-DSTANDALONE \
	-DDATADIR=\"$(datadir)\" \
	-DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)/\" \
	-DLOCALEDIR=\"$(datadir)/locale\" \
	-DSYSCONFDIR=\"$(sysconfdir)\" \
	-I$(top_builddir)/libpurple \
	-I$(top_srcdir)/libpurple \
	-I$(top_srcdir) \
	$(DEBUG_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS) \
	$(LIBXML_CFLAGS)