xref: /freebsd/targets/pseudo/userland/misc/Makefile.depend (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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/i386/boot0 \
36	sys/boot/i386/boot0sio \
37	sys/boot/i386/boot2 \
38	sys/boot/i386/btx/btx \
39	sys/boot/i386/btx/btxldr \
40	sys/boot/i386/btx/lib \
41	sys/boot/i386/cdboot \
42	sys/boot/i386/gptboot \
43	sys/boot/i386/kgzldr \
44	sys/boot/i386/libfirewire \
45	sys/boot/i386/libi386 \
46	sys/boot/i386/loader \
47	sys/boot/i386/mbr \
48	sys/boot/i386/pmbr \
49	sys/boot/i386/pxeldr \
50	sys/boot/libstand32 \
51	${_sys_boot_zfs} \
52
53.if ${MK_ZFS} != "no"
54DIRDEPS.x86sys+= \
55	sys/boot/i386/gptzfsboot \
56	sys/boot/i386/zfsboot \
57	sys/boot/i386/zfsloader \
58
59.endif
60
61DIRDEPS.amd64= \
62	${DIRDEPS.x86sys} \
63	${_sys_boot_efi} \
64	sys/boot/ficl32 \
65	sys/boot/userboot/ficl \
66	sys/boot/userboot/libstand \
67	sys/boot/userboot/test \
68	sys/boot/userboot/userboot \
69
70.if ${MK_ZFS} != "no"
71DIRDEPS.amd64+= \
72	sys/boot/userboot/zfs \
73
74.endif
75
76DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
77DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
78DIRDEPS.i386= ${DIRDEPS.x86sys} sys/boot/efi/libefi
79DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
80DIRDEPS.pc98= sys/boot/libstand32
81DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
82.endif
83
84DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
85
86.include <dirdeps.mk>
87