xref: /freebsd/targets/pseudo/userland/misc/Makefile.depend (revision 8ef24a0d4b28fe230e20637f56869cc4148cd2ca)
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
17DIRDEPS = \
18	etc \
19	etc/newsyslog.conf.d \
20	etc/sendmail \
21	rescue/librescue \
22
23.if ${MK_BOOT} != "no"
24DIRDEPS+= sys/boot/common
25
26.if ${MK_FORTH} != "no"
27DIRDEPS+= \
28	sys/boot/ficl \
29	sys/boot/forth \
30
31.endif
32
33DIRDEPS.x86sys= \
34	sys/boot/efi/libefi \
35	sys/boot/geli \
36	sys/boot/i386/boot0 \
37	sys/boot/i386/boot0sio \
38	sys/boot/i386/boot2 \
39	sys/boot/i386/btx/btx \
40	sys/boot/i386/btx/btxldr \
41	sys/boot/i386/btx/lib \
42	sys/boot/i386/cdboot \
43	sys/boot/i386/gptboot \
44	sys/boot/i386/kgzldr \
45	sys/boot/i386/libfirewire \
46	sys/boot/i386/libi386 \
47	sys/boot/i386/loader \
48	sys/boot/i386/mbr \
49	sys/boot/i386/pmbr \
50	sys/boot/i386/pxeldr \
51	sys/boot/libstand32 \
52	${_sys_boot_zfs} \
53
54.if ${MK_ZFS} != "no"
55DIRDEPS.x86sys+= \
56	sys/boot/i386/gptzfsboot \
57	sys/boot/i386/zfsboot \
58	sys/boot/i386/zfsloader \
59
60.endif
61
62DIRDEPS.amd64= \
63	${DIRDEPS.x86sys} \
64	${_sys_boot_efi} \
65	sys/boot/ficl32 \
66	sys/boot/userboot/ficl \
67	sys/boot/userboot/libstand \
68	sys/boot/userboot/test \
69	sys/boot/userboot/userboot \
70
71.if ${MK_ZFS} != "no"
72DIRDEPS.amd64+= \
73	sys/boot/userboot/zfs \
74
75.endif
76
77DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
78DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
79DIRDEPS.i386= ${DIRDEPS.x86sys} sys/boot/efi/libefi
80DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
81DIRDEPS.pc98= sys/boot/libstand32
82DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
83.endif
84
85DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
86
87.include <dirdeps.mk>
88