1647 outputPaths = ( |
1647 outputPaths = ( |
1648 "$(TARGET_BUILD_DIR)/libfpc.a", |
1648 "$(TARGET_BUILD_DIR)/libfpc.a", |
1649 ); |
1649 ); |
1650 runOnlyForDeploymentPostprocessing = 0; |
1650 runOnlyForDeploymentPostprocessing = 0; |
1651 shellPath = /bin/sh; |
1651 shellPath = /bin/sh; |
1652 shellScript = "# Build libfpc.a\n# 9 July 2006 (Jonas Maebe)\n# * original version\n# 15 September 2006 (Erling Johansen)\n# * simplified\n# 26 April 2007 (Jonas Maebe)\n# * added support for ppc64/x86_64 (future proofing)\n# 4 August 2007 (Jonas Maebe)\n# * call ranlib after ar so the toc of the library is up-to-date\n# 3 January 2009 (Jonas Maebe)\n# * support for ARM\n# 24 October 2009 (Jonas Maebe)\n# * don't hardcode version 2.3.1 anymore under certain circumstances\n# * use the FPC_RTL_UNITS_BASE setting\n# 13 December 2009 (Jonas Maebe)\n# * use new FPC_COMPILER_BINARY_DIR setting to make it easier to change the used FPC version\n\nrm -f \"$TARGET_TEMP_DIR\"/*.a\nnarch=\n\n#temparchs=`echo $ARCHS|sed -e 's/arm[^\\w]*/arm\\\n#/'|sort -u`\ntemparchs=($ARCHS)\necho $temparchs\nfor arch in $temparchs\ndo\n\ttargetos=darwin;\n\tcase $arch in\n arm64) fpc_arch=rossa64; fpc_rtl=aarch64 ;;\n armv7) fpc_arch=rossarm; fpc_rtl=arm ;;\n x86_64) fpc_arch=x64; fpc_rtl=x86_64; targetos=iphonesim ;;\n# ppc) fpc_arch=ppc; fpc_rtl=powerpc ;;\n#\t\ti386) fpc_arch=386; fpc_rtl=i386; targetos=iphonesim ;;\n#\t\tppc64) fpc_arch=ppc64; fpc_rtl=powerpc64 ;;\n#\t\tx86_64) fpc_arch=x64; fpc_rtl=x86_64 ;;\n#\t\tarm*) fpc_arch=arm; fpc_rtl=arm ;;\n\t\t*) continue\n\tesac\n\tif test -e \"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch}\n\tthen\n\t\tupath=\"$FPC_RTL_UNITS_BASE\"/`\"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch} -iV`/units/${fpc_rtl}-${targetos}\n\t\tar -q \"$TARGET_TEMP_DIR\"/libfpc${narch}.a `ls \"$upath\"/*/*.o | grep -v 'darwin/fv/'`\n\t\tranlib \"$TARGET_TEMP_DIR\"/libfpc${narch}.a\n\t\tnarch=${narch}x\n\telse\n\t\techo error: can\\'t build libfpc.a for $arch \\(${FPC_COMPILER_BINARY_DIR}/ppc${fpc_arch} not found, derived from FPC_COMPILER_BINARY_DIR project setting\\)\n\tfi\ndone\n\nif test ${#narch} -gt 1\nthen\n\tlipo -create \"$TARGET_TEMP_DIR\"/libfpc*.a -output \"$TARGET_BUILD_DIR\"/libfpc.a\n\trm -f \"$TARGET_TEMP_DIR\"/*.a\nelse\n\tmv \"$TARGET_TEMP_DIR\"/libfpc.a \"$TARGET_BUILD_DIR\"\nfi\n"; |
1652 shellScript = "# Build libfpc.a\n# 9 July 2006 (Jonas Maebe)\n# * original version\n# 15 September 2006 (Erling Johansen)\n# * simplified\n# 26 April 2007 (Jonas Maebe)\n# * added support for ppc64/x86_64 (future proofing)\n# 4 August 2007 (Jonas Maebe)\n# * call ranlib after ar so the toc of the library is up-to-date\n# 3 January 2009 (Jonas Maebe)\n# * support for ARM\n# 24 October 2009 (Jonas Maebe)\n# * don't hardcode version 2.3.1 anymore under certain circumstances\n# * use the FPC_RTL_UNITS_BASE setting\n# 13 December 2009 (Jonas Maebe)\n# * use new FPC_COMPILER_BINARY_DIR setting to make it easier to change the used FPC version\n\nrm -f \"$TARGET_TEMP_DIR\"/*.a\nnarch=\n\n#temparchs=`echo $ARCHS|sed -e 's/arm[^\\w]*/arm\\\n#/'|sort -u`\ntemparchs=`echo $ARCHS|sort -u`\necho $temparchs\nfor arch in $temparchs\ndo\n\ttargetos=darwin;\n\tcase $arch in\n arm64) fpc_arch=rossa64; fpc_rtl=aarch64 ;;\n armv7) fpc_arch=rossarm; fpc_rtl=arm ;;\n x86_64) fpc_arch=x64; fpc_rtl=x86_64; targetos=iphonesim ;;\n# ppc) fpc_arch=ppc; fpc_rtl=powerpc ;;\n#\t\ti386) fpc_arch=386; fpc_rtl=i386; targetos=iphonesim ;;\n#\t\tppc64) fpc_arch=ppc64; fpc_rtl=powerpc64 ;;\n#\t\tx86_64) fpc_arch=x64; fpc_rtl=x86_64 ;;\n#\t\tarm*) fpc_arch=arm; fpc_rtl=arm ;;\n\t\t*) continue\n\tesac\n\tif test -e \"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch}\n\tthen\n\t\tupath=\"$FPC_RTL_UNITS_BASE\"/`\"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch} -iV`/units/${fpc_rtl}-${targetos}\n\t\tar -q \"$TARGET_TEMP_DIR\"/libfpc${narch}.a `ls \"$upath\"/*/*.o | grep -v 'darwin/fv/'`\n\t\tranlib \"$TARGET_TEMP_DIR\"/libfpc${narch}.a\n\t\tnarch=${narch}x\n\telse\n\t\techo error: can\\'t build libfpc.a for $arch \\(${FPC_COMPILER_BINARY_DIR}/ppc${fpc_arch} not found, derived from FPC_COMPILER_BINARY_DIR project setting\\)\n\tfi\ndone\n \nif test ${#narch} -gt 1\nthen\n\tlipo -create \"$TARGET_TEMP_DIR\"/libfpc*.a -output \"$TARGET_BUILD_DIR\"/libfpc.a\n\trm -f \"$TARGET_TEMP_DIR\"/*.a\nelse\n\tmv \"$TARGET_TEMP_DIR\"/libfpc.a \"$TARGET_BUILD_DIR\"\nfi\n"; |
1653 }; |
1653 }; |
1654 928301560F10E04C00CC5A3C /* Compile Pascal Sources */ = { |
1654 928301560F10E04C00CC5A3C /* Compile Pascal Sources */ = { |
1655 isa = PBXShellScriptBuildPhase; |
1655 isa = PBXShellScriptBuildPhase; |
1656 buildActionMask = 2147483647; |
1656 buildActionMask = 2147483647; |
1657 comments = "This run script compiles (all) pascal sources into assembler by calling FPC with the main program (only) as argument. FPC will in turn compile dependent units as necessary. The Compile Sources build phase will detect the outdated .o files and assemble the modified sources (because the Pascal source files rule states that output from pascal compilation is assembler files in derived source folders). "; |
1657 comments = "This run script compiles (all) pascal sources into assembler by calling FPC with the main program (only) as argument. FPC will in turn compile dependent units as necessary. The Compile Sources build phase will detect the outdated .o files and assemble the modified sources (because the Pascal source files rule states that output from pascal compilation is assembler files in derived source folders). "; |
1943 ENABLE_STRICT_OBJC_MSGSEND = YES; |
1943 ENABLE_STRICT_OBJC_MSGSEND = YES; |
1944 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
1944 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
1945 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
1945 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
1946 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
1946 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
1947 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
1947 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
1948 FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs -Cfvfpv3 -dNOCONSOLE"; |
1948 FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs -dNOCONSOLE"; |
1949 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
1949 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
1950 GCC_C_LANGUAGE_STANDARD = c99; |
1950 GCC_C_LANGUAGE_STANDARD = c99; |
1951 GCC_DEBUGGING_SYMBOLS = default; |
1951 GCC_DEBUGGING_SYMBOLS = default; |
1952 GCC_DYNAMIC_NO_PIC = NO; |
1952 GCC_DYNAMIC_NO_PIC = NO; |
1953 GCC_FAST_MATH = YES; |
1953 GCC_FAST_MATH = YES; |
1993 PROVISIONING_PROFILE = ""; |
1993 PROVISIONING_PROFILE = ""; |
1994 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
1994 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
1995 SDKROOT = iphoneos; |
1995 SDKROOT = iphoneos; |
1996 TARGETED_DEVICE_FAMILY = "1,2"; |
1996 TARGETED_DEVICE_FAMILY = "1,2"; |
1997 VALIDATE_PRODUCT = YES; |
1997 VALIDATE_PRODUCT = YES; |
1998 VALID_ARCHS = "armv7 x86_64"; |
1998 VALID_ARCHS = "armv7 x86_64 arm64"; |
1999 WARNING_CFLAGS = ( |
1999 WARNING_CFLAGS = ( |
2000 "-Wall", |
2000 "-Wall", |
2001 "-Wbad-function-cast", |
2001 "-Wbad-function-cast", |
2002 "-Wmissing-declarations", |
2002 "-Wmissing-declarations", |
2003 "-Wnested-externs", |
2003 "-Wnested-externs", |
2022 COPY_PHASE_STRIP = YES; |
2022 COPY_PHASE_STRIP = YES; |
2023 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; |
2023 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; |
2024 GCC_ENABLE_FIX_AND_CONTINUE = NO; |
2024 GCC_ENABLE_FIX_AND_CONTINUE = NO; |
2025 PREBINDING = NO; |
2025 PREBINDING = NO; |
2026 PRODUCT_NAME = fpc; |
2026 PRODUCT_NAME = fpc; |
|
2027 SKIP_INSTALL = YES; |
2027 ZERO_LINK = NO; |
2028 ZERO_LINK = NO; |
2028 }; |
2029 }; |
2029 name = "Distro AppStore"; |
2030 name = "Distro AppStore"; |
2030 }; |
2031 }; |
2031 61022D7F12305A2800B08935 /* Distro AppStore */ = { |
2032 61022D7F12305A2800B08935 /* Distro AppStore */ = { |
2058 ENABLE_STRICT_OBJC_MSGSEND = YES; |
2059 ENABLE_STRICT_OBJC_MSGSEND = YES; |
2059 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
2060 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
2060 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
2061 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
2061 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
2062 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
2062 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
2063 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
2063 FPC_SPECIFIC_OPTIONS = "-dDEBUGFILE -O- -g -gl -gw2 -gt -ghttt -Xs- -Cfvfpv3"; |
2064 FPC_SPECIFIC_OPTIONS = "-dDEBUGFILE -O- -g -gl -gw2 -gt -ghttt -Xs-"; |
2064 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
2065 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
2065 GCC_C_LANGUAGE_STANDARD = c99; |
2066 GCC_C_LANGUAGE_STANDARD = c99; |
2066 GCC_DEBUGGING_SYMBOLS = full; |
2067 GCC_DEBUGGING_SYMBOLS = full; |
2067 GCC_DYNAMIC_NO_PIC = YES; |
2068 GCC_DYNAMIC_NO_PIC = YES; |
2068 GCC_FAST_MATH = YES; |
2069 GCC_FAST_MATH = YES; |
2106 PROVISIONING_PROFILE = ""; |
2107 PROVISIONING_PROFILE = ""; |
2107 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2108 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2108 SDKROOT = iphoneos; |
2109 SDKROOT = iphoneos; |
2109 TARGETED_DEVICE_FAMILY = "1,2"; |
2110 TARGETED_DEVICE_FAMILY = "1,2"; |
2110 VALIDATE_PRODUCT = YES; |
2111 VALIDATE_PRODUCT = YES; |
2111 VALID_ARCHS = "armv7 x86_64"; |
2112 VALID_ARCHS = "armv7 x86_64 arm64"; |
2112 WARNING_CFLAGS = ( |
2113 WARNING_CFLAGS = ( |
2113 "-Wall", |
2114 "-Wall", |
2114 "-Wbad-function-cast", |
2115 "-Wbad-function-cast", |
2115 "-Wmissing-declarations", |
2116 "-Wmissing-declarations", |
2116 "-Wnested-externs", |
2117 "-Wnested-externs", |
2135 COPY_PHASE_STRIP = YES; |
2136 COPY_PHASE_STRIP = YES; |
2136 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; |
2137 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; |
2137 GCC_ENABLE_FIX_AND_CONTINUE = NO; |
2138 GCC_ENABLE_FIX_AND_CONTINUE = NO; |
2138 PREBINDING = NO; |
2139 PREBINDING = NO; |
2139 PRODUCT_NAME = fpc; |
2140 PRODUCT_NAME = fpc; |
|
2141 SKIP_INSTALL = YES; |
2140 ZERO_LINK = NO; |
2142 ZERO_LINK = NO; |
2141 }; |
2143 }; |
2142 name = "Distro Adhoc"; |
2144 name = "Distro Adhoc"; |
2143 }; |
2145 }; |
2144 6137064F117B1CB3004EE44A /* Distro Adhoc */ = { |
2146 6137064F117B1CB3004EE44A /* Distro Adhoc */ = { |
2262 PROVISIONING_PROFILE = ""; |
2266 PROVISIONING_PROFILE = ""; |
2263 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2267 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2264 SDKROOT = iphoneos; |
2268 SDKROOT = iphoneos; |
2265 TARGETED_DEVICE_FAMILY = "1,2"; |
2269 TARGETED_DEVICE_FAMILY = "1,2"; |
2266 VALIDATE_PRODUCT = NO; |
2270 VALIDATE_PRODUCT = NO; |
2267 VALID_ARCHS = "armv7 x86_64"; |
2271 VALID_ARCHS = "armv7 x86_64 arm64"; |
2268 WARNING_CFLAGS = ( |
2272 WARNING_CFLAGS = ( |
2269 "-Wall", |
2273 "-Wall", |
2270 "-Wbad-function-cast", |
2274 "-Wbad-function-cast", |
2271 "-Wmissing-declarations", |
2275 "-Wmissing-declarations", |
2272 "-Wnested-externs", |
2276 "-Wnested-externs", |
2293 ENABLE_STRICT_OBJC_MSGSEND = YES; |
2297 ENABLE_STRICT_OBJC_MSGSEND = YES; |
2294 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
2298 FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B -vwi -Sgix -Fi${PROJECT_DIR}"; |
2295 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
2299 FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1; |
2296 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
2300 FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas"; |
2297 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
2301 FPC_RTL_UNITS_BASE = /usr/local/lib/fpc; |
2298 FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs -Cparmv7 -Cfvfpv3 -dDEBUGFILE"; |
2302 FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs -dDEBUGFILE"; |
2299 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
2303 FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\""; |
2300 GCC_C_LANGUAGE_STANDARD = c99; |
2304 GCC_C_LANGUAGE_STANDARD = c99; |
2301 GCC_DEBUGGING_SYMBOLS = default; |
2305 GCC_DEBUGGING_SYMBOLS = default; |
2302 GCC_DYNAMIC_NO_PIC = NO; |
2306 GCC_DYNAMIC_NO_PIC = NO; |
2303 GCC_FAST_MATH = YES; |
2307 GCC_FAST_MATH = YES; |
2331 "\"$(SRCROOT)/../../../Library/SDL_net/\"", |
2335 "\"$(SRCROOT)/../../../Library/SDL_net/\"", |
2332 "\"$(SRCROOT)/../../../Library/SDL_mixer/\"", |
2336 "\"$(SRCROOT)/../../../Library/SDL_mixer/\"", |
2333 ); |
2337 ); |
2334 IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
2338 IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
2335 LLVM_LTO = NO; |
2339 LLVM_LTO = NO; |
2336 ONLY_ACTIVE_ARCH = YES; |
2340 ONLY_ACTIVE_ARCH = NO; |
2337 OTHER_LDFLAGS = ( |
2341 OTHER_LDFLAGS = ( |
2338 "-lz", |
2342 "-lz", |
2339 "-Wl,-no_order_inits", |
2343 "-Wl,-no_order_inits", |
2340 ); |
2344 ); |
2341 PREBINDING = NO; |
2345 PREBINDING = NO; |
2342 PROVISIONING_PROFILE = ""; |
2346 PROVISIONING_PROFILE = ""; |
2343 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2347 "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; |
2344 SDKROOT = iphoneos; |
2348 SDKROOT = iphoneos; |
2345 TARGETED_DEVICE_FAMILY = "1,2"; |
2349 TARGETED_DEVICE_FAMILY = "1,2"; |
2346 VALIDATE_PRODUCT = NO; |
2350 VALIDATE_PRODUCT = NO; |
2347 VALID_ARCHS = "armv7 x86_64"; |
2351 VALID_ARCHS = "armv7 x86_64 arm64"; |
2348 WARNING_CFLAGS = ( |
2352 WARNING_CFLAGS = ( |
2349 "-Wall", |
2353 "-Wall", |
2350 "-Wbad-function-cast", |
2354 "-Wbad-function-cast", |
2351 "-Wmissing-declarations", |
2355 "-Wmissing-declarations", |
2352 "-Wnested-externs", |
2356 "-Wnested-externs", |