Loading...
include/Makefile.inc Libc-498 Libc-763.12
--- Libc/Libc-498/include/Makefile.inc
+++ Libc/Libc-763.12/include/Makefile.inc
@@ -1,14 +1,13 @@
-.ifnmake autopatch
 .include "${.CURDIR}/include/arpa/Makefile.inc"
 .include "${.CURDIR}/include/libkern/Makefile.inc"
 .include "${.CURDIR}/include/protocols/Makefile.inc"
-.include "${.CURDIR}/include/machine/Makefile.inc"
 .include "${.CURDIR}/include/malloc/Makefile.inc"
+.ifdef FEATURE_LEGACY_NXZONE_APIS
 .include "${.CURDIR}/include/objc/Makefile.inc"
+.endif
 .include "${.CURDIR}/include/secure/Makefile.inc"
 .include "${.CURDIR}/include/sys/Makefile.inc"
 .include "${.CURDIR}/include/xlocale/Makefile.inc"
-.endif # !autopatch
 
 INC_INSTHDRS += NSSystemDirectories.h \
 		_locale.h \
@@ -32,7 +31,6 @@
 		err.h \
 		errno.h \
 		fcntl.h \
-		float.h \
 		fmtmsg.h \
 		fnmatch.h \
 		fsproperties.h \
@@ -62,7 +60,6 @@
 		ranlib.h \
 		readpassphrase.h \
 		regex.h \
-		rune.h \
 		runetype.h \
 		search.h \
 		semaphore.h \
@@ -72,10 +69,10 @@
 		spawn.h \
 		stab.h \
 		standards.h \
-		stdarg.h \
 		stdbool.h \
 		stddef.h \
 		stdio.h \
+		stdint.h \
 		stdlib.h \
 		strhash.h \
 		string.h \
@@ -94,24 +91,36 @@
 		unistd.h \
 		util.h \
 		utime.h \
-		utmp.h \
 		utmpx.h \
-		varargs.h \
 		vis.h \
 		wchar.h \
 		wctype.h \
 		wordexp.h \
 		xlocale.h
 
+.ifdef FEATURE_LEGACY_RUNE_APIS
+INC_INSTHDRS += rune.h
+.endif
+
+.ifdef FEATURE_LEGACY_UTMP_APIS
+INC_INSTHDRS += utmp.h
+.endif
+
 .PATH: ${.CURDIR}/include
+CWD := ${.CURDIR}/include
+
 MAN3 += sysexits.3
 
 INC_INSTHDRS := ${INC_INSTHDRS:S/^/${.CURDIR}\/include\//}
 INSTHDRS += ${INC_INSTHDRS}
 
-STRIP_HDRS += ctype.h dirent.h fnmatch.h fts.h ftw.h glob.h regex.h \
-	signal.h stdio.h stdlib.h string.h time.h unistd.h wchar.h xlocale.h
+LOCALHDRS += ${.CURDIR}/include/spawn_private.h
 
 .include "Makefile.nbsd_begin"
 NBSDHDRS = utmpx.h
 .include "Makefile.nbsd_end"
+
+.include "Makefile.fbsd_begin"
+FBSDHDRS= nl_types.h
+.include "Makefile.fbsd_end"
+