[passepartout] src/fonts/Makefile.am, src/pptout/Makefile.am,



commit af4632609c5b5c3427dd5192410feda43cf932b9
Author: Sven Herzberg <herzi gnome-de org>
Date:   Wed Aug 8 00:03:49 2007 +0000

    src/fonts/Makefile.am, src/pptout/Makefile.am,
    
    2007-08-08  Sven Herzberg  <herzi gnome-de org>
    
    	* src/fonts/Makefile.am,
    	* src/pptout/Makefile.am,
    	* src/pptout/document/Makefile.am,
    	* src/pptout/widget/Makefile.am,
    	* src/ps/Makefile.am,
    	* src/testbed/Makefile.am,
    	* src/util/Makefile.am,
    	* src/xml2ps/Makefile.am: committed lots of CPPFLAGS fixes (closes:
    	#464517); patch by dmacks netspace org
    
    git-svn-id: http://svn.gnome.org/svn/passepartout/trunk 1523 910bfebc-b532-0410-a802-fb3981afa09c
---
 src/fonts/Makefile.am           |    4 ++--
 src/pptout/Makefile.am          |    6 +++---
 src/pptout/document/Makefile.am |    4 ++--
 src/pptout/widget/Makefile.am   |    4 ++--
 src/ps/Makefile.am              |   12 ++++++------
 src/testbed/Makefile.am         |    4 ++--
 src/util/Makefile.am            |    4 ++--
 src/xml2ps/Makefile.am          |    8 ++++----
 8 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/fonts/Makefile.am b/src/fonts/Makefile.am
index 05029bd..49cf2c4 100644
--- a/src/fonts/Makefile.am
+++ b/src/fonts/Makefile.am
@@ -5,9 +5,9 @@ dist_noinst_HEADERS = fontinfo.hh fontmanager.hh fontmetrics.hh afm.hh	\
 
 libfonts_a_SOURCES = fontinfo.cc fontmanager.cc afm.cc freetype.cc
 
-libfonts_a_CXXFLAGS = -I$(top_srcdir)/src
+libfonts_a_CPPFLAGS = -I$(top_srcdir)/src
 
 # for Glib::ustring
-libfonts_a_CXXFLAGS += $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS)
+libfonts_a_CPPFLAGS += $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS)
 
 #libfonts_a_LIBADD = $(top_srcdir)/src/util/libpptutil.a
\ No newline at end of file
diff --git a/src/pptout/Makefile.am b/src/pptout/Makefile.am
index 65d0cac..846d789 100644
--- a/src/pptout/Makefile.am
+++ b/src/pptout/Makefile.am
@@ -32,10 +32,10 @@ passepartout_SOURCES = inspiration.cc streamdialog.cc pagesel.cc	\
 		$(BUILT_SOURCES) \
 		$(NULL)
 
-passepartout_CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) \
-	$(GNOME_CFLAGS) $(GNOMEVFS_CFLAGS)
+passepartout_CPPFLAGS = -I$(top_srcdir)/src -D'XMLPATH=$(xmldir)'
 
-passepartout_CXXFLAGS += -I$(top_srcdir)/src -D'XMLPATH=$(xmldir)'
+passepartout_CPPFLAGS += $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) \
+	$(GNOME_CFLAGS) $(GNOMEVFS_CFLAGS)
 
 passepartout_LDADD = $(XMLPP_LIBS) $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) \
 		$(GTHREAD_LIBS) $(GNOME_LIBS) $(GNOMEVFS_LIBS)
diff --git a/src/pptout/document/Makefile.am b/src/pptout/document/Makefile.am
index c2b560b..e342217 100644
--- a/src/pptout/document/Makefile.am
+++ b/src/pptout/document/Makefile.am
@@ -10,6 +10,6 @@ libdocument_a_SOURCES = basicframe.cc cachedframe.cc document.cc	\
 	textframe.cc textstream.cc paper_sizes.cc getxsltparams.cc	\
 	loader.cc typesetterthread.cc
 
-libdocument_a_CXXFLAGS = $(GTKMM_CFLAGS) $(XMLPP_CFLAGS)
+libdocument_a_CPPFLAGS = -I$(top_srcdir)/src
 
-libdocument_a_CXXFLAGS += -I$(top_srcdir)/src
+libdocument_a_CPPFLAGS += $(GTKMM_CFLAGS) $(XMLPP_CFLAGS)
diff --git a/src/pptout/widget/Makefile.am b/src/pptout/widget/Makefile.am
index 1c60b13..17ed8ae 100644
--- a/src/pptout/widget/Makefile.am
+++ b/src/pptout/widget/Makefile.am
@@ -8,6 +8,6 @@ libwidget_a_SOURCES = spinner.cc filesel.cc imagefilesel.cc		\
 		dialogwrap.cc subpanel.cc wmisc.cc errordialog.cc	\
 		usererror.cc programs.cc zoomer.cc
 
-libwidget_a_CXXFLAGS = $(GTKMM_CFLAGS) $(GNOMEVFS_CFLAGS) $(GNOME_CFLAGS)
+libwidget_a_CPPFLAGS = -I$(top_srcdir)/src -D'DOCDIR=$(docdir)'
 
