17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# 37c478bd9Sstevel@tonic-gate# Copyright (c) 1989 by Sun Microsystems, Inc. 47c478bd9Sstevel@tonic-gate# 57c478bd9Sstevel@tonic-gate# cmd/troff/nroff.d/terms.d/Makefile 67c478bd9Sstevel@tonic-gate# 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gateinclude ../../../Makefile.cmd 97c478bd9Sstevel@tonic-gate 107c478bd9Sstevel@tonic-gateROOTNTERM = $(ROOTSHLIB)/nterm 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gateFILEMODE = 644 137c478bd9Sstevel@tonic-gate 147c478bd9Sstevel@tonic-gateFILES1 = tab.2631 tab.2631-c tab.2631-e tab.lp 157c478bd9Sstevel@tonic-gateFILES2 = tab.300 tab.300-12 tab.300s tab.300s-12 tab.382 \ 167c478bd9Sstevel@tonic-gate tab.4000a tab.450 tab.450-12 tab.832 177c478bd9Sstevel@tonic-gateFILES3 = tab.37 tab.8510 tab.X tab.tn300 187c478bd9Sstevel@tonic-gateFILES = $(FILES1) $(FILES2) $(FILES3) 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gateROOTFILES = $(FILES:%=$(ROOTNTERM)/%) 217c478bd9Sstevel@tonic-gate 227c478bd9Sstevel@tonic-gateLNKFILES = tab.300S tab.300S-12 tab.4000A 237c478bd9Sstevel@tonic-gateROOTLNKFILES = $(LNKFILES:%=$(ROOTNTERM)/%) 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gate$(ROOTNTERM)/tab.300S := ROOTLNKDEST = $(ROOTNTERM)/tab.300s 267c478bd9Sstevel@tonic-gate$(ROOTNTERM)/tab.300S-12 := ROOTLNKDEST = $(ROOTNTERM)/tab.300s-12 277c478bd9Sstevel@tonic-gate$(ROOTNTERM)/tab.4000A := ROOTLNKDEST = $(ROOTNTERM)/tab.4000a 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gateTXTS = README 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate.KEEP_STATE : 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gateall : $(TXTS) $(FILES) 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gateinstall : all $(ROOTNTERM) $(ROOTFILES) $(ROOTLNKFILES) 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gate$(FILES1) : $$(@:tab.%=a.%) b.lp 387c478bd9Sstevel@tonic-gate cat $(@:tab.%=a.%) b.lp >$@ 397c478bd9Sstevel@tonic-gate$(FILES2) : $$(@:tab.%=a.%) b.300 407c478bd9Sstevel@tonic-gate cat $(@:tab.%=a.%) b.300 >$@ 417c478bd9Sstevel@tonic-gate$(FILES3) : $$(@:tab.%=ab.%) 427c478bd9Sstevel@tonic-gate cat $(@:tab.%=ab.%) > $@ 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate$(ROOTNTERM) : 457c478bd9Sstevel@tonic-gate $(INS.dir) 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gate$(ROOTNTERM)/% : % 487c478bd9Sstevel@tonic-gate $(INS.file) 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate$(ROOTLNKFILES) : $$(ROOTLNKDEST) 517c478bd9Sstevel@tonic-gate -$(RM) $@; $(LN) $(ROOTLNKDEST) $@ 527c478bd9Sstevel@tonic-gate 53*b6805bf7SGordon Rossclean lint strip : 54*b6805bf7SGordon Ross 55*b6805bf7SGordon Rossclobber: 56*b6805bf7SGordon Ross $(RM) $(FILES) 57