Cross Reference: Makefile
xref: /src/bin/ksh/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/bin/ksh/
Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 1997/01/16 21:17:53 perry Exp $
2CFLAGS+=	-DHAVE_CONFIG_H -I.
3
4PROG=	ksh
5SRCS=	alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \
6	eval.c exec.c expr.c history.c io.c jobs.c lex.c mail.c \
7	main.c misc.c path.c shf.c sigact.c syn.c table.c trap.c \
8	tree.c tty.c var.c version.c vi.c
9CLEANFILES+=emacs.out siglist.out
10
11beforedepend:	emacs.out siglist.out
12
13# two steps to prevent the creation of a bogus siglist.out
14siglist.out: config.h sh.h siglist.in siglist.sh
15	sh $(.CURDIR)/siglist.sh "$(CPP) $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > tmpsiglist.out
16	mv tmpsiglist.out siglist.out
17
18# two steps to prevent the creation of a bogus emacs.out
19emacs.out: emacs.c
20	sh $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > tmpemacs.out
21	mv tmpemacs.out emacs.out
22
23emacs.o: emacs.out
24trap.o: siglist.out
25
26.include <bsd.prog.mk>
27

Indexes created Sat Dec 06 05:09:43 GMT 2025