3 # we need a keyword, this noise is to prevent it being expanded
4 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
6 # supress optional/auto dependecies
7 # local.dirdeps.mk will put them in if necessary
9 Ngnu/lib/libssp/libssp_nonshared \
13 Ntargets/pseudo/stage* \
16 .if ${RELDIR:Mtargets*} == ""
17 .if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != ""
18 GENDIRDEPS_FILTER.host+= \
24 Nusr.bin/clang/clang.host \
26 Ngnu/usr.bin/binutils*.host \
30 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U}
32 # gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
33 # order of this list matters!
34 GENDIRDEPS_FILTER_DIR_VARS+= \
38 # order of this list matters!
39 GENDIRDEPS_FILTER_VARS+= \
45 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
46 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
48 # handle the non-standard way that gnu/usr.bin/groff/tmac is staged
49 GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,