1# supress optional/auto dependecies 2# local.dirdeps.mk will put them in if necessary 3GENDIRDEPS_FILTER+= \ 4 Ngnu/lib/libssp/libssp_nonshared \ 5 Ncddl/usr.bin/ctf* \ 6 Nlib/clang/include \ 7 Nlib/libc_nonshared \ 8 Npkgs/pseudo/stage* \ 9 Ntools/* 10 11.if ${RELDIR:Mpkgs*} == "" 12GENDIRDEPS_FILTER+= \ 13 Nusr.bin/clang/clang.host \ 14 Ngnu/usr.bin/cc* \ 15 16.endif 17 18# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple 19# order of this list matters! 20GENDIRDEPS_FILTER_DIR_VARS+= \ 21 CSU_DIR \ 22 BOOT_MACHINE_DIR 23 24# order of this list matters! 25GENDIRDEPS_FILTER_VARS+= \ 26 KERNEL_NAME \ 27 MACHINE_CPUARCH \ 28 MACHINE_ARCH \ 29 MACHINE 30 31GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@} 32GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u} 33 34# handle the non-standard way that gnu/usr.bin/groff/tmac is staged 35GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac, 36 37