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 30include ../../../../Makefile.lp 31 32FONTFILES = 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 38FONTLNK1 = G HM HK HL 39FONTLNK2 = GI 40DESCFILE = DESC 41TXTS = DESC.big DESC.small S.big S.small LINKFILE 42 43FONTNAMES = $(FONTFILES:%=%.name) 44FONTLNK1OUTS = $(FONTLNK1:%=%.out) 45FONTLNK2OUTS = $(FONTLNK2:%=%.out) 46FONTOUTS = $(FONTFILES:%=%.out) $(DESCFILE:%=%.out) 47 48SUBDIRS = charlib 49 50NATIVEMAKEDEV = ../native/makedev 51 52ROOTLIBFONT = $(ROOT)/usr/lib/font 53ROOTDEVPOST = $(ROOTLIBFONT)/devpost 54 55ROOTFONTFILES = $(FONTFILES:%=$(ROOTDEVPOST)/%) \ 56 $(ROOTDEVPOST)/$(DESCFILE) 57ROOTFONTNAMES = $(FONTNAMES:%=$(ROOTDEVPOST)/%) 58ROOTFONTOUTS = $(FONTOUTS:%=$(ROOTDEVPOST)/%) \ 59 $(FONTLNK1OUTS:%=$(ROOTDEVPOST)/%) \ 60 $(FONTLNK2OUTS:%=$(ROOTDEVPOST)/%) 61 62FILEMODE = 0444 63 64.KEEP_STATE: 65 66all : $(TXTS) $(FONTOUTS) $(FONTNAMES) $(SUBDIRS) 67 68install: $(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 90clean strip lint : $(SUBDIRS) 91 92clobber: $(SUBDIRS) 93 $(RM) $(FONTOUTS) $(FONTLNK1OUTS) $(FONTLNK2OUTS) 94 95$(SUBDIRS): FRC 96 @cd $@; pwd; $(MAKE) $(TARGET) 97 98FRC: 99