xref: /freebsd/share/mk/Makefile (revision 3c5ba95ad12285ad37c182a4bfc1b240ec6d18a7)
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.dirs.mk \
27	bsd.doc.mk \
28	bsd.dtb.mk \
29	bsd.endian.mk \
30	bsd.files.mk \
31	bsd.incs.mk \
32	bsd.info.mk \
33	bsd.init.mk \
34	bsd.kmod.mk \
35	bsd.lib.mk \
36	bsd.libnames.mk \
37	bsd.linker.mk \
38	bsd.links.mk \
39	bsd.man.mk \
40	bsd.mkopt.mk \
41	bsd.nls.mk \
42	bsd.obj.mk \
43	bsd.opts.mk \
44	bsd.own.mk \
45	bsd.port.mk \
46	bsd.port.options.mk \
47	bsd.port.post.mk \
48	bsd.port.pre.mk \
49	bsd.port.subdir.mk \
50	bsd.prog.mk \
51	bsd.progs.mk \
52	bsd.snmpmod.mk \
53	bsd.subdir.mk \
54	bsd.suffixes-posix.mk \
55	bsd.suffixes.mk \
56	bsd.symver.mk \
57	bsd.sys.mk \
58	bsd.test.mk \
59	dirdeps.mk \
60	dirdeps-options.mk \
61	gendirdeps.mk \
62	install-new.mk \
63	meta.autodep.mk \
64	meta.stage.mk \
65	meta.subdir.mk \
66	meta.sys.mk \
67	stage-install.sh \
68	sys.mk \
69	sys.dependfile.mk \
70	version_gen.awk
71
72FILESDIR=	${BINDIR}/mk
73
74.if ${MK_TESTS} != "no"
75FILES+=	atf.test.mk
76FILES+=	plain.test.mk
77FILES+=	suite.test.mk
78FILES+=	tap.test.mk
79.endif
80
81.include <bsd.prog.mk>
82.endif	# CURDIR == PARSEDIR
83