# # 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) 11/04/87 # 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