date and time created 91/03/03 00:38:20 by donn
[unix-history] / usr / src / contrib / sc / Makefile
CommitLineData
2fda48e9 1# @(#)Makefile 5.2 (Berkeley) %G%
a63f5c90 2
2fda48e9 3PROG= sc
a63f5c90 4
2fda48e9
KB
5#DOBACKUPS backup copy of source files on save
6#IEEE_MATH need setsticky() calls in your signal handlers
7#INTERNATIONAL 8-bit characters
8#SIGVOID signal routines are type void
9#SIMPLE no arrow keys, or lex.c blows up
10#DFLT_PAGER=\"more\"
a63f5c90 11
2fda48e9
KB
12CFLAGS+=-I. -I${.CURDIR} -DBSD43 -DDFLT_PAGER=\"more\" -DSIGVOID
13SRCS= cmds.c crypt.c gram.c help.c interp.c lex.c range.c sc.c \
14 version.c vi.c vmtbl.c xmalloc.c
15OBJS+= gram.o
16DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMCAP}
17LDADD= -lm -lcurses -ltermcap
18CLEANFILES+=experres.h statres.h y.tab.h gram.c
a63f5c90 19
2fda48e9
KB
20experres.h: gram.y
21 sed -f ${.CURDIR}/eres.sed < ${.CURDIR}/gram.y > experres.h
a63f5c90 22
2fda48e9
KB
23statres.h: gram.y
24 sed -f ${.CURDIR}/sres.sed < ${.CURDIR}/gram.y > statres.h
a63f5c90 25
2fda48e9 26.depend: experres.h statres.h
a63f5c90 27
2fda48e9 28.include <bsd.prog.mk>