summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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