changeset 1682:095505fc3f4b

Fix src/Makefile.am to allow a different build directory.
author onepoint@starurchin.org
date Sat, 17 Jul 2010 10:17:45 -0400
parents ed545180061e
children 2212f34533bc
files src/Makefile.am
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.am	Sun Jun 20 18:07:19 2010 +0000
+++ b/src/Makefile.am	Sat Jul 17 10:17:45 2010 -0400
@@ -1,6 +1,9 @@
-AM_CPPFLAGS=-DDILLO_SYSCONF='"$(sysconfdir)/"' -DDILLO_DOCDIR='"$(docdir)/"' @LIBJPEG_CPPFLAGS@
+AM_CPPFLAGS= \
+       -DDILLO_SYSCONF='"$(sysconfdir)/"' \
+       -DDILLO_DOCDIR='"$(docdir)/"' \
+       @LIBJPEG_CPPFLAGS@
 AM_CFLAGS = @LIBPNG_CFLAGS@
-AM_CXXFLAGS = -I.. @LIBPNG_CFLAGS@ @LIBFLTK_CXXFLAGS@
+AM_CXXFLAGS = -I$(srcdir)/.. @LIBPNG_CFLAGS@ @LIBFLTK_CXXFLAGS@
 
 SUBDIRS = IO