xref: /freebsd/share/mk/Makefile (revision bc06c51419b338c3d6efa6543308f9905c12c79b)
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	${SRCTOP}/contrib/bmake/mk/posix.mk \
71	stage-install.sh \
72	sys.mk \
73	sys.dependfile.mk \
74	sys.dirdeps.mk \
75	version_gen.awk
76
77FILESDIR=	${BINDIR}/mk
78
79.if ${MK_TESTS} != "no"
80FILES+=	atf.test.mk
81FILES+=	googletest.test.inc.mk
82FILES+=	googletest.test.mk
83FILES+=	plain.test.mk
84FILES+=	suite.test.mk
85FILES+=	tap.test.mk
86.endif
87
88.include <bsd.prog.mk>
89.endif	# CURDIR == PARSEDIR
90