summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2004-02-22 20:21:22 +0000
committerHenry Stiles <henry.stiles@artifex.com>2004-02-22 20:21:22 +0000
commit13b5a604d92de13ca6b9baff7deb5b6b0942cdd6 (patch)
tree3771167c775ded0b349dd30bcd50c3c1d86c1d95 /Makefile
parent7e1266fcaa27439496132a3eeb371bb28747ac07 (diff)
new target for the language switching build changes pg-fp to profile
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2074 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 36 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 780a279c9..e1f573089 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-pcl6:
+product:
make -C main -f pcl6_gcc.mak # build PCL and PCLXL.
debug:
@@ -9,6 +9,9 @@ fonts:
cp urwfonts/*.ttf /windows/fonts/ # copy the fonts.
touch fonts
+profile:
+ make -C main -f pcl6_gcc.mak pg-fp
+
install:
install main/obj/pcl6 /usr/local/bin
@@ -20,7 +23,38 @@ test:
# names here so they could be removed individually.
clean:
- make -C main -f pcl6_gcc.mak clean
+ make -C language_switch -f pspcl6_gcc.mak clean
rm -rf fonts main/obj /usr/local/bin/pcl6
+#### LANGUAGE SWITCHING PRODUCT RULES ####
+
+ls_profile:
+ make -C language_switch -f pspspcl6_gcc.mak pg-fp
+
+ls_product:
+ make -C language_switch -f pspcl6_gcc.mak # build PCL and PCLXL.
+
+ls_debug:
+ make -C language_switch -f pspcl6_gcc.mak debug
+
+ls_fonts:
+ mkdir -p /windows/fonts/ # make a font directory. 2
+ cp urwfonts/*.ttf /windows/fonts/ # copy the fonts.
+ touch fonts
+
+ls_install:
+ install main/obj/pspcl6 /usr/local/bin
+
+ls_test:
+ cd tools; ../main/obj/pcl6 -dTextAlphaBits=4 owl.pcl tiger.px3 # test with PCL and PXL test file
+
+# NB - this does not remove the fonts. blowing away /windows/fonts
+# might be unexpected on some systems and we don't enumerate the font
+# names here so they could be removed individually.
+
+ls_clean:
+ make -C language_switch -f pspcl6_gcc.mak clean
+ rm -rf fonts main/obj /usr/local/bin/pspcl6
+
+
PHONY: clean test install pcl6