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