]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/bmake/Makefile.inc
MFV: xz 5.4.4.
[FreeBSD/FreeBSD.git] / usr.bin / bmake / Makefile.inc
1 # $FreeBSD$ 
2
3 # we do not need this
4 MK_host_egacy= no
5
6 .sinclude <src.opts.mk>
7
8 .if defined(.PARSEDIR)
9 # make sure this is available to unit-tests/Makefile
10 .export SRCTOP
11 .endif
12
13 .if exists(${.CURDIR}/tests)
14 PROG= make
15 .if ${PROGNAME:U} != "bmake"
16 LINKS= ${BINDIR}/make ${BINDIR}/bmake
17 MLINKS= ${MAN} b${MAN}
18 .endif
19 .endif
20
21 # hack to not add tests to tests subdir since this is included from
22 # there and to avoid renaming things that require changes to generated
23 # files.
24 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
25 SUBDIR+= tests
26 .endif
27
28 WARNS?=3
29 CFLAGS+= -DNO_PWD_OVERRIDE
30
31 .if make(after-import)
32 # use our preferred value
33 DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk
34 .export DEFAULT_SYS_PATH
35 .endif
36
37 .if ${MACHINE} != "host"
38 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h
39 .endif