]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libc/Makefile.inc
Update manpages to reference 'timed' rpc functions
[FreeBSD/FreeBSD.git] / lib / libc / Makefile.inc
1 # $FreeBSD$
2 #
3 # This file contains make rules that are shared by libc and libc_r.
4 #
5 # Define (empty) variables so that make doesn't give substitution
6 # errors if the included makefiles don't change these:
7 MDSRCS=
8 MISRCS=
9 MDASM=
10 MIASM=
11 NOASM=
12
13 #
14 # If there is a machine dependent makefile, use it:
15 #
16 .if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/Makefile.inc)
17 .include "${.CURDIR}/../libc/${MACHINE_ARCH}/Makefile.inc"
18 .endif
19
20 .include "${.CURDIR}/../libc/db/Makefile.inc"
21 .include "${.CURDIR}/../libc/compat-43/Makefile.inc"
22 .include "${.CURDIR}/../libc/gen/Makefile.inc"
23 .if ${MACHINE_ARCH} != "powerpc"
24 .include "${.CURDIR}/../libc/gmon/Makefile.inc"
25 .endif
26 .include "${.CURDIR}/../libc/locale/Makefile.inc"
27 .include "${.CURDIR}/../libc/net/Makefile.inc"
28 .include "${.CURDIR}/../libc/nls/Makefile.inc"
29 .include "${.CURDIR}/../libc/posix1e/Makefile.inc"
30 .if !defined(NO_QUAD)
31 .include "${.CURDIR}/../libc/quad/Makefile.inc"
32 .endif
33 .include "${.CURDIR}/../libc/regex/Makefile.inc"
34 .include "${.CURDIR}/../libc/stdio/Makefile.inc"
35 .include "${.CURDIR}/../libc/stdlib/Makefile.inc"
36 .include "${.CURDIR}/../libc/stdtime/Makefile.inc"
37 .include "${.CURDIR}/../libc/string/Makefile.inc"
38 .include "${.CURDIR}/../libc/sys/Makefile.inc"
39 .include "${.CURDIR}/../libc/rpc/Makefile.inc"
40 .include "${.CURDIR}/../libc/xdr/Makefile.inc"
41 .if !defined(NO_YP_LIBC)
42 CFLAGS+= -DYP
43 .include "${.CURDIR}/../libc/yp/Makefile.inc"
44 .endif
45 .if !defined(NO_HESIOD_LIBC)
46 CFLAGS+= -DHESIOD
47 .endif
48
49 # If there are no machine dependent sources, append all the
50 # machine-independent sources:
51 .if empty(MDSRCS)
52 SRCS+=  ${MISRCS}
53 .else
54 # Append machine-dependent sources, then append machine-independent sources
55 # for which there is no machine-dependent variant.
56 SRCS+=  ${MDSRCS}
57 .for _src in ${MISRCS}
58 .if ${MDSRCS:R:M${_src:R}} == ""
59 SRCS+=  ${_src}
60 .endif
61 .endfor
62 .endif