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 # set object file suffix
19 .if make(lib${LIB}_static.a)
22 .if make(lib${LIB}_profile.a)
25 .if make(lib${LIB}_debug.a)
32 .if exists(${OBJROOT}/sys/Makefile.inc)
33 .include "${OBJROOT}/sys/Makefile.inc"
35 .include "${.CURDIR}/include/Makefile.inc"
36 .include "${.CURDIR}/mach/Makefile.inc"
38 # If there are no machine dependent sources, append all the
39 # machine-independent sources:
43 # Append machine-dependent sources, then append machine-independent sources
44 # for which there is no machine-dependent variant, and not being suppressed.
46 _SUPPRESS= ${MDSRCS} ${SUPPRESSSRCS}
47 .for _src in ${MISRCS}
48 .if ${_SUPPRESS:R:M${_src:R}} == ""