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