new template
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 19 Jun 1987 14:47:22 +0000 (06:47 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 19 Jun 1987 14:47:22 +0000 (06:47 -0800)
SCCS-vsn: old/roff/nroff/Makefile 4.4
SCCS-vsn: old/roff/nroff_term/Makefile 4.7
SCCS-vsn: old/roff/troff_font/Makefile 5.2
SCCS-vsn: usr.bin/plot/Makefile 4.10
SCCS-vsn: old/prof/Makefile 4.3
SCCS-vsn: old/ratfor/Makefile 5.3
SCCS-vsn: old/refer/Makefile 4.8
SCCS-vsn: usr.bin/spell/Makefile 4.8
SCCS-vsn: usr.bin/struct/struct/Makefile 4.5
SCCS-vsn: old/tbl/Makefile 4.3
SCCS-vsn: usr.bin/tip/aculib/Makefile 5.3
SCCS-vsn: usr.bin/tip/Makefile 5.4

12 files changed:
usr/src/old/prof/Makefile
usr/src/old/ratfor/Makefile
usr/src/old/refer/Makefile
usr/src/old/roff/nroff/Makefile
usr/src/old/roff/nroff_term/Makefile
usr/src/old/roff/troff_font/Makefile
usr/src/old/tbl/Makefile
usr/src/usr.bin/plot/Makefile
usr/src/usr.bin/spell/Makefile
usr/src/usr.bin/struct/struct/Makefile
usr/src/usr.bin/tip/Makefile
usr/src/usr.bin/tip/aculib/Makefile

index b9bb6bf..48e2301 100644 (file)
@@ -1,18 +1,44 @@
-#      @(#)Makefile    4.2 (Berkeley) %G%
 #
 #
-# If you don't want to plot, take out the -Dplot and the ref. to plot.a
-PLOT = -lplot -Dplot
-CFLAGS=-O 
-prof:  prof.o
-       $(CC) -o prof prof.o $(PLOT)
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    4.3     (Berkeley)      %G%
+#
+# If you don't want to plot, take out the -Dplot and the loader
+# reference to plot.a
+CFLAGS=        -O -Dplot
+LIBC=  /lib/libc.a
+SRCS=  prof.c
+OBJS=  prof.o
+
+all: prof
+
+prof: ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${OBJS} -lplot
+
+clean: FRC
+       rm -f ${OBJS} core prof
+
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o bin -g bin -m 755 prof ${DESTDIR}/usr/bin/prof
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
 
 
-prof.o: prof.c
-       cc -c $(CFLAGS) $(PLOT) prof.c
+FRC:
 
 
-install:
-       install -s prof $(DESTDIR)/usr/bin
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
 
 
-clean:
-       rm -f *.o prof
+prof.o: prof.c /usr/include/stdio.h /usr/include/sys/types.h
+prof.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h
+prof.o: /usr/include/sys/time.h /usr/include/time.h
 
 
-depend:
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 70bbded..50088f0 100644 (file)
@@ -1,24 +1,47 @@
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.3     (Berkeley)      %G%
+#
+CFLAGS=        -O
+YFLAGS=        -d
+LIBC=  /lib/libc.a
+SRCS=  r.c r0.c r1.c r2.c rio.c rlook.c rlex.c
+OBJS=  r.o r0.o r1.o r2.o rio.o rlook.o rlex.o
 
 
-#      @(#)Makefile    5.2 (Berkeley) %G%
-
-CFLAGS = -O
-
-ratfor:        r0.o r1.o r2.o rio.o rlook.o rlex.o y.tab.o
-       cc r*.o y.tab.o -o ratfor
-
-r0.o:  r.h y.tab.h r0.c
-r1.o:  r.h y.tab.h r1.c
-r2.o:  r.h y.tab.h r2.c
-rio.o: r.h y.tab.h rio.c
-rlook.o:       r.h y.tab.h rlook.c
-rlex.o:        r.h y.tab.h rlex.c
-y.tab.c:       r.g
-       yacc -d r.g
-y.tab.h:       r.g
-       yacc -d r.g
-install: ratfor
-       install -s ratfor $(DESTDIR)/usr/bin
-clean:
-       rm -f y.tab.c *.o ratfor y.tab.h
-
-depend:
+all: ratfor
+
+ratfor:        ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${OBJS}
+
+clean: FRC
+       rm -f ${OBJS} core ratfor r.c
+
+depend: ${SRCS} FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o bin -g bin -m 755 ratfor ${DESTDIR}/usr/bin/ratfor
+
+lint: ${SRCS} FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: ${SRCS} FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+r.o: r.c
+r0.o: r0.c r.h /usr/include/stdio.h y.tab.h
+r1.o: r1.c r.h /usr/include/stdio.h y.tab.h
+r2.o: r2.c r.h /usr/include/stdio.h y.tab.h
+rio.o: rio.c r.h /usr/include/stdio.h y.tab.h
+rlook.o: rlook.c
+rlex.o: rlex.c r.h /usr/include/stdio.h y.tab.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 89573f4..9587c5b 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)Makefile    4.7     (Berkeley)      87/05/06
+#      @(#)Makefile    4.8     (Berkeley)      87/06/18
 #
 DESTDIR=
 CFLAGS=        -O
 #
 DESTDIR=
 CFLAGS=        -O
index 50de06f..40ff121 100644 (file)
@@ -1,5 +1,5 @@
 #
 #
