xref: /freebsd/targets/pseudo/userland/misc/Makefile.depend (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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
17DIRDEPS = \
18	etc \
19	etc/newsyslog.conf.d \
20	etc/sendmail \
21	rescue/librescue \
22	rescue/rescue \
23
24.if ${MK_BOOT} != "no"
25DIRDEPS+= stand/common
26
27.if ${MK_FORTH} != "no"
28DIRDEPS+= \
29	stand/ficl \
30	stand/forth \
31
32.endif
33
34DIRDEPS.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"
55DIRDEPS.x86sys+= \
56	stand/i386/gptzfsboot \
57	stand/i386/zfsboot \
58	stand/i386/zfsloader \
59
60DIRDEPS+= \
61	sbin/zfsbootcfg \
62
63.endif
64
65DIRDEPS.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"
73DIRDEPS.amd64+= \
74	stand/zfs32 \
75
76.endif
77
78.if ${MK_EFI} != "no"
79DIRDEPS+= \
80	usr.sbin/efivar \
81
82.endif
83
84DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
85DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
86DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi}
87DIRDEPS.powerpc= ${_sys_boot_fdt} stand/libsa32 stand/ofw stand/uboot
88DIRDEPS.sparc64= stand/ofw ${_sys_boot_zfs}
89.endif
90
91DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
92
93.include <dirdeps.mk>
94