Cross Reference: Makefile
xref: /src/bin/ksh/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/bin/ksh/
Makefile revision 1.2
11.1SjtcCFLAGS+=	-DHAVE_CONFIG_H -I.
21.1Sjtc
31.1SjtcPROG=	ksh
41.1SjtcSRCS=	alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \
51.1Sjtc	eval.c exec.c expr.c history.c io.c jobs.c lex.c mail.c \
61.2Sjtc	main.c misc.c path.c shf.c sigact.c syn.c table.c trap.c \
71.1Sjtc	tree.c tty.c var.c version.c vi.c
81.1SjtcCLEANFILES+=emacs.out siglist.out
91.1Sjtc
101.1Sjtcbeforedepend:	emacs.out siglist.out
111.1Sjtc
121.1Sjtc# two steps to prevent the creation of a bogus siglist.out
131.1Sjtcsiglist.out: config.h sh.h siglist.in siglist.sh
141.1Sjtc	$(.CURDIR)/siglist.sh "$(CPP) $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > tmpsiglist.out
151.1Sjtc	mv tmpsiglist.out siglist.out
161.1Sjtc
171.1Sjtc# two steps to prevent the creation of a bogus emacs.out
181.1Sjtcemacs.out: emacs.c
191.1Sjtc	$(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > tmpemacs.out
201.1Sjtc	mv tmpemacs.out emacs.out
211.1Sjtc
221.1Sjtcemacs.o: emacs.out
231.1Sjtctrap.o: siglist.out
241.1Sjtc
251.1Sjtc.include <bsd.prog.mk>
26

Indexes created Thu Dec 04 17:09:29 GMT 2025