-#      @(#)Makefile    4.3 %G%
+#      @(#)Makefile    4.4 %G%
 #
 DESTDIR =
 SRCS = \
 #
 DESTDIR =
 SRCS = \
index 190f8db..ff31918 100644 (file)
@@ -1,53 +1,70 @@
-#      Makefile        4.6     86/05/15
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    4.7     (Berkeley)      %G%
 #
 # Possible options:
 #
 # Possible options:
-#      make            compile source for terminal tables below
+#      make            compile source for all terminal tables below
 #      make <term>     compile table for a specific <term>
 #      make install    move tables to ${DEST}
 #      make <term>     compile table for a specific <term>
 #      make install    move tables to ${DEST}
-#      make links      make links for ease of documentation
 #      make clean      remove tab*.o files lying around
 #      make clean      remove tab*.o files lying around
-ALL=   37 lpr 300 300-12 302 302-12 382 382-12 450 450-12 833 833-12 \
-       epson itoh itoh12 nec nec12 nec-t nec25-t qume qume12 xerox xerox12 \
-       x-ecs x-ecs12
-DESTDIR=
+CFLAGS=        -O
+LIBC=  /lib/libc.a
 DEST=  ${DESTDIR}/usr/lib/term
 DEST=  ${DESTDIR}/usr/lib/term
+SRCS=  tab300-12.c tab300.c tab302-12.c tab302.c tab37.c tab382-12.c \
+       tab382.c tab450-12.c tab450.c tab833-12.c tab833.c tabepson.c \
+       tabitoh.c tabitoh12.c tablpr.c tabnec-t.c tabnec.c tabnec12.c \
+       tabnec25-t.c tabqume.c tabqume12.c tabx-ecs.c tabx-ecs12.c \
+       tabxerox.c tabxerox12.c
+OBJS=  tab300-12.o tab300.o tab302-12.o tab302.o tab37.o tab382-12.o \
+       tab382.o tab450-12.o tab450.o tab833-12.o tab833.o tabepson.o \
+       tabitoh.o tabitoh12.o tablpr.o tabnec-t.o tabnec.o tabnec12.o \
+       tabnec25-t.o tabqume.o tabqume12.o tabx-ecs.o tabx-ecs12.o \
+       tabxerox.o tabxerox12.o
+ALL=   37 lpr 300 300-12 302 302-12 382 382-12 450 450-12 833 833-12 \
+       epson itoh itoh12 nec nec12 nec-t nec25-t qume qume12 xerox \
+       xerox12 x-ecs x-ecs12
+
+all: ${ALL}
+
+37:            tab37.o
+lpr:           tablpr.o
+300:           tab300.o 
+300-12:                tab300-12.o 
+302:           tab302.o 
+302-12:                tab302-12.o 
+382:           tab382.o 
+382-12:                tab382-12.o 
+450:           tab450.o 
+450-12:                tab450-12.o 
+833:           tab833.o 
+833-12:                tab833-12.o 
+epson:         tabepson.o
+itoh:          tabitoh.o 
+itoh12:                tabitoh12.o 
+nec:           tabnec.o 
+nec12:         tabnec12.o 
+nec-t:         tabnec-t.o
+nec25-t:       tabnec25-t.o
+qume:          tabqume.o
+qume12:                tabqume12.o
+xerox:         tabxerox.o 
+xerox12:       tabxerox12.o 
+x-ecs:         tabx-ecs.o 
+x-ecs12:       tabx-ecs12.o 
+
+clean: FRC
+       rm -f ${OBJS} core
 
 
-all:   ${ALL}
-
-37:    tab37.o
-lpr:   tablpr.o
-300:   tab300.o code.300
-300-12:        tab300-12.o code.300
-302:   tab302.o code.300
-302-12:        tab302-12.o code.300
-382:   tab382.o code.300
-382-12: tab382-12.o code.300
-450:   tab450.o code.300
-450-12:        tab450-12.o code.300
-833:   tab833.o code.aj833
-833-12: tab833-12.o code.aj833
-epson: tabepson.o
-itoh:  tabitoh.o code.itoh
-itoh12: tabitoh12.o code.itoh
-nec:   tabnec.o code.nec
-nec12: tabnec12.o code.nec
-nec-t: tabnec-t.o
-nec25-t:tabnec25-t.o
-qume:  tabqume.o
-qume12:        tabqume12.o
-xerox: tabxerox.o code.xerox
-xerox12:tabxerox12.o code.xerox
-x-ecs: tabx-ecs.o code.x-ecs
-x-ecs12:tabx-ecs12.o code.x-ecs
-
-install:
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
        for file in tab*.o; do \
        for file in tab*.o; do \
-               install -s -m 755 $$file ${DEST}/`basename $$file .o`;\
+               install -s -o bin -g bin -m 755 $$file ${DEST}/`basename $$file .o`; \
        done
        done
-       make DESTDIR=${DESTDIR} links
-       install -c -m 644 README ${DEST}/README
-
-links:
        rm -f ${DEST}/tabtn300; ln ${DEST}/tablpr ${DEST}/tabtn300
        rm -f ${DEST}/tabcrt; ln ${DEST}/tablpr ${DEST}/tabcrt
        rm -f ${DEST}/tab300s; ln ${DEST}/tab302 ${DEST}/tab300s
        rm -f ${DEST}/tabtn300; ln ${DEST}/tablpr ${DEST}/tabtn300
        rm -f ${DEST}/tabcrt; ln ${DEST}/tablpr ${DEST}/tabcrt
        rm -f ${DEST}/tab300s; ln ${DEST}/tab302 ${DEST}/tab300s
