Loading...
--- Libc/Libc-1725.40.4/xcodescripts/headers.sh
+++ Libc/Libc-1353.100.2/xcodescripts/headers.sh
@@ -50,34 +50,18 @@
)
INC_INSTHDRS=(
- ___wctype.h
__wctype.h
- __xlocale.h
- _abort.h
- _assert.h
- _bounds.h
_ctype.h
- _inttypes.h
- _langinfo.h
_locale.h
- _locale_posix2008.h
- _mb_cur_max.h
- _monetary.h
- _printf.h
_regex.h
- _static_assert.h
_stdio.h
- _stdlib.h
- _string.h
- _strings.h
- _time.h
_types.h
- _wchar.h
_wctype.h
_xlocale.h
_ctermid.h
aio.h
alloca.h
+ ar.h
assert.h
asm.h
bitstring.h
@@ -150,9 +134,6 @@
wordexp.h
xlocale.h
)
-if [ "${PLATFORM_NAME}" == "macosx" -o -n "${DRIVERKIT}" ]; then
- INC_INSTHDRS=( "${INC_INSTHDRS[@]}" ar.h )
-fi
if [ "x${FEATURE_LEGACY_RUNE_APIS}" == "x1" ]; then
INC_INSTHDRS=( "${INC_INSTHDRS[@]}" rune.h )
fi
@@ -173,11 +154,7 @@
if [ "x${FEATURE_THERM_NOTIFICATION_APIS}" == "x1" ]; then
INC_THERM_INSTHDRS=( OSThermalNotification.h )
- if [ "${PLATFORM_NAME}" == "macosx" ]; then
- THERM_INSTHDRS=( "${INC_THERM_INSTHDRS[@]/#/${SRCROOT}/include/libkern/}" )
- else
- THERM_LOCALHDRS=( "${INC_THERM_INSTHDRS[@]/#/${SRCROOT}/include/libkern/}" )
- fi
+ THERM_INSTHDRS=( "${INC_THERM_INSTHDRS[@]/#/${SRCROOT}/include/libkern/}" )
fi
INC_PROTO_INSTHDRS=( routed.h rwhod.h talkd.h timed.h )
@@ -189,7 +166,7 @@
SYS_INSTHDRS=( ${SRCROOT}/include/sys/acl.h ${SRCROOT}/include/sys/statvfs.h )
INC_XLOCALE_INSTHDRS=(
- ___wctype.h
+ __wctype.h
_ctype.h
_inttypes.h
_langinfo.h
@@ -204,15 +181,8 @@
)
XLOCALE_INSTHDRS=( "${INC_XLOCALE_INSTHDRS[@]/#/${SRCROOT}/include/xlocale/}" )
-MODULEMAPS=(
-)
-
-PRIV_MODULEMAPS=(
-)
-
TYPES_INSTHDRS=(
${SRCROOT}/include/_types/_intmax_t.h
- ${SRCROOT}/include/_types/_locale_t.h
${SRCROOT}/include/_types/_nl_item.h
${SRCROOT}/include/_types/_uint16_t.h
${SRCROOT}/include/_types/_uint32_t.h
@@ -225,17 +195,11 @@
LOCALHDRS=(
${SRCROOT}/darwin/libc_private.h
- ${SRCROOT}/darwin/libc_hooks.h
${SRCROOT}/gen/utmpx_thread.h
${SRCROOT}/nls/FreeBSD/msgcat.h
${SRCROOT}/gen/thread_stack_pcs.h
${SRCROOT}/libdarwin/h/dirstat.h
- ${SRCROOT}/darwin/subsystem.h
- ${SRCROOT}/darwin/_libc_init.h
-)
-if [ "${PLATFORM_NAME}" != "macosx" -a -z "${DRIVERKIT}" ]; then
- LOCALHDRS=( "${LOCALHDRS[@]}" ${SRCROOT}/include/ar.h )
-fi
+)
OS_LOCALHDRS=( ${SRCROOT}/os/assumes.h ${SRCROOT}/os/debug_private.h )
@@ -253,7 +217,6 @@
${SRCROOT}/include/sys/rbtree.h
${SRCROOT}/include/sys/statvfs.h
)
-
PRIVUUID_INSTHDRS=( ${SRCROOT}/uuid/namespace.h )
else # DRIVERKITSDK
@@ -263,25 +226,11 @@
UNIFDEFARGS="${UNIFDEFARGS} -U_USE_EXTENDED_LOCALES_"
INC_INSTHDRS=(
- ___wctype.h
__wctype.h
- _abort.h
- _assert.h
- _bounds.h
_ctype.h
- _inttypes.h
_locale.h
- _locale_posix2008.h
- _mb_cur_max.h
- _printf.h
- _static_assert.h
_stdio.h
- _stdlib.h
- _string.h
- _strings.h
- _time.h
_types.h
- _wchar.h
_wctype.h
alloca.h
assert.h
@@ -303,7 +252,6 @@
TYPES_INSTHDRS=(
${SRCROOT}/include/_types/_intmax_t.h
- ${SRCROOT}/include/_types/_locale_t.h
${SRCROOT}/include/_types/_uint16_t.h
${SRCROOT}/include/_types/_uint32_t.h
${SRCROOT}/include/_types/_uint64_t.h
@@ -355,25 +303,13 @@
${MKDIR} ${INCDIR}/_types
${INSTALL} -m ${INSTALLMODE} ${TYPES_INSTHDRS[@]} ${INCDIR}/_types
fi
-if [ -n "${MODULEMAPS}" ]; then
-${MKDIR} ${INCDIR}
-${INSTALL} -m ${INSTALLMODE} ${MODULEMAPS[@]} ${INCDIR}
-fi
if [ -n "${LOCALHDRS}" ]; then
${MKDIR} ${LOCINCDIR}
${INSTALL} -m ${INSTALLMODE} ${LOCALHDRS[@]} ${LOCINCDIR}
fi
-if [ -n "${THERM_LOCALHDRS}" ]; then
-${MKDIR} ${LOCINCDIR}/libkern
-${INSTALL} -m ${INSTALLMODE} ${THERM_LOCALHDRS[@]} ${LOCINCDIR}/libkern
-fi
if [ -n "${OS_LOCALHDRS}" ]; then
${MKDIR} ${LOCINCDIR}/os
${INSTALL} -m ${INSTALLMODE} ${OS_LOCALHDRS[@]} ${LOCINCDIR}/os
-fi
-if [ -n "${PRIV_MODULEMAPS}" ]; then
-${MKDIR} ${LOCINCDIR}
-${INSTALL} -m ${INSTALLMODE} ${PRIV_MODULEMAPS[@]} ${LOCINCDIR}
fi
if [ -n "${PRIV_INSTHDRS}" ]; then
${MKDIR} ${PRIVHDRS}