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