1# $FreeBSD$ 2 3# we need a keyword, this noise is to prevent it being expanded 4GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 5 6# supress optional/auto dependecies 7# local.dirdeps.mk will put them in if necessary 8GENDIRDEPS_FILTER+= \ 9 Nbin/cat.host \ 10 Ngnu/lib/libssp/libssp_nonshared \ 11 Ncddl/usr.bin/ctf* \ 12 Nlib/clang/include \ 13 Nlib/libc_nonshared \ 14 Ntargets/pseudo/stage* \ 15 Ntools/* 16 17.if ${RELDIR:Mtargets*} == "" 18.if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != "" 19GENDIRDEPS_FILTER.host+= \ 20 Nusr.bin/clang/* \ 21 Ngnu/usr.bin/cc/* \ 22 23.endif 24GENDIRDEPS_FILTER+= \ 25 Nusr.bin/clang/clang.host \ 26 Ngnu/usr.bin/cc* \ 27 Ngnu/usr.bin/binutils*.host \ 28 29.endif 30 31GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U} 32 33# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple 34# order of this list matters! 35GENDIRDEPS_FILTER_DIR_VARS+= \ 36 CSU_DIR \ 37 BOOT_MACHINE_DIR 38 39# order of this list matters! 40GENDIRDEPS_FILTER_VARS+= \ 41 KERNEL_NAME \ 42 MACHINE_CPUARCH \ 43 MACHINE_ARCH \ 44 MACHINE 45 46GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@} 47GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u} 48