]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/build/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / build / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../include
4
5 LIB=            egacy
6 SRCS=
7 INCSGROUPS=     INCS
8 INCS=           
9
10 BOOTSTRAPPING?= 0
11
12 _WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/pwd.h || true
13 .if ${_WITH_PWCACHEDB} == 0
14 .PATH: ${.CURDIR}/../../contrib/libc-pwcache
15 CFLAGS+=        -I${.CURDIR}/../../contrib/libc-pwcache \
16                 -I${.CURDIR}/../../lib/libc/include
17 SRCS+=          pwcache.c
18 .endif
19
20 _WITH_STRSVIS!= grep -c strsvis /usr/include/vis.h || true
21 .if ${_WITH_STRSVIS} == 0
22 .PATH: ${.CURDIR}/../../contrib/libc-vis
23 SRCS+=          vis.c
24 CFLAGS+=        -I${.CURDIR}/../../contrib/libc-vis \
25                 -I${.CURDIR}/../../lib/libc/include
26 .endif
27
28 .if empty(SRCS)
29 SRCS=           dummy.c
30 .endif
31
32 .if defined(CROSS_BUILD_TESTING)
33 SUBDIR=         cross-build
34 .endif
35
36 .include <bsd.lib.mk>