blob: 2794c6eeb2deb2be1f8511b7ec7c4882e264a87f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
product:
make -C main -f pcl6_gcc.mak # build PCL and PCLXL.
debug:
make -C main -f pcl6_gcc.mak debug
fonts:
mkdir -p /windows/fonts/ # make a font directory. 2
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
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.
clean:
make -C main -f pcl6_gcc.mak clean
rm -f fonts /usr/local/bin/pcl6
.PHONY: xps
xps_debug:
make -C main -f pcl6_gcc.mak XPS_INCLUDED=TRUE debug
xps:
make -C main -f pcl6_gcc.mak XPS_INCLUDED=TRUE
met:
make -C main -f pcl6_gcc.mak MET_INCLUDED=TRUE
#### UFST LIBRARY DEPENDENCY RULES ####
ufst:
make -C ufst/rts/lib -f makefile.artifex
#### LANGUAGE SWITCHING PRODUCT RULES ####
ls_profile:
make -C language_switch -f pspcl6_gcc.mak pg-fp
ls_product:
make -C language_switch -f pspcl6_gcc.mak product # 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 language_switch/obj/pspcl6 /usr/local/bin
# test with PCL, PXL and PS file
ls_test:
cd tools; ../language_switch/obj/pspcl6 -dTextAlphaBits=4 owl.pcl tiger.px3 ../gs/examples/tiger.ps
check:
tools/smoke_check.sh
# 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 -f fonts /usr/local/bin/pspcl6
# shortcuts for common build types.
ls_uproduct: ufst
make -C language_switch -f pspcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj"
ls_udebug: ufst
make -C language_switch -f pspcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj" debug
ls_uclean:
make -C language_switch -f pspcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj" clean
make -C ufst/rts/lib -f makefile.artifex clean
uproduct: ufst
make -C main -f pcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj"
udebug: ufst
make -C main -f pcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj" debug
uclean:
make -C main -f pcl6_gcc.mak PL_SCALER=ufst GENDIR="./ufst-obj" clean
make -C ufst/rts/lib -f makefile.artifex clean
all_debug: debug udebug ls_debug ls_udebug
all_clean: clean uclean ls_uclean ls_clean
make -C ufst/rts/lib -f makefile.artifex clean
.PHONY: clean test install product profile ls_clean ls_test ls_install ls_product ls_profile ls_udebug udebug ufst check
|