xref: /freebsd/targets/pseudo/userland/misc/Makefile.depend (revision 5dae51da3da0cc94d17bd67b308fad304ebec7e0)
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	rescue/rescue \
23
24.if ${MK_BOOT} != "no"
25DIRDEPS+= sys/boot/common
26
27.if ${MK_FORTH} != "no"
28DIRDEPS+= \
29	sys/boot/ficl \
30	sys/boot/forth \
31
32.endif
33
34DIRDEPS.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"
56DIRDEPS.x86sys+= \
57	sys/boot/i386/gptzfsboot \
58	sys/boot/i386/zfsboot \
59	sys/boot/i386/zfsloader \
60
61.endif
62
63DIRDEPS.amd64= \
64	${DIRDEPS.x86sys} \
65	${_sys_boot_efi} \
66	sys/boot/ficl32 \
67	sys/boot/userboot/ficl \
68	sys/boot/userboot/libstand \
69	sys/boot/userboot/test \
70	sys/boot/userboot/userboot \
71
72.if ${MK_ZFS} != "no"
73DIRDEPS.amd64+= \
74	sys/boot/userboot/zfs \
75
76.endif
77
78DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
79DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
80DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi}
81DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
82DIRDEPS.pc98= sys/boot/libstand32
83DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
84.endif
85
86DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
87
88.include <dirdeps.mk>
89