1# @(#)Makefile 4.14 (Berkeley) 04/30/91 2 3CFLAGS+=-I${.CURDIR}/../common_source 4DEST= /usr/old/libdata/term 5PROGS= tab300 tab300-12 tab302 tab302-12 tab37 tab382 tab382-12 tab450 \ 6 tab450-12 tab833 tab833-12 tabepson tabitoh tabitoh12 tablpr \ 7 tabnec tabnec-t tabnec12 tabnec25-t tabqume tabqume12 tabx-ecs \ 8 tabx-ecs12 tabxerox tabxerox12 9OBJS= ${PROGS:=.o} mktab.o 10SRCS= ${PROGS:=.c} mktab.c 11LINKS= ${DEST}/tablpr ${DEST}/tabtn300 ${DEST}/tablpr ${DEST}/tabcrt \ 12 ${DEST}/tab302 ${DEST}/tab300s ${DEST}/tab302-12 ${DEST}/tab300s-12 \ 13 ${DEST}/tab302 ${DEST}/tabdtc ${DEST}/tab302-12 ${DEST}/tabdtc12 \ 14 ${DEST}/tab450 ${DEST}/tabipsi ${DEST}/tab450-12 ${DEST}/tabipsi12 15BINMODE=444 16NOMAN= noman 17 18all: ${PROGS} 19 20${PROGS}: mktab.o ${.PREFIX}.o 21 ${CC} mktab.o ${.PREFIX}.o -o mktab 22 ./mktab > ${.TARGET} 23 24clean:: 25 rm -f ${OBJS} ${PROGS} mktab a.out Errs errs mklog core 26 27cleandir:: clean 28 rm -f ${.CURDIR}/tags .depend 29 30depend: .depend 31.depend: ${SRCS} mktab.c 32 mkdep ${CFLAGS:M-[ID]*} ${.ALLSRC} 33 34beforeinstall: 35 install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${PROGS} \ 36 ${DESTDIR}${DEST} 37 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/README \ 38 ${DESTDIR}${DEST} 39 40lint: ${SRCS} 41 ${LINT} ${LINTFLAGS} ${CFLAGS} ${.ALLSRC} 42 43tags: ${SRCS} 44 ${CTAGS} -f ${.CURDIR}/tags ${.ALLSRC} 45 46.include <bsd.prog.mk> 47