aboutsummaryrefslogtreecommitdiff
path: root/targets/pseudo/userland/misc/Makefile.depend
blob: 19ede3238843f0397698df6eb770222836f69c64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# $FreeBSD$

# This file is not autogenerated - take care!

.if !defined(MK_FORTH)
.include <src.opts.mk>
.endif

_sys_boot_efi= sys/boot/efi/loader sys/boot/efi/boot1
.if ${MK_FDT} != "no"
_sys_boot_fdt= sys/boot/fdt sys/boot/efi/fdt
.endif
.if ${MK_ZFS} != "no"
_sys_boot_zfs= sys/boot/zfs
.endif

DIRDEPS = \
	etc \
	etc/newsyslog.conf.d \
	etc/sendmail \
	rescue/librescue \
	rescue/rescue \

.if ${MK_BOOT} != "no"
DIRDEPS+= sys/boot/common

.if ${MK_FORTH} != "no"
DIRDEPS+= \
	sys/boot/ficl \
	sys/boot/forth \

.endif

DIRDEPS.x86sys= \
	sys/boot/efi/libefi \
	sys/boot/geli \
	sys/boot/i386/boot0 \
	sys/boot/i386/boot0sio \
	sys/boot/i386/boot2 \
	sys/boot/i386/btx/btx \
	sys/boot/i386/btx/btxldr \
	sys/boot/i386/btx/lib \
	sys/boot/i386/cdboot \
	sys/boot/i386/gptboot \
	sys/boot/i386/kgzldr \
	sys/boot/i386/libfirewire \
	sys/boot/i386/libi386 \
	sys/boot/i386/loader \
	sys/boot/i386/mbr \
	sys/boot/i386/pmbr \
	sys/boot/i386/pxeldr \
	sys/boot/libstand32 \
	${_sys_boot_zfs} \

.if ${MK_ZFS} != "no"
DIRDEPS.x86sys+= \
	sys/boot/i386/gptzfsboot \
	sys/boot/i386/zfsboot \
	sys/boot/i386/zfsloader \

.endif

DIRDEPS.amd64= \
	${DIRDEPS.x86sys} \
	${_sys_boot_efi} \
	sys/boot/ficl32 \
	sys/boot/userboot/ficl \
	sys/boot/userboot/libstand \
	sys/boot/userboot/test \
	sys/boot/userboot/userboot \

.if ${MK_ZFS} != "no"
DIRDEPS.amd64+= \
	sys/boot/userboot/zfs \

.endif

DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi}
DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi}
DIRDEPS.i386= ${DIRDEPS.x86sys} sys/boot/efi/libefi
DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot
DIRDEPS.pc98= sys/boot/libstand32
DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs}
.endif

DIRDEPS+= ${DIRDEPS.${MACHINE}:U}

.include <dirdeps.mk>