1 # $FreeBSD: src/lMakefile.inc,v 1.7 2001/04/04 18:17:25 tmm Exp $
3 # This file contains make rules that are shared by libc and libc_r.
5 # Define (empty) variables so that make doesn't give substitution
6 # errors if the included makefiles don't change these:
13 # SUPPRESSSRCS is used to prevent machine-independent files from being
14 # built, when a machine-dependent file defines multiple symbols.
15 # Use MDSRCS to block one file, and SUPPRESSSRCS to block the others.
18 # Variable needed by the FreeBSD auto-patching mechanism
23 # If there is a machine dependent makefile, use it:
25 .if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
26 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
29 .include "${.CURDIR}/db/Makefile.inc"
30 .include "${.CURDIR}/compat-43/Makefile.inc"
31 .include "${.CURDIR}/gdtoa/Makefile.inc"
32 .include "${.CURDIR}/gen/Makefile.inc"
33 .include "${.CURDIR}/gmon/Makefile.inc"
34 .include "${.CURDIR}/include/Makefile.inc"
35 .include "${.CURDIR}/internat/Makefile.inc"
36 .include "${.CURDIR}/locale/Makefile.inc"
37 .include "${.CURDIR}/mach/Makefile.inc"
38 .include "${.CURDIR}/net/Makefile.inc"
39 .include "${.CURDIR}/nls/Makefile.inc"
40 #.include "${.CURDIR}/posix1e/Makefile.inc"
41 .include "${.CURDIR}/pthreads/Makefile.inc"
43 #.include "${.CURDIR}/quad/Makefile.inc"
45 .include "${.CURDIR}/regex/Makefile.inc"
46 .include "${.CURDIR}/stdio/Makefile.inc"
47 .include "${.CURDIR}/stdlib/Makefile.inc"
48 .include "${.CURDIR}/stdtime/Makefile.inc"
49 .include "${.CURDIR}/string/Makefile.inc"
50 .include "${.CURDIR}/sys/Makefile.inc"
51 .include "${.CURDIR}/threads/Makefile.inc"
52 .include "${.CURDIR}/util/Makefile.inc"
53 #.include "${.CURDIR}/rpc/Makefile.inc"
54 #.include "${.CURDIR}/xdr/Makefile.inc"
55 .if !defined(NO_YP_LIBC)
57 #.include "${.CURDIR}/yp/Makefile.inc"
59 .if !defined(NO_HESIOD_LIBC)
63 # If there are no machine dependent sources, append all the
64 # machine-independent sources:
68 # Append machine-dependent sources, then append machine-independent sources
69 # for which there is no machine-dependent variant, and not being suppressed.
71 _SUPPRESS= ${MDSRCS} ${SUPPRESSSRCS}
72 .for _src in ${MISRCS}
73 .if ${_SUPPRESS:R:M${_src:R}} == ""