@@ -56,6 +73,43 @@ links:
        rm -f ${DEST}/tabdtc12; ln ${DEST}/tab302-12 ${DEST}/tabdtc12
        rm -f ${DEST}/tabipsi; ln ${DEST}/tab450 ${DEST}/tabipsi
        rm -f ${DEST}/tabipsi12; ln ${DEST}/tab450-12 ${DEST}/tabipsi12
        rm -f ${DEST}/tabdtc12; ln ${DEST}/tab302-12 ${DEST}/tabdtc12
        rm -f ${DEST}/tabipsi; ln ${DEST}/tab450 ${DEST}/tabipsi
        rm -f ${DEST}/tabipsi12; ln ${DEST}/tab450-12 ${DEST}/tabipsi12
+       install -c -o bin -g bin -m 644 README ${DEST}/README
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+tab300-12.o: tab300-12.c code.300
+tab300.o: tab300.c code.300
+tab302-12.o: tab302-12.c code.300
+tab302.o: tab302.c code.300
+tab37.o: tab37.c
+tab382-12.o: tab382-12.c code.300
+tab382.o: tab382.c code.300
+tab450-12.o: tab450-12.c code.300
+tab450.o: tab450.c code.300
+tab833-12.o: tab833-12.c code.aj833
+tab833.o: tab833.c code.aj833
+tabepson.o: tabepson.c
+tabitoh.o: tabitoh.c code.itoh
+tabitoh12.o: tabitoh12.c code.itoh
+tablpr.o: tablpr.c
+tabnec-t.o: tabnec-t.c
+tabnec.o: tabnec.c code.nec
+tabnec12.o: tabnec12.c code.nec
+tabnec25-t.o: tabnec25-t.c
+tabqume.o: tabqume.c
+tabqume12.o: tabqume12.c
+tabx-ecs.o: tabx-ecs.c code.x-ecs
+tabx-ecs12.o: tabx-ecs12.c code.x-ecs
+tabxerox.o: tabxerox.c code.xerox
+tabxerox12.o: tabxerox12.c code.xerox
 
 
-clean:
-       rm -f tab*.o errs
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index eb11203..2aaefce 100644 (file)
@@ -1,5 +1,39 @@
 #
 #
-#      @(#)Makefile    5.1 %G%
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
 #
 #
-mkfont: mkfont.o
-       cc mkfont.o -o mkfont
+#      @(#)Makefile    5.2     (Berkeley)      %G%
+#
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  mkfont.c
+OBJS=  mkfont.o
+
+all: mkfont
+
+mkfont: ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${OBJS}
+
+clean: FRC
+       rm -f ${OBJS} core mkfont
+
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+mkfont.o: mkfont.c mkfont1.c
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index e0239d4..3cc237c 100644 (file)
@@ -1,18 +1,36 @@
-#      Makefile        4.2     87/05/31
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    4.3     (Berkeley)      %G%
+#
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  t0.c t1.c t2.c t3.c t4.c t5.c t6.c t7.c t8.c t9.c tb.c tc.c te.c \
+       tf.c tg.c ti.c tm.c ts.c tt.c tu.c tv.c
+OBJS=  t0.o t1.o t2.o t3.o t4.o t5.o t6.o t7.o t8.o t9.o tb.o tc.o te.o \
+       tf.o tg.o ti.o tm.o ts.o tt.o tu.o tv.o
 
 
-CFLAGS=-O
-o = t0.o t1.o t2.o t3.o t4.o t5.o t6.o t7.o t8.o t9.o\
-    tb.o tc.o te.o tf.o tg.o ti.o tm.o ts.o tt.o tu.o tv.o
+all: tbl
 
 
-tbl :  $o
-       $(CC) $o -o tbl
-$o :   t..c
+tbl: ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${OBJS}
 
 
-install: 
-       install -s tbl $(DESTDIR)/usr/bin
+clean: FRC
+       rm -f ${OBJS} core tbl
 
 
-clean :
-       rm -f *.o
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o bin -g bin -m 755 tbl ${DESTDIR}/usr/bin/tbl
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
 
 test:
        sh compr sample01
 
 test:
        sh compr sample01
@@ -64,10 +82,35 @@ test:
        sh compr sample47
        sh compnr sample48
        sh compeq /usr/doc/mel/tables
        sh compr sample47
        sh compnr sample48
        sh compeq /usr/doc/mel/tables
+
 ichk: /usr/bin/tbl
        /usr/bin/tbl sample1 >junk1
        cmp -s junk1 out1
 ichk: /usr/bin/tbl
        /usr/bin/tbl sample1 >junk1
        cmp -s junk1 out1
