xref: /freebsd/share/mk/Makefile (revision 7c1b51d6dc2e165ae7333373513b080f17cf79bd)
1# $FreeBSD$
2#	@(#)Makefile	8.1 (Berkeley) 6/8/93
3
4# Only parse this if executing make in this directory, not in other places
5# in src that lack a Makefile, such as sys/dev/*.  Otherwise the MAKESYSPATH
6# will read this Makefile since it auto includes it into -I.
7.if ${.CURDIR} == ${.PARSEDIR}
8
9# Avoid creating a Makefile.depend here as it would get included anywhere
10# in the build, similar to the problem above.  It would cause dirdeps.mk
11# to be included more times than desired.
12UPDATE_DEPENDFILE= no
13
14.include <src.opts.mk>
15
16FILES=	\
17	auto.obj.mk \
18	bsd.README \
19	bsd.arch.inc.mk \
20	bsd.clang-analyze.mk \
21	bsd.compiler.mk \
22	bsd.confs.mk \
23	bsd.cpu.mk \
24	bsd.crunchgen.mk \
25	bsd.dep.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.test.mk \
58	dirdeps.mk \
59	gendirdeps.mk \
60	install-new.mk \
61	meta.autodep.mk \
62	meta.stage.mk \
63	meta.subdir.mk \
64	meta.sys.mk \
65	stage-install.sh \
66	sys.mk \
67	sys.dependfile.mk \
68	version_gen.awk
69
70FILESDIR=	${BINDIR}/mk
71
72.if ${MK_TESTS} != "no"
73FILES+=	atf.test.mk
74FILES+=	plain.test.mk
75FILES+=	suite.test.mk
76FILES+=	tap.test.mk
77.endif
78
79.include <bsd.prog.mk>
80.endif	# CURDIR == PARSEDIR
81