[csw-devel] SF.net SVN: gar:[6240] csw/mgar/pkg/cups/branches/cups-1.4/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Sep 9 14:40:32 CEST 2009
Revision: 6240
http://gar.svn.sourceforge.net/gar/?rev=6240&view=rev
Author: wahwah
Date: 2009-09-09 12:40:32 +0000 (Wed, 09 Sep 2009)
Log Message:
-----------
cups: Adding support for debugging builds
Modified Paths:
--------------
csw/mgar/pkg/cups/branches/cups-1.4/Makefile
Modified: csw/mgar/pkg/cups/branches/cups-1.4/Makefile
===================================================================
--- csw/mgar/pkg/cups/branches/cups-1.4/Makefile 2009-09-09 11:36:59 UTC (rev 6239)
+++ csw/mgar/pkg/cups/branches/cups-1.4/Makefile 2009-09-09 12:40:32 UTC (rev 6240)
@@ -133,6 +133,13 @@
CONFIGURE_ARGS += --with-rcdir=$(sysconfdir)
CONFIGURE_ARGS += --with-icondir=$(datadir)/icons
+CONFIGURE_ARGS_DBG = --enable-debug
+CONFIGURE_ARGS_DBG += --enable-debug-guards
+CONFIGURE_ARGS_DBG += --enable-debug-printfs
+
+CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(GARFLAVOR))
+
+
# This is a hack that's needed, because configure (Makedefs) will otherwise
# plase -ltiff, etc. first and -L/opt/csw/lib afterwards, thus being unable
# to find any of the image libraries.
@@ -156,6 +163,11 @@
PRIVATE_CUPS_INC = $(DESTDIR)$(includedir)/cups
+# CUPS uses the 'OPTIM' variable to set the optimization flags.
+OPTIM_DBG = -g -xO0
+OPTIM = $(OPTIM_$(GARFLAVOR))
+export OPTIM
+
post-install-modulated:
(cd $(DESTDIR)$(sysconfdir)/cups; \
echo "Making .CSW configs in $(DESTDIR)$(sysconfdir)/cups"; \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list