]> git.saurik.com Git - apple/libpthread.git/blob - xcodescripts/install-codes.sh
libpthread-416.60.2.tar.gz
[apple/libpthread.git] / xcodescripts / install-codes.sh
1 #!/bin/bash -e
2
3 if [ "${DRIVERKIT}" = 1 ]; then exit 0; fi
4
5 # install kdebug trace files based on the input file
6 INPUT=${SCRIPT_INPUT_FILE_0}
7 OUTPUT=${SCRIPT_OUTPUT_FILE_0}
8
9 # pre-process the source and pass through perl it
10 xcrun cc -E -I${SDKROOT}/System/Library/Frameworks/System.framework/PrivateHeaders -D_PTHREAD_BUILDING_CODES_ "${INPUT}" | perl > "${OUTPUT}"