freebsd-dev/share/mk/local.dirdeps.mk
Marcel Moolenaar 7750ad47a9 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00

16 lines
283 B
Makefile

.if !target(_DIRDEP_USE)
# first time read
.if ${MACHINE} == "host"
DIRDEPS_FILTER+= \
Ninclude* \
Nlib/* \
Ngnu/lib/* \
.endif
.endif
# this is how we can handle optional dependencies
.if ${MK_SSP:Uno} != "no" && defined(PROG)
DIRDEPS += gnu/lib/libssp/libssp_nonshared
.endif