6c5d08ea6f
(or, more general, all systems using Makefile instead of Build.sh) * document this fact
25 lines
573 B
Makefile
25 lines
573 B
Makefile
# $MirOS: src/bin/mksh/Makefile,v 1.4 2005/08/26 22:03:55 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>
|
|
|
|
.ifndef NO_PRINTF_BUILTIN
|
|
.PATH: ${BSDSRCDIR}/usr.bin/printf
|
|
SRCS+= printf.c
|
|
CFLAGS_printf.o=-DBUILTIN
|
|
CPPFLAGS+= -DUSE_PRINTF
|
|
.endif
|
|
|
|
check:
|
|
@cd ${.CURDIR} && ${MAKE} regress V=-v
|
|
|
|
regress: ${PROG} check.pl check.t
|
|
perl ${.CURDIR}/check.pl -s ${.CURDIR}/check.t ${V} \
|
|
-p ./${PROG} -C pdksh
|
|
|
|
.include <bsd.prog.mk>
|