]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - targets/pseudo/userland/misc/Makefile.depend
DIRDEPS_BUILD: Connect new directories.
[FreeBSD/FreeBSD.git] / targets / pseudo / userland / misc / Makefile.depend
1 # $FreeBSD$
2
3 # This file is not autogenerated - take care!
4
5 .if !defined(MK_FORTH)
6 .include <src.opts.mk>
7 .endif
8
9 _sys_boot_efi= sys/boot/efi/loader sys/boot/efi/boot1
10 .if ${MK_FDT} != "no"
11 _sys_boot_fdt= sys/boot/fdt sys/boot/efi/fdt
12 .endif
13 .if ${MK_ZFS} != "no"
14 _sys_boot_zfs= sys/boot/zfs
15 .endif
16
17 DIRDEPS = \
18         etc \
19         etc/newsyslog.conf.d \
20         etc/sendmail \
21         rescue/librescue \
22         rescue/rescue \
23
24 .if ${MK_BOOT} != "no"
25 DIRDEPS+= sys/boot/common
26
27 .if ${MK_FORTH} != "no"
28 DIRDEPS+= \
29         sys/boot/ficl \
30         sys/boot/forth \
31
32 .endif
33
34 DIRDEPS.x86sys= \
35         sys/boot/efi/libefi \
36         sys/boot/geli \
37         sys/boot/i386/boot0 \
38         sys/boot/i386/boot0sio \
39         sys/boot/i386/boot2 \
40         sys/boot/i386/btx/btx \
41         sys/boot/i386/btx/btxldr \
42         sys/boot/i386/btx/lib \
43         sys/boot/i386/cdboot \
44         sys/boot/i386/gptboot \
45         sys/boot/i386/kgzldr \
46         sys/boot/i386/libfirewire \
47         sys/boot/i386/libi386 \
48         sys/boot/i386/loader \
49         sys/boot/i386/mbr \
50         sys/boot/i386/pmbr \
51         sys/boot/i386/pxeldr \
52         sys/boot/libstand32 \
53         ${_sys_boot_zfs} \
54
55 .if ${MK_ZFS} != "no"
56 DIRDEPS.x86sys+= \
57         sys/boot/i386/gptzfsboot \
58         sys/boot/i386/zfsboot \
59         sys/boot/i386/zfsloader \
60
61 DIRDEPS+= \
62         sbin/zfsbootcfg \
63
64 .endif
65
66 DIRDEPS.amd64= \
67         ${DIRDEPS.x86sys} \
68         ${_sys_boot_efi} \
69         sys/boot/ficl32 \
70         sys/boot/userboot/ficl \
71         sys/boot/userboot/libstand \
72         sys/boot/userboot/test \
73         sys/boot/userboot/userboot \
74
75 .if ${MK_ZFS} != "no"
76 DIRDEPS.amd64+= \
77         sys/boot/userboot/zfs \
78
79 .endif
80
81 DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
82 DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
83 DIRDEPS.i386= ${DIRDEPS.x86sys} sys/boot/efi/libefi
84 DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
85 DIRDEPS.pc98= sys/boot/libstand32
86 DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
87 .endif
88
89 DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
90
91 .include <dirdeps.mk>