xref: /freebsd/share/mk/Makefile (revision 243e928310d073338c5ec089f0dce238a80b9866)
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.links.mk \
37	bsd.man.mk \
38	bsd.mkopt.mk \
39	bsd.nls.mk \
40	bsd.obj.mk \
41	bsd.opts.mk \
42	bsd.own.mk \
43	bsd.port.mk \
44	bsd.port.options.mk \
45	bsd.port.post.mk \
46	bsd.port.pre.mk \
47	bsd.port.subdir.mk \
48	bsd.prog.mk \
49	bsd.progs.mk \
50	bsd.snmpmod.mk \
51	bsd.subdir.mk \
52	bsd.symver.mk \
53	bsd.sys.mk \
54	bsd.test.mk \
55	dirdeps.mk \
56	gendirdeps.mk \
57	install-new.mk \
58	meta.autodep.mk \
59	meta.stage.mk \
60	meta.subdir.mk \
61	meta.sys.mk \
62	stage-install.sh \
63	sys.mk \
64	sys.dependfile.mk \
65	version_gen.awk
66
67FILESDIR=	${BINDIR}/mk
68
69.if ${MK_TESTS} != "no"
70FILES+=	atf.test.mk
71FILES+=	plain.test.mk
72FILES+=	suite.test.mk
73FILES+=	tap.test.mk
74.endif
75
76.include <bsd.prog.mk>
77.endif	# CURDIR == PARSEDIR
78