sync
[bitrig.git] / bin / ksh / Makefile
blob360cc5cc6b1124d50c03c964436a477ddcdadf54
1 # $OpenBSD: Makefile,v 1.27 2009/03/03 20:01:01 millert Exp $
3 PROG= ksh
4 SRCS= alloc.c c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c emacs.c eval.c \
5 exec.c expr.c history.c io.c jobs.c lex.c mail.c main.c mknod.c \
6 misc.c path.c shf.c syn.c table.c trap.c tree.c tty.c var.c \
7 version.c vi.c
9 DEFS= -Wall
10 CFLAGS+=${DEFS} -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/gen
11 MAN= ksh.1 sh.1
13 LINKS= ${BINDIR}/ksh ${BINDIR}/rksh
14 LINKS+= ${BINDIR}/ksh ${BINDIR}/sh
15 MLINKS= ksh.1 rksh.1
17 check test:
18 /usr/bin/perl ${.CURDIR}/tests/th -s ${.CURDIR}/tests -p ./ksh -C \
19 pdksh,sh,ksh,posix,posix-upu
21 .include <bsd.prog.mk>