summaryrefslogtreecommitdiff
path: root/bin/ksh/Makefile
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-08-14 06:19:13 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-08-14 06:19:13 +0000
commit3039b959c7de1e35fe4ec27ae02f1c8fe8d4d4ac (patch)
tree09c6b5a4f13282e07afe153445fcfaa0d10651f4 /bin/ksh/Makefile
parent596c2317eee31ab9606c6b88085644407d4d2f0f (diff)
Import pdksh 5.2.7.
Diffstat (limited to 'bin/ksh/Makefile')
-rw-r--r--bin/ksh/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/ksh/Makefile b/bin/ksh/Makefile
new file mode 100644
index 00000000000..81c43a87198
--- /dev/null
+++ b/bin/ksh/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.1 1996/08/14 06:19:12 downsj Exp $
+
+PROG= ksh
+SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c \
+ eval.c exec.c expr.c history.c io.c jobs.c lex.c mail.c \
+ main.c misc.c missing.c path.c shf.c sigact.c syn.c table.c trap.c \
+ tree.c tty.c var.c version.c vi.c
+
+DEFS= -DHAVE_CONFIG_H
+CFLAGS+=${DEFS} -I. -I${.CURDIR}
+
+CLEANFILES+= siglist.out emacs.out
+
+.depend trap.o: siglist.out
+.depend emacs.o: emacs.out
+
+siglist.out: config.h sh.h siglist.in siglist.sh
+ ${.CURDIR}/siglist.sh "${CPP} ${CPPFLAGS} ${DEFS} -I${.CURDIR}" \
+ < ${.CURDIR}/siglist.in > siglist.out
+
+emacs.out:
+ ${.CURDIR}/emacs-gen.sh ${.CURDIR}/emacs.c > emacs.out
+
+.include <bsd.prog.mk>