]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - targets/pseudo/userland/misc/Makefile.depend
MFV r362990:
[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= stand/efi/loader stand/efi/boot1
10 .if ${MK_FDT} != "no"
11 _sys_boot_fdt= stand/fdt stand/efi/fdt
12 .endif
13 .if ${MK_ZFS} != "no"
14 _sys_boot_zfs= stand/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+= stand/common
26
27 .if ${MK_FORTH} != "no"
28 DIRDEPS+= \
29         stand/ficl \
30         stand/forth \
31
32 .endif
33
34 DIRDEPS.x86sys= \
35         stand/efi/libefi \
36         stand/geli \
37         stand/i386/boot0 \
38         stand/i386/boot0sio \
39         stand/i386/boot2 \
40         stand/i386/btx/btx \
41         stand/i386/btx/btxldr \
42         stand/i386/btx/lib \
43         stand/i386/cdboot \
44         stand/i386/gptboot \
45         stand/i386/libfirewire \
46         stand/i386/libi386 \
47         stand/i386/loader \
48         stand/i386/mbr \
49         stand/i386/pmbr \
50         stand/i386/pxeldr \
51         stand/libsa32 \
52         ${_sys_boot_zfs} \
53
54 .if ${MK_ZFS} != "no"
55 DIRDEPS.x86sys+= \
56         stand/i386/gptzfsboot \
57         stand/i386/zfsboot \
58         stand/i386/zfsloader \
59
60 DIRDEPS+= \
61         sbin/zfsbootcfg \
62
63 .endif
64
65 DIRDEPS.amd64= \
66         ${DIRDEPS.x86sys} \
67         ${_sys_boot_efi} \
68         stand/ficl32 \
69         stand/userboot/test \
70         stand/userboot/userboot \
71
72 .if ${MK_ZFS} != "no"
73 DIRDEPS.amd64+= \
74         stand/zfs32 \
75
76 .endif
77
78 .if ${MK_EFI} != "no"
79 DIRDEPS+= \
80         usr.sbin/efivar \
81
82 .endif
83
84 DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
85 DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
86 DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi}
87 DIRDEPS.powerpc= ${_sys_boot_fdt} stand/libsa32 stand/ofw stand/uboot
88 DIRDEPS.sparc64= stand/ofw ${_sys_boot_zfs}
89 .endif
90
91 DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
92
93 .include <dirdeps.mk>