Add the source code for /usr/src/usr.bin from the Net/2 tape
[unix-history] / usr / src / share / tmac / Makefile
index e631cf3..920d59c 100644 (file)
@@ -1,21 +1,24 @@
-#
-# 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    6.3     (Berkeley)      %G%
-#
-CFLAGS=        -O
-LIBC=  /lib/libc.a
-SRCS=  tmac.an tmac.an.new tmac.an6n tmac.an6t
+#      @(#)Makefile    6.13 (Berkeley) 3/20/91
 
 
-all:
+BINDIR= /usr/share
+FILES= tmac.andoc tmac.doc.old
+MSRCS=  doc doc-ditroff doc-common doc-nroff doc-syms
+LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
+NOOBJ= noobj
 
 
-install: FRC
-       for i in ${SRCS}; do \
-               (install -c -o bin -g bin -m 644 $$i ${DESTDIR}/usr/lib/tmac/$$i); \
+# old macros not currently installed...
+OFILES=        tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp
+
+all clean cleandir depend lint tags:
+
+beforeinstall:
+       for i in ${MSRCS}; do \
+               sed -f strip.sed < $$i > ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
+               chown ${BINOWN}.${BINGRP} ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
+               chmod 444 ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
        done
        done
+       install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${FILES} \
+               ${DESTDIR}${BINDIR}/tmac
+
 
 
-clean:
-depend:
-FRC:
+.include <bsd.prog.mk>