From dfe65c07b73dc5bc4f478bbf9b96fa699079edaa Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 6 Feb 2011 17:49:30 +0100 Subject: [PATCH] Split out CFLAGS and CPPFLAGS --- src/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6891cd97..590da865 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -34,10 +34,14 @@ ANTLR_SOURCES = \ ANTLR_PRODUCTS = forked_daapd_CPPFLAGS = -D_GNU_SOURCE \ + -DDATADIR="\"$(pkgdatadir)\"" -DCONFDIR="\"$(sysconfdir)\"" \ + -DSTATEDIR="\"$(localstatedir)\"" -DPKGLIBDIR="\"$(pkglibdir)\"" \ + @OSS4CPPFLAGS@ + +forked_daapd_CFLAGS = \ @ZLIB_CFLAGS@ @AVAHI_CFLAGS@ @SQLITE3_CFLAGS@ @FFMPEG_CFLAGS@ \ @CONFUSE_CFLAGS@ @TAGLIB_CFLAGS@ @MINIXML_CFLAGS@ @LIBPLIST_CFLAGS@ \ - @LIBGCRYPT_CFLAGS@ @ALSA_CFLAGS@ @OSS4CPPFLAGS@ \ - -DDATADIR="\"$(pkgdatadir)\"" -DCONFDIR="\"$(sysconfdir)\"" -DSTATEDIR="\"$(localstatedir)\"" -DPKGLIBDIR="\"$(pkglibdir)\"" + @LIBGCRYPT_CFLAGS@ @ALSA_CFLAGS@ forked_daapd_LDADD = \ @ZLIB_LIBS@ @AVAHI_LIBS@ @SQLITE3_LIBS@ @FFMPEG_LIBS@ \