Makefile revision 1.8
1# $NetBSD: Makefile,v 1.8 1997/07/20 17:41:56 christos Exp $ 2 3WARNS=1 4CFLAGS+= -DHAVE_CONFIG_H -I. 5 6PROG= ksh 7SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \ 8 eval.c exec.c expr.c history.c io.c jobs.c lex.c mail.c \ 9 main.c misc.c path.c shf.c sigact.c syn.c table.c trap.c \ 10 tree.c tty.c var.c version.c vi.c 11DPSRCS= emacs.out siglist.out 12 13# needs tbl for the man page. 14USETBL= 15 16# two steps to prevent the creation of a bogus siglist.out 17siglist.out: config.h sh.h siglist.in siglist.sh 18 sh $(.CURDIR)/siglist.sh "$(CPP) $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > tmpsiglist.out 19 mv tmpsiglist.out siglist.out 20 21# two steps to prevent the creation of a bogus emacs.out 22emacs.out: emacs.c 23 sh $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > tmpemacs.out 24 mv tmpemacs.out emacs.out 25 26.include <bsd.prog.mk> 27