local.gendirdeps.mk (61ad1ff58d4e7a8c21f05066d9a05aad2f84d291) local.gendirdeps.mk (4113aa90776ac4b6d192cfbef7f021f8d6a98cf4)
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 Ntargets/pseudo/stage* \
9 Ntools/*
10
11.if ${RELDIR:Mtargets*} == ""
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 Ntargets/pseudo/stage* \
9 Ntools/*
10
11.if ${RELDIR:Mtargets*} == ""
12.if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != ""
13GENDIRDEPS_FILTER.host+= \
14 Nusr.bin/clang/* \
15 Ngnu/usr.bin/cc/* \
16
17.endif
12GENDIRDEPS_FILTER+= \
13 Nusr.bin/clang/clang.host \
14 Ngnu/usr.bin/cc* \
18GENDIRDEPS_FILTER+= \
19 Nusr.bin/clang/clang.host \
20 Ngnu/usr.bin/cc* \
21 Ngnu/usr.bin/binutils*.host \
15
16.endif
17
22
23.endif
24
25GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U}
26
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
27# gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple
28# order of this list matters!
29GENDIRDEPS_FILTER_DIR_VARS+= \
30 CSU_DIR \
31 BOOT_MACHINE_DIR
32
33# order of this list matters!
34GENDIRDEPS_FILTER_VARS+= \
35 KERNEL_NAME \
36 MACHINE_CPUARCH \
37 MACHINE_ARCH \
38 MACHINE
39
40GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_DIR_VARS:@v@S,${$v},_{${v}},@}
41GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_VARS:@v@S,/${$v}/,/_{${v}}/,@:NS,//,*:u}
42
43# handle the non-standard way that gnu/usr.bin/groff/tmac is staged
44GENDIRDEPS_FILTER+= C,.*usr/share/tmac.*stage,gnu/usr.bin/groff/tmac,
45