xref: /freebsd/share/mk/local.gendirdeps.mk (revision 04667c47607e3dd1770a6cc3e37bdaddaf8cfcb6)
1*04667c47SSimon J. Gerraty# supress optional/auto dependecies
27750ad47SMarcel Moolenaar# local.dirdeps.mk will put them in if necessary
3*04667c47SSimon J. GerratyGENDIRDEPS_FILTER+= \
4*04667c47SSimon J. Gerraty	Ngnu/lib/libssp/libssp_nonshared \
5*04667c47SSimon J. Gerraty	Ncddl/usr.bin/ctf* \
6*04667c47SSimon J. Gerraty	Npkgs/pseudo/stage*
77750ad47SMarcel Moolenaar
87750ad47SMarcel Moolenaar# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
9*04667c47SSimon J. Gerraty# order of this list matters!
10*04667c47SSimon J. GerratyGENDIRDEPS_FILTER_DIR_VARS+= \
11*04667c47SSimon J. Gerraty       CSU_DIR \
12*04667c47SSimon J. Gerraty       BOOT_MACHINE_DIR
137750ad47SMarcel Moolenaar
14*04667c47SSimon J. Gerraty# order of this list matters!
15*04667c47SSimon J. GerratyGENDIRDEPS_FILTER_VARS+= \
16*04667c47SSimon J. Gerraty       KERNEL_NAME \
17*04667c47SSimon J. Gerraty       MACHINE_CPUARCH \
18*04667c47SSimon J. Gerraty       MACHINE_ARCH \
19*04667c47SSimon J. Gerraty       MACHINE
20*04667c47SSimon J. Gerraty
21*04667c47SSimon J. GerratyGENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
22*04667c47SSimon J. GerratyGENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
23*04667c47SSimon J. Gerraty
24*04667c47SSimon J. Gerraty# handle the non-standard way that gnu/usr.bin/groff/tmac is staged
25*04667c47SSimon J. GerratyGENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,
267750ad47SMarcel Moolenaar
27