Loading...
--- Libc/Libc-391/Makefile.inc
+++ Libc/Libc-262.3.2/Makefile.inc
@@ -10,36 +10,6 @@
MIASM=
NOASM=
-# SUPPRESSSRCS is used to prevent machine-independent files from being
-# built, when a machine-dependent file defines multiple symbols.
-# Use MDSRCS to block one file, and SUPPRESSSRCS to block the others.
-SUPPRESSSRCS=
-
-# Auto-patching variables
-AUTOPATCHHDRS=
-AUTOPATCHMAN=
-AUTOPATCHSRCS=
-
-# Auto-patch into OBJROOT
-_AUTOPATCH: .USE
- @if [ -f ${.ALLSRC}.patch ]; then \
- echo cp ${.ALLSRC} ${.TARGET}; \
- cp ${.ALLSRC} ${.TARGET}; \
- echo patch ${.TARGET} ${.ALLSRC}.patch; \
- patch ${.TARGET} ${.ALLSRC}.patch; \
- else \
- echo ln -s ${.ALLSRC} ${.TARGET}; \
- ln -s ${.ALLSRC} ${.TARGET}; \
- fi
-# Auto-patch into SYMROOT
-_AUTOPATCHSYM: .USE
- @echo cp ${.ALLSRC} ${.TARGET}; \
- cp ${.ALLSRC} ${.TARGET}; \
- if [ -f ${.ALLSRC}.patch ]; then \
- echo patch ${.TARGET} ${.ALLSRC}.patch; \
- patch ${.TARGET} ${.ALLSRC}.patch; \
- fi
-
#
# If there is a machine dependent makefile, use it:
#
@@ -47,11 +17,8 @@
.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
.endif
-.include "${.CURDIR}/darwin/Makefile.inc"
.include "${.CURDIR}/db/Makefile.inc"
.include "${.CURDIR}/compat-43/Makefile.inc"
-.include "${.CURDIR}/emulated/Makefile.inc"
-.include "${.CURDIR}/gdtoa/Makefile.inc"
.include "${.CURDIR}/gen/Makefile.inc"
.include "${.CURDIR}/gmon/Makefile.inc"
.include "${.CURDIR}/include/Makefile.inc"
@@ -59,8 +26,8 @@
.include "${.CURDIR}/locale/Makefile.inc"
.include "${.CURDIR}/mach/Makefile.inc"
.include "${.CURDIR}/net/Makefile.inc"
-.include "${.CURDIR}/nls/Makefile.inc"
-.include "${.CURDIR}/posix1e/Makefile.inc"
+#.include "${.CURDIR}/nls/Makefile.inc"
+#.include "${.CURDIR}/posix1e/Makefile.inc"
.include "${.CURDIR}/pthreads/Makefile.inc"
.if !defined(NO_QUAD)
#.include "${.CURDIR}/quad/Makefile.inc"
@@ -73,16 +40,15 @@
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/threads/Makefile.inc"
.include "${.CURDIR}/util/Makefile.inc"
-.include "${.CURDIR}/uuid/Makefile.inc"
#.include "${.CURDIR}/rpc/Makefile.inc"
#.include "${.CURDIR}/xdr/Makefile.inc"
-#.if !defined(NO_YP_LIBC)
-#CFLAGS+= -DYP
+.if !defined(NO_YP_LIBC)
+CFLAGS+= -DYP
#.include "${.CURDIR}/yp/Makefile.inc"
-#.endif
-#.if !defined(NO_HESIOD_LIBC)
-#CFLAGS+= -DHESIOD
-#.endif
+.endif
+.if !defined(NO_HESIOD_LIBC)
+CFLAGS+= -DHESIOD
+.endif
# If there are no machine dependent sources, append all the
# machine-independent sources:
@@ -90,11 +56,10 @@
SRCS+= ${MISRCS}
.else
# Append machine-dependent sources, then append machine-independent sources
-# for which there is no machine-dependent variant, and not being suppressed.
+# for which there is no machine-dependent variant.
SRCS+= ${MDSRCS}
-_SUPPRESS= ${MDSRCS} ${SUPPRESSSRCS}
.for _src in ${MISRCS}
-.if ${_SUPPRESS:R:M${_src:R}} == ""
+.if ${MDSRCS:R:M${_src:R}} == ""
SRCS+= ${_src}
.endif
.endfor