mksh/Makefile
tg b65ac4d1e3 * merge bin and lib completely
* convert some ancient RCSID styles etc. to more modern stuff
* fix use of CDIAGFLAGS+=, CFLAGS+= and COPTS+= to the correct
  variant (include bsd.own.mk _then_ COPTS+=) so they're added
  after any user-specified flags
  (this is probably lurking in more places than I can imagine)
* fix some indenting, comments, etc.
* make stuff compile (fix warnings/errors)
* add script to review _all_ shlib_version after an openbsd import
* remove two more obsolete /usr/lib/debug/ references
* bin/ps: comment out some SMP code
2005-10-21 11:02:33 +00:00

28 lines
779 B
Makefile

# $MirOS: src/bin/ksh/Makefile,v 1.4 2005/08/29 20:54:39 tg Exp $
# $OpenBSD: Makefile,v 1.18 2004/02/16 19:07:19 deraadt 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 main.c misc.c missing.c \
path.c shf.c syn.c table.c trap.c tree.c tty.c var.c vi.c
MAN= ksh.1
.include <bsd.own.mk>
COPTS+= -Wall -Wextra -pedantic
CPPFLAGS+= -DHAVE_CONFIG_H -I. -DMIRBSD_NATIVE
CLEANFILES+= emacs.out
LINKS= ${BINDIR}/ksh ${BINDIR}/rksh
MLINKS= ksh.1 rksh.1
beforedepend: emacs.out
emacs.out: emacs.c
${SHELL} ${.CURDIR}/emacs-gen.sh ${.CURDIR}/emacs.c >emacs.out
check:
/usr/bin/perl ${.CURDIR}/tests/th -s ${.CURDIR}/tests \
-p ./ksh -C pdksh,sh,ksh,posix,posix-upu
.include <bsd.prog.mk>