aboutsummaryrefslogtreecommitdiff
path: root/bin/ksh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/Makefile')
-rw-r--r--bin/ksh/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/ksh/Makefile b/bin/ksh/Makefile
new file mode 100644
index 0000000..8b38bfd
--- /dev/null
+++ b/bin/ksh/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.33 2016/03/30 06:38:40 jmc Exp $
+
+.TOPDIR?=../..
+
+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 path.c shf.c syn.c table.c trap.c tree.c tty.c var.c \
+ version.c vi.c
+
+DEFS= -Wall
+CFLAGS+=${DEFS} -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libopenbsd/gen
+MAN= ksh.1 sh.1
+
+LINKS= ${BINDIR}/ksh ${BINDIR}/rksh
+LINKS+= ${BINDIR}/ksh ${BINDIR}/sh
+
+include ${.TOPDIR}/mk/bsd.prog.mk