summaryrefslogtreecommitdiff
path: root/dviware/quicspool/src/makefile.trw
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/quicspool/src/makefile.trw
Initial commit
Diffstat (limited to 'dviware/quicspool/src/makefile.trw')
-rw-r--r--dviware/quicspool/src/makefile.trw190
1 files changed, 190 insertions, 0 deletions
diff --git a/dviware/quicspool/src/makefile.trw b/dviware/quicspool/src/makefile.trw
new file mode 100644
index 0000000000..ac2648aa29
--- /dev/null
+++ b/dviware/quicspool/src/makefile.trw
@@ -0,0 +1,190 @@
+# $Header: Makefile.TRW,v 1.2 88/02/03 08:52:38 simpson Exp $
+# $Log: Makefile.TRW,v $
+# Revision 1.2 88/02/03 08:52:38 simpson
+# added tpic support
+#
+# Revision 1.1 88/01/15 13:03:05 simpson
+# initial release
+#
+# Revision 0.2 87/12/18 11:34:39 simpson
+# added spline file for pic
+#
+# Revision 0.1 87/12/11 19:13:28 simpson
+# beta test
+#
+CFLAGS=-O -I/usr/src/usr.lib/lpr -DTRW
+LDFLAGS=-s
+FILTER=/usr/local/lib/lpr
+OTROFFFONT=/usr/lib/font
+DITROFFFONT=/usr/lib/font/devqms
+WWTEXFONT=/usr/lib/tex/qmsfonts
+WBTEXFONT=/usr/lib/tex/imagenfonts
+BINARIES=/usr/local/bin
+DOCILEUSER=games
+
+all: of if rf gf df nf tf pktoch tfm2difont tfm2ofont dumpdesc cati lpr lpd \
+ lpq pac
+
+configure:
+ sed s:--PKDIR1--:$(WBTEXFONT): < df.c.backup | \
+ sed s:--PKDIR2--:$(WWTEXFONT): > df.c
+ sed s:--FONTDIR--:$(DITROFFFONT): < tf.c.backup > tf.c
+ sed s:--FONTDIR--:$(DITROFFFONT): < nf.c.backup > nf.c
+ sed s:--USER--:$(DOCILEUSER): < constants.h.backup > constants.h
+ sed s:--OFONT--:$(OTROFFFONT): < qtroff.backup | \
+ sed s:--FILTER--:$(FILTER): > qtroff
+ sed s:--DIFONT--:$(DITROFFFONT): < ditroff.backup > ditroff
+
+of: of.o profile.o misc.o string.o
+ $(CC) -o $@ $(LDFLAGS) of.o profile.o misc.o string.o \
+ ../libtrw/libtrw.a ../libprofile/libprofile.a ../libglob/libglob.a \
+ ../libqmsquery/libqmsquery.a -ll -ltermcap
+
+if: if.o profile.o qms.o cleanup.o
+ $(CC) -o $@ $(LDFLAGS) if.o profile.o qms.o cleanup.o \
+ ../libtrw/libtrw.a ../libprofile/libprofile.a ../libglob/libglob.a \
+ ../libqmsquery/libqmsquery.a -ll -ltermcap
+
+rf: rf.o profile.o qms.o cleanup.o
+ $(CC) -o $@ $(LDFLAGS) rf.o profile.o qms.o cleanup.o \
+ ../libtrw/libtrw.a ../libqmsquery/libqmsquery.a \
+ ../libprofile/libprofile.a ../libglob/libglob.a -ll -ltermcap
+
+gf: gf.o profile.o qms.o cleanup.o
+ $(CC) -o $@ $(LDFLAGS) gf.o profile.o qms.o cleanup.o \
+ ../libtrw/libtrw.a ../libqmsquery/libqmsquery.a \
+ ../libprofile/libprofile.a ../libglob/libglob.a -ll -ltermcap -lm
+
+df: df.o cleanup.o getc.o io.o list.o misc.o pk.o profile.o qms.o spline.o \
+ stack.o string.o table.o
+ $(CC) -o $@ $(LDFLAGS) df.o cleanup.o getc.o io.o list.o misc.o \
+ pk.o profile.o qms.o spline.o stack.o string.o table.o \
+ ../libtrw/libtrw.a ../libqmsquery/libqmsquery.a -ll \
+ ../libprofile/libprofile.a ../libglob/libglob.a -ltermcap -lm
+
+nf: nf.o cleanup.o getc.o io.o list.o misc.o pk.o profile.o qms.o spline.o \
+ stack.o string.o table.o
+ $(CC) -o $@ $(LDFLAGS) nf.o cleanup.o getc.o io.o list.o misc.o pk.o \
+ profile.o qms.o spline.o stack.o string.o table.o ../libtrw/libtrw.a \
+ ../libqmsquery/libqmsquery.a ../libprofile/libprofile.a \
+ ../libglob/libglob.a -ll -ltermcap -lm
+
+tf: tf.o cat.o cleanup.o getc.o io.o list.o misc.o pk.o profile.o qms.o \
+ stack.o string.o table.o
+ $(CC) -o $@ $(LDFLAGS) tf.o cat.o cleanup.o getc.o io.o list.o misc.o \
+ pk.o profile.o qms.o stack.o string.o table.o ../libtrw/libtrw.a \
+ ../libqmsquery/libqmsquery.a ../libprofile/libprofile.a \
+ ../libglob/libglob.a -ll -ltermcap
+
+pktoch: pktoch.o misc.o pk.o io.o getc.o string.o
+ $(CC) $(LDFLAGS) -o $@ pktoch.o misc.o pk.o io.o getc.o string.o \
+ ../libtrw/libtrw.a -ltermcap
+
+tfm2difont: tfm2difont.o getc.o io.o
+ $(CC) $(LDFLAGS) -o $@ tfm2difont.o getc.o io.o ../libtrw/libtrw.a
+
+tfm2ofont: tfm2ofont.o cat.o getc.o io.o
+ $(CC) $(LDFLAGS) -o $@ tfm2ofont.o cat.o getc.o io.o ../libtrw/libtrw.a
+
+dumpdesc: dumpdesc.o getc.o io.o
+ $(CC) $(LDFLAGS) -o $@ dumpdesc.o getc.o io.o ../libtrw/libtrw.a
+
+cati: cati.o
+ $(CC) $(LDFLAGS) -o $@ cati.o
+
+lpr: lpr.o startdaemon.o printcap.o
+ $(CC) -o $@ $(LDFLAGS) lpr.o startdaemon.o printcap.o -lledger
+
+lpd: lpd.o printjob.o recvjob.o displayq.o rmjob.o startdaemon.o lpdchar.o \
+ common.o printcap.o
+ $(CC) -o $@ $(LDFLAGS) lpd.o printjob.o recvjob.o displayq.o rmjob.o \
+ startdaemon.o lpdchar.o common.o printcap.o -lledger
+
+lpq: lpq.o displayq.o common.o printcap.o
+ $(CC) -o $@ $(LDFLAGS) lpq.o displayq.o common.o printcap.o -ltermcap
+
+pac: pac.o printcap.o
+ $(CC) -o $@ $(LDFLAGS) pac.o printcap.o -ltrw -lledger -lprofile \
+ -lglob
+
+install:
+ install -m 755 if $(FILTER)
+ install -m 755 of $(FILTER)
+ install -m 755 rf $(FILTER)
+ install -m 755 gf $(FILTER)
+ install -m 755 tf $(FILTER)
+ install -o root -g daemon -m 4750 nf $(FILTER)
+ install -o root -g daemon -m 4750 df $(FILTER)
+ install -o root -g daemon -m 6711 lpr /usr/ucb/lpr
+ install -o root -g daemon -m 6711 lpd /usr/lib/lpd
+ install -o root -g daemon -m 6711 lpq /usr/ucb/lpq
+ install -m 755 pac /etc
+ install -c -m 644 mount.nr $(FILTER)
+ install -m 755 tfm2ofont $(BINARIES)
+ install -m 755 tfm2difont $(BINARIES)
+ install -m 755 dumpdesc $(BINARIES)
+ install -m 755 pktoch $(BINARIES)
+ install -m 755 cati $(BINARIES)
+ install -c -m 755 qtroff $(BINARIES)
+ install -c -m 755 ditroff $(BINARIES)
+ install -c -m 755 glpr $(BINARIES)
+ install -c -m 755 glpq $(BINARIES)
+
+clean:
+ -rm -f of if rf gf df nf tf pktoch tfm2difont tfm2ofont dumpdesc cati \
+ lpr lpd lpq pac *.o lex.yy.c y.tab.c quic.c xxx.c xxxlex.c \
+ df.c tf.c nf.c constants.h qtroff ditroff
+
+lint:
+ lint of.c profile.c misc.c string.c
+ lint if.c profile.c qms.c cleanup.c
+ lint rf.c profile.c qms.c cleanup.c
+ lint gf.c profile.c qms.c cleanup.c
+ lint df.c cleanup.c getc.c io.c list.c misc.c pk.c profile.c qms.c \
+ stack.c string.c table.c
+ lint nf.c cleanup.c getc.c io.c list.c misc.c pk.c profile.c qms.c \
+ spline.c stack.c string.c table.c
+ lint tf.c cat.c cleanup.c getc.c io.c list.c misc.c pk.c profile.c \
+ qms.c stack.c string.c table.c
+ lint pktoch.c misc.c pk.c io.c getc.c string.c
+ lint tfm2ofont.c cat.c getc.c io.c
+ lint tfm2difont.c io.c getc.c
+ lint dumpdesc.c io.c getc.c
+ lint cati.c
+
+if.o: fontnode.h quic.c
+rf.o: fontnode.h
+gf.c: constants.h fontnode.h
+df.o: dvi.h constants.h fontinfo.h fontnode.h xxx.c
+nf.o: constants.h dev.h fontinfo.h fontnode.h xxx.c
+tf.o: constants.h fontinfo.h fontnode.h
+pktoch.o: fontinfo.h
+tfm2difont.o: constants.h dev.h
+tfm2ofont.o: constants.h
+dumpdesc.o: dev.h
+lpd.o lpr.o startdaemon.o printjob.o displayq.o rmjob.o recvjob.ocommon.o \
+pac.o: /usr/src/usr.lib/lpr/lp.h /usr/src/usr.lib/lpr/lp.local.h
+cleanup.o: constants.h fontnode.h
+list.o: fontnode.h
+misc.o: constants.h
+pk.o: constants.h fontinfo.h pk.h
+qms.o: fontnode.h
+quic.c: quic.l
+startdaemon.o: /usr/src/usr.lib/lpr/startdaemon.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/startdaemon.c
+printcap.o: /usr/src/usr.lib/lpr/printcap.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/printcap.c
+lpd.o: /usr/src/usr.lib/lpr/lpd.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/lpd.c
+lpq.o: /usr/src/usr.lib/lpr/lpq.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/lpq.c
+recvjob.o: /usr/src/usr.lib/lpr/recvjob.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/recvjob.c
+rmjob.o: /usr/src/usr.lib/lpr/rmjob.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/rmjob.c
+lpdchar.o: /usr/src/usr.lib/lpr/lpdchar.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/lpdchar.c
+common.o: /usr/src/usr.lib/lpr/common.c
+ $(CC) -c $(CFLAGS) /usr/src/usr.lib/lpr/common.c
+xxx.c: xxxlex.c xxx.y
+xxxlex.c: xxxlex.l