summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/m4/Makefile')
-rw-r--r--usr.bin/m4/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile
index f0e22f8..e6cf0b6 100644
--- a/usr.bin/m4/Makefile
+++ b/usr.bin/m4/Makefile
@@ -4,6 +4,8 @@
# -DEXTENDED
# if you want the paste & spaste macros.
+.include <bsd.own.mk>
+
PROG= m4
CFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/lib
DPADD= ${LIBY} ${LIBL} ${LIBM}
@@ -22,4 +24,8 @@ tokenizer.o: parser.h
CLEANFILES+= parser.c parser.h tokenizer.o
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud