3 # Copyright (c) 1989 by Sun Microsystems, Inc.
5 # cmd/troff/nroff.d/terms.d/Makefile
8 include ..
/..
/..
/Makefile.cmd
10 ROOTNTERM
= $(ROOTSHLIB
)/nterm
14 FILES1
= tab
.2631 tab
.2631-c tab
.2631-e tab.lp
15 FILES2
= tab
.300 tab
.300-12 tab
.300s tab
.300s-12 tab
.382 \
16 tab
.4000a tab
.450 tab
.450-12 tab
.832
17 FILES3
= tab
.37 tab
.8510 tab.X tab.tn300
18 FILES
= $(FILES1
) $(FILES2
) $(FILES3
)
20 ROOTFILES
= $(FILES
:%=$(ROOTNTERM
)/%)
22 LNKFILES
= tab
.300S tab
.300S-12 tab
.4000A
23 ROOTLNKFILES
= $(LNKFILES
:%=$(ROOTNTERM
)/%)
25 $(ROOTNTERM
)/tab
.300S
:= ROOTLNKDEST
= $(ROOTNTERM
)/tab
.300s
26 $(ROOTNTERM
)/tab
.300S-12
:= ROOTLNKDEST
= $(ROOTNTERM
)/tab
.300s-12
27 $(ROOTNTERM
)/tab
.4000A
:= ROOTLNKDEST
= $(ROOTNTERM
)/tab
.4000a
33 all : $(TXTS
) $(FILES
)
35 install : all $(ROOTNTERM
) $(ROOTFILES
) $(ROOTLNKFILES
)
37 $(FILES1
) : $$(@
:tab.
%=a.
%) b.lp
38 cat
$(@
:tab.
%=a.
%) b.lp
>$@
39 $(FILES2
) : $$(@
:tab.
%=a.
%) b
.300
40 cat
$(@
:tab.
%=a.
%) b
.300 >$@
41 $(FILES3
) : $$(@
:tab.
%=ab.
%)
42 cat
$(@
:tab.
%=ab.
%) > $@
50 $(ROOTLNKFILES
) : $$(ROOTLNKDEST
)
51 -$(RM
) $@
; $(LN
) $(ROOTLNKDEST
) $@