3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23 # ident "%Z%%M% %I% %E% SMI"
24 #
25 # Copyright (c) 1989 by Sun Microsystems, Inc.
26 #
27 # cmd/lp/filter/postscript/font/devpost/Makefile
28 #
29
30 include ../../../../Makefile.lp
31
32 FONTFILES = AB AI AR AX BI CB CI CO \
33 CW CX GR HB HI HX Hb Hi \
34 Hr Hx KB KI KR KX NB NI \
35 NR NX PA PB PI PX S1 VB \
36 VI VR VX ZD ZI B H I \
37 R S
38 FONTLNK1 = G HM HK HL
39 FONTLNK2 = GI
40 DESCFILE = DESC
41 TXTS = DESC.big DESC.small S.big S.small LINKFILE
42
43 FONTNAMES = $(FONTFILES:%=%.name)
44 FONTLNK1OUTS = $(FONTLNK1:%=%.out)
45 FONTLNK2OUTS = $(FONTLNK2:%=%.out)
46 FONTOUTS = $(FONTFILES:%=%.out) $(DESCFILE:%=%.out)
47
48 SUBDIRS = charlib
49
50 NATIVEMAKEDEV = ../native/makedev
51
52 ROOTLIBFONT = $(ROOT)/usr/lib/font
53 ROOTDEVPOST = $(ROOTLIBFONT)/devpost
54
55 ROOTFONTFILES = $(FONTFILES:%=$(ROOTDEVPOST)/%) \
56 $(ROOTDEVPOST)/$(DESCFILE)
57 ROOTFONTNAMES = $(FONTNAMES:%=$(ROOTDEVPOST)/%)
58 ROOTFONTOUTS = $(FONTOUTS:%=$(ROOTDEVPOST)/%) \
59 $(FONTLNK1OUTS:%=$(ROOTDEVPOST)/%) \
60 $(FONTLNK2OUTS:%=$(ROOTDEVPOST)/%)
61
62 FILEMODE = 0444
63
64 .KEEP_STATE:
65
66 all : $(TXTS) $(FONTOUTS) $(FONTNAMES) $(SUBDIRS)
67
68 install: $(TXTS) $(FONTOUTS) $(FONTNAMES) \
69 $(ROOTDEVPOST) $(ROOTFONTFILES) $(ROOTFONTNAMES) \
70 $(ROOTFONTOUTS) $(SUBDIRS)
71
72 $(FONTOUTS) : $$(@:%.out=%) $(NATIVEMAKEDEV)
73 @$(RM) $@; $(NATIVEMAKEDEV) $(@:%.out=%)
74
75 $(ROOTDEVPOST) :
76 $(INS.dir)
77
78 $(NATIVEMAKEDEV) :
79 @cd ..; $(MAKE) native/makedev
80
81 $(FONTLNK1OUTS) : H.out
82 @$(RM) $@; $(LN) H.out $@
83
84 $(FONTLNK2OUTS) : HI.out
85 @$(RM) $@; $(LN) HI.out $@
86
87 $(ROOTDEVPOST)/% : %
88 $(INS.file)
89
90 clean strip lint : $(SUBDIRS)
91
92 clobber: $(SUBDIRS)
93 $(RM) $(FONTOUTS) $(FONTLNK1OUTS) $(FONTLNK2OUTS)
94
95 $(SUBDIRS): FRC
96 @cd $@; pwd; $(MAKE) $(TARGET)
97
98 FRC:
|
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23 # Copyright (c) 1989 by Sun Microsystems, Inc.
24 # Copyright 2014 Garrett D'Amore
25 #
26 # cmd/lp/filter/postscript/font/devpost/Makefile
27 #
28
29 include ../../../../Makefile.lp
30
31 FONTFILES = AB AI AR AX BI CB CI CO \
32 CW CX GR HB HI HX JB JI \
33 JR JX KB KI KR KX NB NI \
34 NR NX PA PB PI PX S1 VB \
35 VI VR VX ZD ZI B H I \
36 R S
37 FONTLNK1 = G HM HK HL
38 FONTLNK2 = GI
39 DESCFILE = DESC
40 TXTS = DESC.big DESC.small S.big S.small LINKFILE
41
42 FONTNAMES = $(FONTFILES:%=%.name)
43 FONTLNK1OUTS = $(FONTLNK1:%=%.out)
44 FONTLNK2OUTS = $(FONTLNK2:%=%.out)
45 FONTOUTS = $(FONTFILES:%=%.out) $(DESCFILE:%=%.out)
46
47 SUBDIRS = charlib fontmaps
48
49 NATIVEMAKEDEV = ../native/makedev
50
51 ROOTLIBFONT = $(ROOT)/usr/lib/font
52 ROOTDEVPOST = $(ROOTLIBFONT)/devpost
53
54 ROOTFONTFILES = $(FONTFILES:%=$(ROOTDEVPOST)/%) \
55 $(ROOTDEVPOST)/$(DESCFILE)
56 ROOTFONTNAMES = $(FONTNAMES:%=$(ROOTDEVPOST)/%)
57 ROOTFONTOUTS = $(FONTOUTS:%=$(ROOTDEVPOST)/%) \
58 $(FONTLNK1OUTS:%=$(ROOTDEVPOST)/%) \
59 $(FONTLNK2OUTS:%=$(ROOTDEVPOST)/%)
60
61 FILEMODE = 0444
62
63 .KEEP_STATE:
64
65 all : $(TXTS) $(FONTOUTS) $(FONTNAMES) $(SUBDIRS)
66
67 install: $(TXTS) $(FONTOUTS) $(FONTNAMES) \
68 $(ROOTDEVPOST) $(ROOTFONTFILES) $(ROOTFONTNAMES) \
69 $(ROOTFONTOUTS) $(SUBDIRS)
70
71 $(FONTOUTS) : $$(@:%.out=%) $(NATIVEMAKEDEV)
72 @$(RM) $@; $(NATIVEMAKEDEV) $(@:%.out=%)
73
74 $(ROOTDEVPOST) :
75 $(INS.dir)
76
77 $(NATIVEMAKEDEV) :
78 @cd ..; $(MAKE) native/makedev
79
80 $(FONTLNK1OUTS) : H.out
81 @$(RM) $@; $(LN) H.out $@
82
83 $(FONTLNK2OUTS) : HI.out
84 @$(RM) $@; $(LN) HI.out $@
85
86 $(ROOTDEVPOST)/% : % $(ROOTDEVPOST)
87 $(INS.file)
88
89 clean strip lint : $(SUBDIRS)
90
91 clobber: $(SUBDIRS)
92 $(RM) $(FONTOUTS) $(FONTLNK1OUTS) $(FONTLNK2OUTS)
93
94 $(SUBDIRS): FRC
95 @cd $@; pwd; $(MAKE) $(TARGET)
96
97 FRC:
|