diff options
Diffstat (limited to 'share/mk/local.dirdeps.mk')
-rw-r--r-- | share/mk/local.dirdeps.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/mk/local.dirdeps.mk b/share/mk/local.dirdeps.mk new file mode 100644 index 0000000..dedf9e2 --- /dev/null +++ b/share/mk/local.dirdeps.mk @@ -0,0 +1,15 @@ +.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 |