summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-09-29 14:35:12 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-09-29 14:39:14 +0100
commitd4741818da0a3f9a5a7ab98c328795dde6f850cb (patch)
tree7176b6e2cd73cc87d66efa220c5049bb497ff346 /common
parentfe8d7b6aebfed3c724a860e31ff170764d5429dc (diff)
Add Memento targets to unix/autoconf makefiles.
Add new targets to unix makefiles (pcl-memento, xps-memento etc) that build executables into memobj. Parallels the work done with the windows builds.
Diffstat (limited to 'common')
-rw-r--r--common/ugcc_top.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/ugcc_top.mak b/common/ugcc_top.mak
index d90765093..faf5bb3a4 100644
--- a/common/ugcc_top.mak
+++ b/common/ugcc_top.mak
@@ -73,6 +73,10 @@ UGCC_TOP_DIR:
pdl-debug: UGCC_TOP_DIR
$(MAKE) -f $(firstword $(MAKEFILE)) GENOPT='-DDEBUG' CFLAGS='-ggdb -g3 -O0 $(GCFLAGS) $(XCFLAGS)' LDFLAGS='$(XLDFLAGS)' pdl-default
+# Configure for memento
+pdl-memento: UGCC_TOP_DIR
+ $(MAKE) -f $(firstword $(MAKEFILE)) GENOPT='-DMEMENTO -DDEBUG' CFLAGS='-ggdb -g3 -O0 $(GCFLAGS) $(XCFLAGS)' LDFLAGS='$(XLDFLAGS)' pdl-default
+
pdl-pg-with-cov: UGCC_TOP_DIR
$(MAKE) -f $(firstword $(MAKEFILE)) GENDIR=$(PGGENDIR) GENOPT='' CFLAGS='-g -pg -O2 -fprofile-arcs -ftest-coverage $(GCFLAGS) $(XCFLAGS)' LDFLAGS='$(XLDFLAGS) -pg -fprofile-arcs -ftest-coverage' pdl-default