-libwidget_a_CXXFLAGS += -I$(top_srcdir)/src -D'DOCDIR=$(docdir)'
+libwidget_a_CPPFLAGS += $(GTKMM_CFLAGS) $(GNOMEVFS_CFLAGS) $(GNOME_CFLAGS)
diff --git a/src/ps/Makefile.am b/src/ps/Makefile.am
index 386b70b..646d94e 100644
--- a/src/ps/Makefile.am
+++ b/src/ps/Makefile.am
@@ -9,12 +9,12 @@ libps_a_SOURCES = encode.cc glyphs.cc pdf.cc unicode.cc pfb2pfa.cc misc.cc \
 
 examinepdf_SOURCES = examinepdf.cc
 
-# for Glib::ustring
-libps_a_CXXFLAGS = $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS)
+libps_a_CPPFLAGS = -I$(top_srcdir)/src
 
-libps_a_CXXFLAGS += -I$(top_srcdir)/src
+# for Glib::ustring
+libps_a_CPPFLAGS += $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS)
 
-examinepdf_CXXFLAGS = $(libps_a_CXXFLAGS)
+examinepdf_CPPFLAGS = $(libps_a_CPPFLAGS)
 examinepdf_LDADD = $(GTKMM_LIBS) \
 	-L. -lps -L../fonts -lfonts -lps -L../util -lpptutil
 examinepdf_DEPENDENCIES = libps.a
@@ -24,8 +24,8 @@ examinepdf_DEPENDENCIES = libps.a
 TESTS = runtest
 check_PROGRAMS = runtest
 runtest_SOURCES = test_glyphlist.cc
-runtest_CXXFLAGS = -I$(top_srcdir)/src
-runtest_CXXFLAGS += $(GTKMM_CFLAGS)
+runtest_CPPFLAGS = -I$(top_srcdir)/src
+runtest_CPPFLAGS += $(GTKMM_CFLAGS)
 runtest_DEPENDENCIES = ../util/libpptutil.a $(noinst_LIBRARIES)
 runtest_LDADD = -L../testbed -lppttest -L. -lps -L../util -lpptutil \
 		$(GTKMM_LIBS)
diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am
index ed29430..6720276 100644
--- a/src/testbed/Makefile.am
+++ b/src/testbed/Makefile.am
@@ -4,8 +4,8 @@ dist_noinst_HEADERS = testbed.hh
 
 libppttest_a_SOURCES = testbed.cc
 
-libppttest_a_CXXFLAGS = -I$(top_srcdir)/src
+libppttest_a_CPPFLAGS = -I$(top_srcdir)/src
 
 # Just because Glib::Exception is stupid and doesn't inherit the standard
 # exception the testbed has to know about glib!
-libppttest_a_CXXFLAGS += $(GTKMM_CFLAGS)
+libppttest_a_CPPFLAGS += $(GTKMM_CFLAGS)
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index f7cad19..b5474d2 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -12,12 +12,12 @@ libpptutil_a_SOURCES = stringutil.cc filesys.cc warning.cc os.cc \
 	cmdline.cc xmlwrap.cc
 
 # gtkmm and gnomecanvas flags is needed just to get RefPtr and AffineTrans.
-CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS)
+AM_CPPFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS)
 
 TESTS =	runtest
 check_PROGRAMS = runtest
 runtest_SOURCES = test_stringutil.cc test_valuunit.cc test_matrix.cc \
 	test_boundary.cc test_procio.cc test_cmdline.cc
-runtest_CXXFLAGS = -I$(top_srcdir)/src
+runtest_CPPFLAGS = -I$(top_srcdir)/src $(AM_CPPFLAGS)
 runtest_DEPENDENCIES = $(noinst_LIBRARIES)
 runtest_LDADD = -L../testbed -lppttest -L. -lpptutil $(GTKMM_LIBS) $(GNOMECANVAS_LIBS)
diff --git a/src/xml2ps/Makefile.am b/src/xml2ps/Makefile.am
index 2968b84..296b4e7 100644
--- a/src/xml2ps/Makefile.am
+++ b/src/xml2ps/Makefile.am
@@ -13,12 +13,12 @@ libxml2ps_a_SOURCES = paragraph.cc xly.cc typesetter.cc			\
 
 xml2ps_SOURCES = main.cc
 
-libxml2ps_a_CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS)	\
-		$(GNOMECANVAS_CFLAGS)
+libxml2ps_a_CPPFLAGS = -I$(top_srcdir)/src
 
-libxml2ps_a_CXXFLAGS += -I$(top_srcdir)/src
+libxml2ps_a_CPPFLAGS += $(XMLPP_CFLAGS) $(GTKMM_CFLAGS)	\
+		$(GNOMECANVAS_CFLAGS)
 
-xml2ps_CXXFLAGS = $(libxml2ps_a_CXXFLAGS)
+xml2ps_CPPFLAGS = $(libxml2ps_a_CPPFLAGS)
 
 xml2ps_LDADD = $(XMLPP_LIBS) $(GTKMM_LIBS) $(GNOMECANVAS_LIBS)\
 	libxml2ps.a ../fonts/libfonts.a ../ps/libps.a ../util/libpptutil.a 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]