1 # 2 # CDDL HEADER START 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: