]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/mk/local.gendirdeps.mk
Merge head
[FreeBSD/FreeBSD.git] / share / mk / local.gendirdeps.mk
1 # supress optional/auto dependecies
2 # local.dirdeps.mk will put them in if necessary
3 GENDIRDEPS_FILTER+= \
4         Ngnu/lib/libssp/libssp_nonshared \
5         Ncddl/usr.bin/ctf* \
6         Npkgs/pseudo/stage*
7
8 # gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
9 # order of this list matters!
10 GENDIRDEPS_FILTER_DIR_VARS+= \
11        CSU_DIR \
12        BOOT_MACHINE_DIR
13
14 # order of this list matters!
15 GENDIRDEPS_FILTER_VARS+= \
16        KERNEL_NAME \
17        MACHINE_CPUARCH \
18        MACHINE_ARCH \
19        MACHINE
20
21 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
22 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
23
24 # handle the non-standard way that gnu/usr.bin/groff/tmac is staged
25 GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,
26