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