mksh/Makefile

29 lines
678 B
Makefile
Raw Normal View History

2005-10-08 20:53:10 +02:00
# $MirOS: src/bin/mksh/Makefile,v 1.6 2005/10/08 18:53:09 tg Exp $
PROG= mksh
SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
jobs.c lex.c main.c misc.c shf.c syn.c tree.c var.c
CDIAGFLAGS+= -Wno-cast-qual
.include <bsd.own.mk>
NO_PRINTF_BUILTIN=broken for now
.ifndef NO_PRINTF_BUILTIN
.PATH: ${BSDSRCDIR}/usr.bin/printf
SRCS+= printf.c
CFLAGS_printf.o=-DBUILTIN
CPPFLAGS+= -DUSE_PRINTF
.endif
2005-10-08 20:53:10 +02:00
DEBUGPROGS= No # objcopy can't mod /bin/mksh after install (ETXTBUSY)
check:
@cd ${.CURDIR} && ${MAKE} regress V=-v
regress: ${PROG} check.pl check.t
perl ${.CURDIR}/check.pl -s ${.CURDIR}/check.t ${V} \
2005-05-23 16:48:21 +02:00
-p ./${PROG} -C pdksh
.include <bsd.prog.mk>