diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/quicspool/src/makefile |
Initial commit
Diffstat (limited to 'dviware/quicspool/src/makefile')
-rw-r--r-- | dviware/quicspool/src/makefile | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/dviware/quicspool/src/makefile b/dviware/quicspool/src/makefile new file mode 100644 index 0000000000..6a2bde4be0 --- /dev/null +++ b/dviware/quicspool/src/makefile @@ -0,0 +1,152 @@ +# $Header: Makefile,v 1.2 88/02/03 08:52:35 simpson Exp $ +# $Log: Makefile,v $ +#Revision 1.2 88/02/03 08:52:35 simpson +#added tpic support +# +#Revision 1.1 88/01/15 13:03:01 simpson +#initial release +# +#Revision 0.2 87/12/18 11:25:41 simpson +#added spline file +# +#Revision 0.1 87/12/11 18:30:37 simpson +#beta test +# +CFLAGS=-O +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 + +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 + +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 -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 \ + *.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 +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 +xxx.c: xxxlex.c xxx.y +xxxlex.c: xxxlex.l |