1 1.1 jtc CFLAGS+= -DHAVE_CONFIG_H -I. 2 1.1 jtc 3 1.1 jtc PROG= ksh 4 1.1 jtc SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \ 5 1.1 jtc eval.c exec.c expr.c history.c io.c jobs.c lex.c mail.c \ 6 1.2 jtc main.c misc.c path.c shf.c sigact.c syn.c table.c trap.c \ 7 1.1 jtc tree.c tty.c var.c version.c vi.c 8 1.1 jtc CLEANFILES+=emacs.out siglist.out 9 1.1 jtc 10 1.1 jtc beforedepend: emacs.out siglist.out 11 1.1 jtc 12 1.1 jtc # two steps to prevent the creation of a bogus siglist.out 13 1.1 jtc siglist.out: config.h sh.h siglist.in siglist.sh 14 1.1 jtc $(.CURDIR)/siglist.sh "$(CPP) $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > tmpsiglist.out 15 1.1 jtc mv tmpsiglist.out siglist.out 16 1.1 jtc 17 1.1 jtc # two steps to prevent the creation of a bogus emacs.out 18 1.1 jtc emacs.out: emacs.c 19 1.1 jtc $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > tmpemacs.out 20 1.1 jtc mv tmpemacs.out emacs.out 21 1.1 jtc 22 1.1 jtc emacs.o: emacs.out 23 1.1 jtc trap.o: siglist.out 24 1.1 jtc 25 1.1 jtc .include <bsd.prog.mk> 26