date and time created 87/11/04 20:46:39 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 5 Nov 1987 12:46:39 +0000 (04:46 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 5 Nov 1987 12:46:39 +0000 (04:46 -0800)
SCCS-vsn: old/vpr/vtools/Makefile 6.1

usr/src/old/vpr/vtools/Makefile [new file with mode: 0644]

diff --git a/usr/src/old/vpr/vtools/Makefile b/usr/src/old/vpr/vtools/Makefile
new file mode 100644 (file)
index 0000000..a316e36
--- /dev/null
@@ -0,0 +1,64 @@
+#
+# 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.1     (Berkeley)      %G%
+#
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  fcvt.c rotate.c rotprt.c vfontinfo.c vfw.c vwidth.c
+OBJS=  fcvt.o rotate.o rotprt.o vfontinfo.o vfw.o vwidth.o
+ALL=   fcvt rotate rotprt vfontinfo vfw vwidth
+
+all: ${ALL}
+
+fcvt: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} fcvt.c
+rotate: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} rotate.c
+rotprt: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} rotprt.c
+vfontinfo: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} vfontinfo.c
+vfw: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} vfw.c
+vwidth: ${LIBC}
+       ${CC} -o $@ ${CFLAGS} vwidth.c
+
+clean: FRC
+       rm -f ${OBJS} core ${ALL}
+
+depend: FRC
+       mkdep -p ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o bin -g bin -m 755 fcvt ${DESTDIR}/usr/old/fcvt
+       install -s -o bin -g bin -m 755 rotate ${DESTDIR}/usr/old/rotate
+       install -s -o bin -g bin -m 755 rotprt ${DESTDIR}/usr/old/rotprt
+       install -s -o bin -g bin -m 755 vfontinfo ${DESTDIR}/usr/old/vfontinfo
+       install -s -o bin -g bin -m 755 vfw ${DESTDIR}/usr/old/vfw
+       install -s -o bin -g bin -m 755 vwdith ${DESTDIR}/usr/old/vwdith
+
+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.
+
+fcvt: fcvt.c /usr/include/stdio.h /usr/include/vfont.h
+rotate: rotate.c /usr/include/stdio.h /usr/include/vfont.h
+rotate: /usr/include/sys/types.h /usr/include/sys/stat.h
+rotprt: rotprt.c /usr/include/stdio.h /usr/include/vfont.h
+rotprt: /usr/include/sys/types.h /usr/include/sys/stat.h
+vfontinfo: vfontinfo.c /usr/include/stdio.h /usr/include/ctype.h
+vfontinfo: /usr/include/vfont.h
+vfw: vfw.c /usr/include/stdio.h
+vwidth: vwidth.c /usr/include/stdio.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY