local.dirdeps.mk (61ad1ff58d4e7a8c21f05066d9a05aad2f84d291) | local.dirdeps.mk (4113aa90776ac4b6d192cfbef7f021f8d6a98cf4) |
---|---|
1.if !target(_DIRDEP_USE) 2# we are the 1st makefile 3 4.if !defined(MK_CLANG) 5.include "${SRCTOP}/share/mk/src.opts.mk" 6.endif 7 8# DEP_MACHINE is set before we get here, this may not be. --- 21 unchanged lines hidden (view full) --- 30 31#.info M_dep_qual_fixes=${M_dep_qual_fixes} 32# we want to supress these dependencies for host tools 33# but some libs are sadly needed. 34_need_host_libs= \ 35 lib/libc++ \ 36 lib/libcxxrt \ 37 lib/libdwarf \ | 1.if !target(_DIRDEP_USE) 2# we are the 1st makefile 3 4.if !defined(MK_CLANG) 5.include "${SRCTOP}/share/mk/src.opts.mk" 6.endif 7 8# DEP_MACHINE is set before we get here, this may not be. --- 21 unchanged lines hidden (view full) --- 30 31#.info M_dep_qual_fixes=${M_dep_qual_fixes} 32# we want to supress these dependencies for host tools 33# but some libs are sadly needed. 34_need_host_libs= \ 35 lib/libc++ \ 36 lib/libcxxrt \ 37 lib/libdwarf \ |
38 lib/libmd \ |
|
38 39N_host_libs:= ${cd ${SRCTOP} && echo lib/lib*:L:sh:${_need_host_libs:${M_ListToSkip}}:${M_ListToSkip}} 40DIRDEPS_FILTER.host = \ 41 ${N_host_libs} \ 42 Ninclude* \ 43 Nlib/csu* \ 44 Nlib/[mn]* \ 45 Ngnu/lib/csu* \ 46 Ngnu/lib/lib[a-r]* \ | 39 40N_host_libs:= ${cd ${SRCTOP} && echo lib/lib*:L:sh:${_need_host_libs:${M_ListToSkip}}:${M_ListToSkip}} 41DIRDEPS_FILTER.host = \ 42 ${N_host_libs} \ 43 Ninclude* \ 44 Nlib/csu* \ 45 Nlib/[mn]* \ 46 Ngnu/lib/csu* \ 47 Ngnu/lib/lib[a-r]* \ |
48 Nusr.bin/xinstall* \ |
|
47 48 49DIRDEPS_FILTER+= \ 50 ${DIRDEPS_FILTER.xtras:U} 51.endif 52 53# reset this each time 54DIRDEPS_FILTER.xtras= --- 21 unchanged lines hidden (view full) --- 76.endif 77 78.endif 79 80.if ${MK_CLANG} == "yes" && ${DEP_RELDIR:Nlib/clang/lib*:Nlib/libc*} == "" 81DIRDEPS+= lib/clang/include 82.endif 83 | 49 50 51DIRDEPS_FILTER+= \ 52 ${DIRDEPS_FILTER.xtras:U} 53.endif 54 55# reset this each time 56DIRDEPS_FILTER.xtras= --- 21 unchanged lines hidden (view full) --- 78.endif 79 80.endif 81 82.if ${MK_CLANG} == "yes" && ${DEP_RELDIR:Nlib/clang/lib*:Nlib/libc*} == "" 83DIRDEPS+= lib/clang/include 84.endif 85 |
86.if ${MK_STAGING} == "yes" |
|
84# we need targets/pseudo/stage to prep the stage tree 85.if ${DEP_RELDIR} != "targets/pseudo/stage" 86DIRDEPS += targets/pseudo/stage 87.endif | 87# we need targets/pseudo/stage to prep the stage tree 88.if ${DEP_RELDIR} != "targets/pseudo/stage" 89DIRDEPS += targets/pseudo/stage 90.endif |
91.endif |
|
88 89CSU_DIR.i386 = csu/i386-elf 90DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} 91CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} 92CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} 93BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} 94KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} | 92 93CSU_DIR.i386 = csu/i386-elf 94DEP_MACHINE_ARCH = ${MACHINE_ARCH.${DEP_MACHINE}} 95CSU_DIR.${DEP_MACHINE_ARCH} ?= csu/${DEP_MACHINE_ARCH} 96CSU_DIR := ${CSU_DIR.${DEP_MACHINE_ARCH}} 97BOOT_MACHINE_DIR:= ${BOOT_MACHINE_DIR.${DEP_MACHINE}} 98KERNEL_NAME:= ${KERNEL_NAME.${DEP_MACHINE}} |