aboutsummaryrefslogtreecommitdiff
path: root/share/mk/Makefile
blob: 0e786b381fe24db46ab19dae8daf5d78562f1192 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Only parse this if executing make in this directory, not in other places
# in src that lack a Makefile, such as sys/dev/*.  Otherwise the MAKESYSPATH
# will read this Makefile since it auto includes it into -I.
.if ${.CURDIR} == ${.PARSEDIR}

# Avoid creating a Makefile.depend here as it would get included anywhere
# in the build, similar to the problem above.  It would cause dirdeps.mk
# to be included more times than desired.
UPDATE_DEPENDFILE= no

.include <src.opts.mk>

PACKAGE= bmake
FILES=	\
	auto.obj.mk \
	bsd.README \
	bsd.arch.inc.mk \
	bsd.clang-analyze.mk \
	bsd.compiler.mk \
	bsd.compat.mk \
	bsd.compat.pre.mk \
	bsd.confs.mk \
	bsd.cpu.mk \
	bsd.crunchgen.mk \
	bsd.debug.mk \
	bsd.dep.mk \
	bsd.dirs.mk \
	bsd.doc.mk \
	bsd.dtb.mk \
	bsd.endian.mk \
	bsd.files.mk \
	bsd.incs.mk \
	bsd.info.mk \
	bsd.init.mk \
	bsd.kmod.mk \
	bsd.lib.mk \
	bsd.libnames.mk \
	bsd.linker.mk \
	bsd.links.mk \
	bsd.man.mk \
	bsd.mkopt.mk \
	bsd.nls.mk \
	bsd.obj.mk \
	bsd.opts.mk \
	bsd.own.mk \
	bsd.port.mk \
	bsd.port.options.mk \
	bsd.port.post.mk \
	bsd.port.pre.mk \
	bsd.port.subdir.mk \
	bsd.prog.mk \
	bsd.progs.mk \
	bsd.snmpmod.mk \
	bsd.subdir.mk \
	bsd.suffixes-extra.mk \
	bsd.suffixes-posix.mk \
	bsd.suffixes.mk \
	bsd.symver.mk \
	bsd.sys.mk \
	bsd.sysdir.mk \
	bsd.test.mk \
	dirdeps.mk \
	dirdeps-options.mk \
	dirdeps-targets.mk \
	gendirdeps.mk \
	host-target.mk \
	host.test.mk \
	install-new.mk \
	jobs.mk \
	meta.autodep.mk \
	meta.stage.mk \
	meta.subdir.mk \
	meta.sys.mk \
	meta2deps.py \
	meta2deps.sh \
	${SRCTOP}/contrib/bmake/mk/newlog.sh \
	${SRCTOP}/contrib/bmake/mk/posix.mk \
	stage-install.sh \
	${SRCTOP}/contrib/bmake/mk/setopts.sh \
	sys.mk \
	sys.dependfile.mk \
	sys.dirdeps.mk \
	version_gen.awk

FILESDIR=	${BINDIR}/mk

# make sure scripts are executable
.for file in ${FILES:M*.sh} ${FILES:M*.py}
FILESMODE_${file} = 555
.endfor

.if ${MK_TESTS} != "no"
FILES+=	atf.test.mk
FILES+=	googletest.test.inc.mk
FILES+=	googletest.test.mk
FILES+=	plain.test.mk
FILES+=	suite.test.mk
FILES+=	tap.test.mk
.endif

.include <bsd.prog.mk>
.endif	# CURDIR == PARSEDIR