-comp: tbl
-       cmp -s tbl /usr/bin/tbl
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+t0.o: t0.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t1.o: t1.c t..c /usr/include/stdio.h /usr/include/ctype.h /usr/include/signal.h
+t2.o: t2.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t3.o: t3.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t4.o: t4.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t5.o: t5.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t6.o: t6.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t7.o: t7.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t8.o: t8.c t..c /usr/include/stdio.h /usr/include/ctype.h
+t9.o: t9.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tb.o: tb.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tc.o: tc.c t..c /usr/include/stdio.h /usr/include/ctype.h
+te.o: te.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tf.o: tf.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tg.o: tg.c t..c /usr/include/stdio.h /usr/include/ctype.h
+ti.o: ti.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tm.o: tm.c t..c /usr/include/stdio.h /usr/include/ctype.h
+ts.o: ts.c
+tt.o: tt.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tu.o: tu.c t..c /usr/include/stdio.h /usr/include/ctype.h
+tv.o: tv.c t..c /usr/include/stdio.h /usr/include/ctype.h
 
 
-depend:
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 697b76b..8c841ef 100644 (file)
@@ -1,4 +1,4 @@
-#      Makefile        4.9     87/05/31
+#      Makefile        4.10    87/06/18
 #
 CFLAGS=        -O
 ALL=   tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \
 #
 CFLAGS=        -O
 ALL=   tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \
index 6477026..cb0277e 100644 (file)
@@ -1,55 +1,90 @@
-#      @(#)Makefile    4.7     %G%
-
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    4.8     (Berkeley)      %G%
+#
 # The word lists may be extended by adding special words.
 # The set of files containing words to be added are defined
 # The word lists may be extended by adding special words.
 # The set of files containing words to be added are defined
-# by SPECIAL below. By default we add commands and library
-# function names defined in /usr/man/man[1238n]. The word
-# lists also may be extended by adding local words. The set
+# by SPECIAL below.  By default we add commands and library
+# function names defined in /usr/man/man[1238n].  The word
+# lists also may be extended by adding local words.  The set
 # of files containing words to be added are defined by LOCAL
 # of files containing words to be added are defined by LOCAL
-# below. Typically these lists reside in /usr/local/dict.
-
-SPECIAL=special.4bsd
-LOCAL=
-
-CFLAGS= -O
-
-all:   spell hlist hlista hlistb hstop spellin spellout
-
-install:       all
-       install -s spell $(DESTDIR)/usr/lib
-       install -s spellin ${DESTDIR}/usr/bin
-       install -s spellout ${DESTDIR}/usr/bin
-       install -c spell.sh $(DESTDIR)/usr/bin/spell
-       install -m 444 hlista $(DESTDIR)/usr/dict
-       install -m 444 hlistb $(DESTDIR)/usr/dict
-       install -m 444 hstop $(DESTDIR)/usr/dict
-       install -m 444 hlist $(DESTDIR)/usr/dict
-       install -m 444 -c words $(DESTDIR)/usr/dict
-       install -m 444 -c american $(DESTDIR)/usr/dict
-       install -m 444 -c british $(DESTDIR)/usr/dict
-       install -m 444 -c stop $(DESTDIR)/usr/dict
-       install -m 444 -c README $(DESTDIR)/usr/dict
-       -mkdir $(DESTDIR)/usr/dict/special
-       install -m 444 -c special.4bsd $(DESTDIR)/usr/dict/special/4bsd
-       install -m 444 -c special.math $(DESTDIR)/usr/dict/special/math
-
-clean: 
-       rm -f *.o spell spellin hlista hlistb hlist hstop spellout
-
-spell: spell.o
-       cc spell.o -o spell
-spellin: spellin.o
-       cc spellin.o -o spellin
-spellout: spellout.o
-       cc spellout.o -o spellout
+# below.  Typically these lists reside in /usr/local/dict.
+
+SPECIAL=       special.4bsd
+
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  spell.c spellin.c spellout.c
+OBJS=  spell.o spellin.o spellout.o
+
+all: spell hlist hlista hlistb hstop spellin spellout
+
+spell: spell.c
+       ${CC} ${CFLAGS} spell.c -o $@
+
+spellin: spellin.c
+       ${CC} ${CFLAGS} spellin.c -o $@
+
+spellout: spellout.c
+       ${CC} ${CFLAGS} spellout.c -o $@
 
 hlist: /usr/dict/words spellin
 
 hlist: /usr/dict/words spellin
-       spellin <words >hlist
-hlista: american $(SPECIAL) $(LOCAL) hlist spellin
-       (cat american $(SPECIAL) $(LOCAL))|spellin hlist >hlista
-hlistb: british $(SPECIAL) $(LOCAL) hlist spellin
-       (cat british $(SPECIAL) $(LOCAL))|spellin hlist >hlistb
+       spellin < words >hlist
+
+hlista: american ${SPECIAL} ${LOCAL} hlist spellin
+       (cat american ${SPECIAL} ${LOCAL}) | spellin hlist > hlista
+
+hlistb: british ${SPECIAL} ${LOCAL} hlist spellin
+       (cat british ${SPECIAL} ${LOCAL}) | spellin hlist > hlistb
+
 hstop: stop spellin
 hstop: stop spellin
