Makefile.depend revision 329011
1# $FreeBSD: stable/11/targets/pseudo/userland/misc/Makefile.depend 329011 2018-02-08 02:50:47Z kevans $
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
61DIRDEPS+= \
62	sbin/zfsbootcfg \
63
64.endif
65
66DIRDEPS.amd64= \
67	${DIRDEPS.x86sys} \
68	${_sys_boot_efi} \
69	sys/boot/ficl32 \
70	sys/boot/userboot/ficl \
71	sys/boot/userboot/libstand \
72	sys/boot/userboot/test \
73	sys/boot/userboot/userboot \
74
75.if ${MK_ZFS} != "no"
76DIRDEPS.amd64+= \
77	sys/boot/userboot/zfs \
78
79.endif
80
81DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
82DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
83DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi}
84DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
85DIRDEPS.pc98= sys/boot/libstand32
86DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
87.endif
88
89DIRDEPS+= ${DIRDEPS.${MACHINE}:U}
90
91.include <dirdeps.mk>
92