From: Simon McVittie Date: Wed, 15 Jun 2011 13:23:58 +0000 (+0100) Subject: dbus: use AM_CPPFLAGS X-Git-Tag: dbus-1.5.6~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20ae813d5f46add1d238134a41ab931c6aa6706f;p=thirdparty%2Fdbus.git dbus: use AM_CPPFLAGS --- diff --git a/dbus/Makefile.am b/dbus/Makefile.am index c33cb61b0..3c44ae492 100644 --- a/dbus/Makefile.am +++ b/dbus/Makefile.am @@ -1,11 +1,14 @@ configdir=$(sysconfdir)/dbus-1 -INCLUDES = -I$(top_builddir) -I$(top_srcdir) \ +AM_CPPFLAGS = \ + -I$(top_builddir) \ + -I$(top_srcdir) \ -DDBUS_COMPILATION \ -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" \ -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\" \ - -DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\" + -DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\" \ + $(NULL) # if assertions are enabled, improve backtraces AM_LDFLAGS = @R_DYNAMIC_LDFLAG@ @@ -258,7 +261,10 @@ EXTRA_DIST=dbus-arch-deps.h.in ## and is only used for static linking within the dbus package. noinst_LTLIBRARIES=libdbus-internal.la -libdbus_1_la_CPPFLAGS= -Ddbus_1_EXPORTS +libdbus_1_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -Ddbus_1_EXPORTS \ + $(NULL) libdbus_1_la_LIBADD= $(LIBDBUS_LIBS) libdbus_1_la_LDFLAGS = \ $(AM_LDFLAGS) \ @@ -267,7 +273,10 @@ libdbus_1_la_LDFLAGS = \ -no-undefined \ $(NULL) -libdbus_internal_la_CPPFLAGS = -DDBUS_STATIC_BUILD +libdbus_internal_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -DDBUS_STATIC_BUILD \ + $(NULL) libdbus_internal_la_LIBADD=$(LIBDBUS_LIBS) noinst_PROGRAMS =