|
4 | 4 | # - iOS - build everything for iOS |
5 | 5 | # - tvOS - build everything for tvOS |
6 | 6 | # - watchOS - build everything for watchOS |
| 7 | +# - MacCatalyst - build everything for MacCatalyst |
7 | 8 | # - BZip2 - build BZip2 for all platforms |
8 | 9 | # - BZip2-iOS - build BZip2 for iOS |
9 | 10 | # - BZip2-tvOS - build BZip2 for tvOS |
10 | 11 | # - BZip2-watchOS - build BZip2 for watchOS |
| 12 | +# - BZip2-MacCatalyst - build BZip2 for MacCatalyst |
11 | 13 | # - XZ - build XZ for all platforms |
12 | 14 | # - XZ-iOS - build XZ for iOS |
13 | 15 | # - XZ-tvOS - build XZ for tvOS |
14 | 16 | # - XZ-watchOS - build XZ for watchOS |
| 17 | +# - XZ-MacCatalyst - build XZ for MacCatalyst |
15 | 18 | # - OpenSSL - build OpenSSL for all platforms |
16 | 19 | # - OpenSSL-iOS - build OpenSSL for iOS |
17 | 20 | # - OpenSSL-tvOS - build OpenSSL for tvOS |
18 | 21 | # - OpenSSL-watchOS - build OpenSSL for watchOS |
| 22 | +# - OpenSSL-MacCatalyst - build OpenSSL for MacCatalyst |
19 | 23 | # - mpdecimal - build mpdecimal for all platforms |
20 | 24 | # - mpdecimal-iOS - build mpdecimal for iOS |
21 | 25 | # - mpdecimal-tvOS - build mpdecimal for tvOS |
22 | 26 | # - mpdecimal-watchOS - build mpdecimal for watchOS |
| 27 | +# - mpdecimal-MacCatalyst - build mpdecimal for MacCatalyst |
23 | 28 | # - libFFI-iOS - build libFFI for iOS |
24 | 29 | # - libFFI-tvOS - build libFFI for tvOS |
25 | 30 | # - libFFI-watchOS - build libFFI for watchOS |
| 31 | +# - libFFI-MacCatalyst - build libFFI for MacCatalyst |
26 | 32 |
|
27 | 33 | # Current directory |
28 | 34 | PROJECT_DIR=$(shell pwd) |
29 | 35 |
|
30 | 36 | # Supported OS and products |
31 | 37 | PRODUCTS=BZip2 XZ OpenSSL libFFI |
32 | | -OS_LIST=iOS tvOS watchOS |
| 38 | +OS_LIST=iOS tvOS watchOS MacCatalyst |
33 | 39 |
|
34 | 40 | # The versions to compile by default. |
35 | 41 | # In practice, these should be |
@@ -57,10 +63,15 @@ LIBFFI_VERSION=3.4.7 |
57 | 63 | CURL_FLAGS=--disable --fail --location --create-dirs --progress-bar |
58 | 64 |
|
59 | 65 | # iOS targets |
60 | | -TARGETS-iOS=iphonesimulator.x86_64 iphonesimulator.arm64 iphoneos.arm64 maccatalyst.x86_64 maccatalyst.arm64 |
61 | | -VERSION_MIN-iOS=14.2 |
| 66 | +TARGETS-iOS=iphonesimulator.x86_64 iphonesimulator.arm64 iphoneos.arm64 |
| 67 | +VERSION_MIN-iOS=13.0 |
62 | 68 | CFLAGS-iOS=-mios-version-min=$(VERSION_MIN-iOS) |
63 | 69 |
|
| 70 | +# MacCatalyst targets |
| 71 | +TARGETS-MacCatalyst=maccatalyst.x86_64 maccatalyst.arm64 |
| 72 | +VERSION_MIN-MacCatalyst=14.2 |
| 73 | +CFLAGS-MacCatalyst=-mios-version-min=$(VERSION_MIN-MacCatalyst) |
| 74 | + |
64 | 75 | # tvOS targets |
65 | 76 | TARGETS-tvOS=appletvsimulator.x86_64 appletvsimulator.arm64 appletvos.arm64 |
66 | 77 | VERSION_MIN-tvOS=9.0 |
|
0 commit comments