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