-       spellin <stop >hstop
+       spellin < stop >hstop
+
+clean: FRC
+       rm -f ${OBJS} core spell spellin hlista hlistb hlist hstop spellout
+
+depend: FRC
+       mkdep -p ${CFLAGS} ${SRCS}
+
+install: FRC
+       -mkdir ${DESTDIR}/usr/dict/special > /dev/null 2>&1
+       install -s -o bin -g bin -m 755 spell ${DESTDIR}/usr/lib/spell
+       install -s -o bin -g bin -m 755 spellin ${DESTDIR}/usr/bin/spellin
+       install -s -o bin -g bin -m 755 spellout ${DESTDIR}/usr/bin/spellout
+       install -c -o bin -g bin -m 755 spell.sh ${DESTDIR}/usr/bin/spell
+       install -o bin -g bin -m 444 hlista ${DESTDIR}/usr/dict/hlista
+       install -o bin -g bin -m 444 hlistb ${DESTDIR}/usr/dict/hlistb
+       install -o bin -g bin -m 444 hstop ${DESTDIR}/usr/dict/hstop
+       install -o bin -g bin -m 444 hlist ${DESTDIR}/usr/dict/hlist
+       install -c -o bin -g bin -m 444 words ${DESTDIR}/usr/dict/words
+       install -c -o bin -g bin -m 444 american ${DESTDIR}/usr/dict/american
+       install -c -o bin -g bin -m 444 british ${DESTDIR}/usr/dict/british
+       install -c -o bin -g bin -m 444 stop ${DESTDIR}/usr/dict/stop
+       install -c -o bin -g bin -m 444 README ${DESTDIR}/usr/dict/README
+       install -c -o bin -g bin -m 444 special.4bsd ${DESTDIR}/usr/dict/special/4bsd
+       install -c -o bin -g bin -m 444 special.math ${DESTDIR}/usr/dict/special/math
+
+lint: FRC
+       lint ${CFLAGS} spell.c
+       lint ${CFLAGS} spellin.c
+       lint ${CFLAGS} spellout.c
+
+tags: FRC
+       ctags spell.c
+       ctags -a spellin.c
+       ctags -a spellout.c
+       sort -o tags tags
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+spell: spell.c spell.h /usr/include/stdio.h /usr/include/ctype.h
+spellin: spellin.c spell.h /usr/include/stdio.h /usr/include/ctype.h
+spellout: spellout.c spell.h /usr/include/stdio.h /usr/include/ctype.h
 
 
-depend:
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 15ca7d1..2286905 100644 (file)
@@ -1,60 +1,99 @@
-#      Makefile        4.4     87/05/31
 #
 #
