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