Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.prog.mk
Show First 20 Lines • Show All 288 Lines • ▼ Show 20 Lines | |||||
.if ${MK_MAN} != "no" | .if ${MK_MAN} != "no" | ||||
realinstall: maninstall | realinstall: maninstall | ||||
.ORDER: beforeinstall maninstall | .ORDER: beforeinstall maninstall | ||||
.endif | .endif | ||||
.endif # !target(install) | .endif # !target(install) | ||||
.if !target(lint) | |||||
lint: ${SRCS:M*.c} | |||||
.if defined(PROG) | |||||
${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC} | |||||
.endif | |||||
.endif | |||||
.if ${MK_MAN} != "no" | .if ${MK_MAN} != "no" | ||||
.include <bsd.man.mk> | .include <bsd.man.mk> | ||||
.endif | .endif | ||||
.if defined(HAS_TESTS) | .if defined(HAS_TESTS) | ||||
MAKE+= MK_MAKE_CHECK_USE_SANDBOX=yes | MAKE+= MK_MAKE_CHECK_USE_SANDBOX=yes | ||||
SUBDIR_TARGETS+= check | SUBDIR_TARGETS+= check | ||||
TESTS_LD_LIBRARY_PATH+= ${.OBJDIR} | TESTS_LD_LIBRARY_PATH+= ${.OBJDIR} | ||||
Show All 11 Lines |