-DESTDIR=
-CFLAGS=-O
-YFLAGS=-d
-0FILES.c = 0.alloc.c 0.args.c 0.def.c 0.extr.c 0.graph.c 0.list.c 0.parts.c 0.string.c
-0FILES.o = 0.alloc.o 0.args.o 0.def.o 0.extr.o 0.graph.o 0.list.o 0.parts.o 0.string.o
-
-1FILES.c = 1.finish.c 1.form.c 1.fort.c 1.hash.c 1.init.c 1.line.c 1.main.c 1.node.c 1.recog.c 1.tables.c
-1FILES.o = 1.finish.o 1.form.o 1.fort.o 1.hash.o 1.init.o 1.line.o 1.main.o 1.node.o 1.recog.o 1.tables.o
-
-2FILES.c = 2.dfs.c 2.dom.c 2.head.c 2.inarc.c 2.main.c 2.tree.c
-2FILES.o = 2.dfs.o 2.dom.o 2.head.o 2.inarc.o 2.main.o 2.tree.o
-
-3FILES.c = 3.branch.c 3.flow.c 3.loop.c 3.main.c 3.reach.c 3.then.c
-3FILES.o = 3.branch.o 3.flow.o 3.loop.o 3.main.o 3.reach.o 3.then.o
-
-4FILES.c = 4.brace.c 4.form.c 4.main.c 4.out.c
-4FILES.o = 4.brace.o 4.form.o 4.main.o 4.out.o
-
-HDRS = 1.defs.h 1.incl.h 2.def.h 3.def.h 4.def.h b.h def.h
-MSRCS = bdef.c main.c tree.c Makefile beauty.y lextab.l struct
-
-SRCS = $(0FILES.c) $(1FILES.c) $(2FILES.c) \
-       $(3FILES.c) $(4FILES.c) $(HDRS) $(MSRCS)
-
-all:   structure beautify
-
-install: structure beautify struct
-       install -s structure $(DESTDIR)/usr/lib/struct
-       install -s beautify $(DESTDIR)/usr/lib/struct
-       install -c struct $(DESTDIR)/usr/bin
-clean:
-       rm -f *.o y.tab.h beauty.c structure beautify
-
-structure: main.o $(0FILES.o) $(1FILES.o) $(2FILES.o) $(3FILES.o) $(4FILES.o)
-       cc -o structure main.o 0.*.o 1.*.o 2.*.o 3.*.o 4.*.o 
-
-beautify:      beauty.o tree.o lextab.o bdef.o
-       cc -O beauty.o tree.o lextab.o bdef.o -o beautify -lln
-
-lint:
-       lint $(0FILES.c) $(1FILES.c) $(2FILES.c) $(3FILES.c) $(4FILES.c) main.c
-
-main.o $(0FILES.o) $(1FILES.o) $(2FILES.o) $(3FILES.o) $(4FILES.o): def.h
-
-$(1FILES.o): 1.defs.h 1.incl.h
-$(2FILES.o): 2.def.h
-$(3FILES.o): 3.def.h
-$(4FILES.o): 4.def.h
-
-lextab.o tree.o: y.tab.h
-
-y.tab.h: beauty.y
-
-lextab.o tree.o beauty.y: b.h
-
-y.tab.h:       beauty.c
-
-depend:
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    4.5     (Berkeley)      %G%
+#
+CFLAGS=        -O
+YFLAGS=        -d
+LIBC=  /lib/libc.a
+BSRCS= beauty.c tree.c lextab.c bdef.c
+BOBJS= beauty.o tree.o lextab.o bdef.o
+SSRCS= 0.alloc.c 0.args.c 0.def.c 0.extr.c 0.graph.c 0.list.c 0.parts.c \
+       0.string.c 1.finish.c 1.form.c 1.fort.c 1.hash.c 1.init.c 1.line.c \
+       1.main.c 1.node.c 1.recog.c 1.tables.c 2.dfs.c 2.dom.c 2.head.c \
+       2.inarc.c 2.main.c 2.tree.c 3.branch.c 3.flow.c 3.loop.c 3.main.c \
+       3.reach.c 3.then.c 4.brace.c 4.form.c 4.main.c 4.out.c main.c
+SOBJS= 0.alloc.o 0.args.o 0.def.o 0.extr.o 0.graph.o 0.list.o 0.parts.o \
+       0.string.o 1.finish.o 1.form.o 1.fort.o 1.hash.o 1.init.o 1.line.o \
+       1.main.o 1.node.o 1.recog.o 1.tables.o 2.dfs.o 2.dom.o 2.head.o \
+       2.inarc.o 2.main.o 2.tree.o 3.branch.o 3.flow.o 3.loop.o 3.main.o \
+       3.reach.o 3.then.o 4.brace.o 4.form.o 4.main.o 4.out.o main.o
+SRCS=  ${BSRCS} ${SSRCS}
+OBJS=  ${BOBJS} ${SOBJS}
+
+all: beautify structure
+
+beautify: ${BOBJS} ${LIBC}
+       ${CC} ${CFLAGS} ${BOBJS} -o $@ -lln
+
+structure: ${SOBJS} ${LIBC}
+       ${CC} ${CFLAGS} ${SOBJS} -o $@
+
+clean: FRC
+       rm -f ${OBJS} core beauty.c structure beautify y.tab.h lextab.c
+
+depend: ${SRCS} FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o bin -g bin -m 755 structure $(DESTDIR)/usr/lib/struct/structure
+       install -s -o bin -g bin -m 755 beautify $(DESTDIR)/usr/lib/struct/beautify
+       install -c -o bin -g bin -m 755 struct $(DESTDIR)/usr/bin/struct
+
+lint: ${SRCS} FRC
+       lint ${CFLAGS} ${BSRCS}
+       lint ${CFLAGS} ${SSRCS}
+
+tags: ${SRCS} FRC
+       ctags ${BSRCS}
+       ctags -a ${SSRCS}
+       sort -o tags tags
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+beauty.o: beauty.c b.h /usr/include/stdio.h /usr/include/signal.h
+tree.o: tree.c y.tab.h b.h /usr/include/stdio.h
+lextab.o: lextab.c /usr/include/stdio.h y.tab.h b.h
+bdef.o: bdef.c
+0.alloc.o: 0.alloc.c /usr/include/stdio.h def.h
+0.args.o: 0.args.c /usr/include/stdio.h def.h
+0.def.o: 0.def.c /usr/include/stdio.h def.h
+0.extr.o: 0.extr.c /usr/include/stdio.h def.h
+0.graph.o: 0.graph.c /usr/include/stdio.h def.h
+0.list.o: 0.list.c /usr/include/stdio.h def.h
+0.parts.o: 0.parts.c /usr/include/stdio.h def.h
+0.string.o: 0.string.c /usr/include/stdio.h def.h 1.defs.h
+1.finish.o: 1.finish.c /usr/include/stdio.h def.h 1.incl.h
+1.form.o: 1.form.c /usr/include/stdio.h 1.defs.h def.h
+1.fort.o: 1.fort.c /usr/include/stdio.h 1.incl.h 1.defs.h def.h
+1.hash.o: 1.hash.c /usr/include/stdio.h 1.incl.h 1.defs.h def.h
+1.init.o: 1.init.c /usr/include/stdio.h 1.defs.h 1.incl.h def.h
+1.line.o: 1.line.c /usr/include/stdio.h def.h
+1.main.o: 1.main.c /usr/include/stdio.h def.h
+1.node.o: 1.node.c /usr/include/stdio.h def.h 1.incl.h
+1.recog.o: 1.recog.c /usr/include/stdio.h 1.incl.h def.h
+1.tables.o: 1.tables.c /usr/include/stdio.h
+2.dfs.o: 2.dfs.c /usr/include/stdio.h def.h 2.def.h
+2.dom.o: 2.dom.c /usr/include/stdio.h def.h 2.def.h
+2.head.o: 2.head.c /usr/include/stdio.h def.h 2.def.h
+2.inarc.o: 2.inarc.c /usr/include/stdio.h def.h 2.def.h
+2.main.o: 2.main.c /usr/include/stdio.h def.h 2.def.h
+2.tree.o: 2.tree.c /usr/include/stdio.h def.h 2.def.h
+3.branch.o: 3.branch.c /usr/include/stdio.h def.h 3.def.h
+3.flow.o: 3.flow.c /usr/include/stdio.h def.h 3.def.h
+3.loop.o: 3.loop.c /usr/include/stdio.h def.h 3.def.h
+3.main.o: 3.main.c /usr/include/stdio.h def.h
+3.reach.o: 3.reach.c /usr/include/stdio.h def.h
+3.then.o: 3.then.c /usr/include/stdio.h def.h 3.def.h
+4.brace.o: 4.brace.c /usr/include/stdio.h def.h 4.def.h 3.def.h
+4.form.o: 4.form.c /usr/include/stdio.h def.h 4.def.h
+4.main.o: 4.main.c /usr/include/stdio.h def.h 4.def.h
+4.out.o: 4.out.c /usr/include/stdio.h def.h 4.def.h 3.def.h
+main.o: main.c /usr/include/signal.h /usr/include/stdio.h 1.defs.h def.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 3e40528..c20a178 100644 (file)
@@ -1,9 +1,9 @@
 #
 #
