xref: /freebsd/share/mk/Makefile (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# Only parse this if executing make in this directory, not in other places
2# in src that lack a Makefile, such as sys/dev/*.  Otherwise the MAKESYSPATH
3# will read this Makefile since it auto includes it into -I.
4.if ${.CURDIR} == ${.PARSEDIR}
5
6# Avoid creating a Makefile.depend here as it would get included anywhere
7# in the build, similar to the problem above.  It would cause dirdeps.mk
8# to be included more times than desired.
9UPDATE_DEPENDFILE= no
10
11.include <src.opts.mk>
12
13FILES=	\
14	auto.obj.mk \
15	bsd.README \
16	bsd.arch.inc.mk \
17	bsd.clang-analyze.mk \
18	bsd.compiler.mk \
19	bsd.compat.mk \
20	bsd.compat.pre.mk \
21	bsd.confs.mk \
22	bsd.cpu.mk \
23	bsd.crunchgen.mk \
24	bsd.dep.mk \
25	bsd.dirs.mk \
26	bsd.doc.mk \
27	bsd.dtb.mk \
28	bsd.endian.mk \
29	bsd.files.mk \
30	bsd.incs.mk \
31	bsd.info.mk \
32	bsd.init.mk \
33	bsd.kmod.mk \
34	bsd.lib.mk \
35	bsd.libnames.mk \
36	bsd.linker.mk \
37	bsd.links.mk \
38	bsd.man.mk \
39	bsd.mkopt.mk \
40	bsd.nls.mk \
41	bsd.obj.mk \
42	bsd.opts.mk \
43	bsd.own.mk \
44	bsd.port.mk \
45	bsd.port.options.mk \
46	bsd.port.post.mk \
47	bsd.port.pre.mk \
48	bsd.port.subdir.mk \
49	bsd.prog.mk \
50	bsd.progs.mk \
51	bsd.snmpmod.mk \
52	bsd.subdir.mk \
53	bsd.suffixes-posix.mk \
54	bsd.suffixes.mk \
55	bsd.symver.mk \
56	bsd.sys.mk \
57	bsd.sysdir.mk \
58	bsd.test.mk \
59	dirdeps.mk \
60	dirdeps-options.mk \
61	dirdeps-targets.mk \
62	gendirdeps.mk \
63	host-target.mk \
64	install-new.mk \
65	jobs.mk \
66	meta.autodep.mk \
67	meta.stage.mk \
68	meta.subdir.mk \
69	meta.sys.mk \
70	meta2deps.py \
71	meta2deps.sh \
72	${SRCTOP}/contrib/bmake/mk/posix.mk \
73	stage-install.sh \
74	sys.mk \
75	sys.dependfile.mk \
76	sys.dirdeps.mk \
77	version_gen.awk
78
79FILESDIR=	${BINDIR}/mk
80
81.if ${MK_TESTS} != "no"
82FILES+=	atf.test.mk
83FILES+=	googletest.test.inc.mk
84FILES+=	googletest.test.mk
85FILES+=	plain.test.mk
86FILES+=	suite.test.mk
87FILES+=	tap.test.mk
88.endif
89
90.include <bsd.prog.mk>
91.endif	# CURDIR == PARSEDIR
92