-# Copyright (c) 1983 Regents of the University of California.
+# Copyright (c) 1987 Regents of the University of California.
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)Makefile    5.3 (Berkeley) %G%
+#      @(#)Makefile    5.4     (Berkeley)      %G%
 #
 # make file for intermachine communications package
 #
 #
 # make file for intermachine communications package
 #
 #                              writes on local side
 #      BUFSIZ                  buffer sizing from stdio, must be fed
 #                              explicitly to remcap.c if not 1024
 #                              writes on local side
 #      BUFSIZ                  buffer sizing from stdio, must be fed
 #                              explicitly to remcap.c if not 1024
-
 ADM=   usr/adm
 ADM=   usr/adm
-OWNER= uucp
-GROUP= daemon
 CONFIG=        -DV831 -DVENTEL -DHAYES -DCOURIER
 CFLAGS=        -O -DDEFBR=1200 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE
 CONFIG=        -DV831 -DVENTEL -DHAYES -DCOURIER
 CFLAGS=        -O -DDEFBR=1200 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE
-LDFLAGS=
-OBJS=  acu.o cmds.o cmdtab.o cu.o hunt.o \
-       log.o partab.o remote.o tip.o tipout.o value.o vars.o
-SPECIAL=acutab.c remcap.c uucplock.c
-DRIVERS=aculib/*.c
-SOURCES=acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c \
-       log.c partab.c remote.c tip.c tipout.c value.c vars.c \
-       ${SPECIAL} ${DRIVERS}
-CXREF= /usr/ucb/ctags -xw
+LIBC=  /lib/libc.a
+SRCS=  acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c remcap.c \
+       remote.c tip.c tipout.c uucplock.c value.c vars.c
+OBJS=  acu.o acutab.o cmds.o cmdtab.o cu.o hunt.o log.o partab.o remcap.o \
+       remote.o tip.o tipout.o uucplock.o value.o vars.o
 
 
-tip:   ${OBJS} acutab.o remcap.o uucplock.o aculib/aculib.a
-       ${CC} -o tip ${LDFLAGS} ${OBJS} acutab.o remcap.o uucplock.o \
-               aculib/aculib.a
+all: aculib/aculib.a tip
 
 
-${OBJS}: tip.h
+tip: ${OBJS} ${LIBC}
+       ${CC} -o $@ ${OBJS} aculib/aculib.a
 
 remcap.o: remcap.c
        ${CC} -c -DBUFSIZ=1024 ${CFLAGS} remcap.c
 
 
 remcap.o: remcap.c
        ${CC} -c -DBUFSIZ=1024 ${CFLAGS} remcap.c
 
-depend:
-
 # acutab is configuration dependent, and so depends on the makefile
 acutab.o: Makefile
 acutab.o: acutab.c
        ${CC} -c ${CFLAGS} ${CONFIG} acutab.c
 
 # remote.o depends on the makefile because of DEFBR and DEFFS
 # acutab is configuration dependent, and so depends on the makefile
 acutab.o: Makefile
 acutab.o: acutab.c
        ${CC} -c ${CFLAGS} ${CONFIG} acutab.c
 
 # remote.o depends on the makefile because of DEFBR and DEFFS
-remote.o: Makefile
-
 # log.o depends on the makefile because of ACULOG
 # log.o depends on the makefile because of ACULOG
-log.o: Makefile
+log.o remote.o: Makefile
 
 
-aculib/aculib.a: ${DRIVERS}
+aculib/aculib.a: FRC
        cd aculib; make ${MFLAGS}
 
        cd aculib; make ${MFLAGS}
 
-install: tip
-       install -s -m 4711 -o ${OWNER} -g ${GROUP} tip ${DESTDIR}/usr/bin/tip
+clean: FRC
+       rm -f ${OBJS} core tip
+       cd aculib; make ${MFLAGS} clean
+
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+       cd aculib; make ${MFLAGS} depend
+
+install: FRC
+       cd aculib; make ${MFLAGS} install
+       install -s -o uucp -g daemon -m 4711 tip ${DESTDIR}/usr/bin/tip
        rm -f ${DESTDIR}/usr/bin/cu
        ln ${DESTDIR}/usr/bin/tip ${DESTDIR}/usr/bin/cu
 #      cp /dev/null ${DESTDIR}/${ADM}/aculog
        rm -f ${DESTDIR}/usr/bin/cu
        ln ${DESTDIR}/usr/bin/tip ${DESTDIR}/usr/bin/cu
 #      cp /dev/null ${DESTDIR}/${ADM}/aculog
@@ -85,19 +82,80 @@ install: tip
 #      chmod 600 ${DESTDIR}/${ADM}/aculog
 #      @echo "create /etc/remote and /etc/phones"
 
 #      chmod 600 ${DESTDIR}/${ADM}/aculog
 #      @echo "create /etc/remote and /etc/phones"
 
-tags:  ${SOURCES} tip.h
-       ctags -w ${SOURCES} tip.h
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
 
 
-clean:
-       cd aculib; make ${MFLAGS} clean
-       rm -f tip cu *.o
+tags: FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
 
 
-print:
-       @pr README TODO makefile
-       @size *.o | pr -h SIZES
-       @${CXREF} tip.h ${SOURCES} | pr -h XREF
-       @ls -l | pr 
-       @pr tip.h ${SOURCES}
+acu.o: acu.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+acu.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+acu.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+acu.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+acu.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+acutab.o: acutab.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+acutab.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+acutab.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+acutab.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+acutab.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+cmds.o: cmds.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+cmds.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+cmds.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+cmds.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+cmds.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+cmdtab.o: cmdtab.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+cmdtab.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+cmdtab.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+cmdtab.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+cmdtab.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+cu.o: cu.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+cu.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
+cu.o: /usr/include/sys/ttydev.h /usr/include/signal.h /usr/include/stdio.h
+cu.o: /usr/include/pwd.h /usr/include/ctype.h /usr/include/setjmp.h
+cu.o: /usr/include/errno.h
+hunt.o: hunt.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+hunt.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+hunt.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+hunt.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+hunt.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+log.o: log.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+log.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+log.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+log.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+log.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+partab.o: partab.c
+remcap.o: remcap.c /usr/include/sys/file.h /usr/include/ctype.h
+remote.o: remote.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+remote.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+remote.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+remote.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+remote.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+tip.o: tip.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+tip.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+tip.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+tip.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+tip.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+tipout.o: tipout.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+tipout.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+tipout.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+tipout.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+tipout.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+uucplock.o: uucplock.c /usr/include/sys/types.h /usr/include/sys/stat.h
+uucplock.o: /usr/include/stdio.h
+value.o: value.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+value.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+value.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+value.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+value.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+vars.o: vars.c tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+vars.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+vars.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+vars.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+vars.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
 
 
-lint:
-       -lint -hbacvx ${CFLAGS} ${SOURCES}
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 32dd449..bea3983 100644 (file)
@@ -1,9 +1,9 @@
 #
 #
-# Copyright (c) 1983 Regents of the University of California.
+# Copyright (c) 1987 Regents of the University of California.
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)Makefile    5.2 (Berkeley) %G%
+#      @(#)Makefile    5.3     (Berkeley)      %G%
 #
 # make file for tip device drivers
 #
 #
 # make file for tip device drivers
 #
 #      VENTEL 212+ (w/o echo)
 #      VADIC 831 RS232 adaptor
 #      VADIC 3451
 #      VENTEL 212+ (w/o echo)
 #      VADIC 831 RS232 adaptor
 #      VADIC 3451
-
-CFLAGS=        -O -I../
+CFLAGS=        -O -I..
+LIBC=  /lib/libc.a
+SRCS=  biz22.c biz31.c courier.c df.c dn11.c hayes.c ventel.c v831.c v3451.c
 OBJS=  biz22.o biz31.o courier.o df.o dn11.o hayes.o ventel.o v831.o v3451.o
 
 OBJS=  biz22.o biz31.o courier.o df.o dn11.o hayes.o ventel.o v831.o v3451.o
 
+all: aculib.a
+
 aculib.a: ${OBJS}
 aculib.a: ${OBJS}
-       ar cu aculib.a *.o
+       ar cu aculib.a ${OBJS}
        ranlib aculib.a
 
        ranlib aculib.a
 
-${OBJS}: ../tip.h
+clean: FRC
+       rm -f ${OBJS} core aculib.a
+
+depend: FRC
+       mkdep ${CFLAGS} ${SRCS}
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
+
+install:
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+biz22.o: biz22.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+biz22.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+biz22.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+biz22.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+biz22.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+biz31.o: biz31.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+biz31.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+biz31.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+biz31.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+biz31.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+courier.o: courier.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+courier.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+courier.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+courier.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+courier.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+courier.o: /usr/include/stdio.h /usr/include/sys/time.h /usr/include/time.h
+df.o: df.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+df.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
+df.o: /usr/include/sys/ttydev.h /usr/include/signal.h /usr/include/stdio.h
+df.o: /usr/include/pwd.h /usr/include/ctype.h /usr/include/setjmp.h
+df.o: /usr/include/errno.h
+dn11.o: dn11.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+dn11.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+dn11.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+dn11.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+dn11.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+hayes.o: hayes.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+hayes.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+hayes.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+hayes.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+hayes.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+ventel.o: ventel.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+ventel.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+ventel.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+ventel.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+ventel.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
+v831.o: v831.c /usr/include/sys/time.h /usr/include/time.h ../tip.h
+v831.o: /usr/include/sys/types.h /usr/include/sys/file.h /usr/include/sgtty.h
+v831.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
+v831.o: /usr/include/sys/ttydev.h /usr/include/signal.h /usr/include/stdio.h
+v831.o: /usr/include/pwd.h /usr/include/ctype.h /usr/include/setjmp.h
+v831.o: /usr/include/errno.h
+v3451.o: v3451.c ../tip.h /usr/include/sys/types.h /usr/include/sys/file.h
+v3451.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+v3451.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+v3451.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/pwd.h
+v3451.o: /usr/include/ctype.h /usr/include/setjmp.h /usr/include/errno.h
 
 
-clean:
-       rm -f aculib.a *.o core errs a.out
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY