1#### iPhoneOS/iOS 2# 3# It takes recent enough Xcode to use following two targets. It shouldn't 4# be a problem by now, but if they don't work, original targets below 5# that depend on manual definition of environment variables should still 6# work... 7# 8my %targets = ( 9 "ios-common" => { 10 template => 1, 11 inherit_from => [ "darwin-common" ], 12 sys_id => "iOS", 13 disable => [ "engine", "async" ], 14 }, 15 "ios-xcrun" => { 16 inherit_from => [ "ios-common", asm("armv4_asm") ], 17 bn_ops => [ "BN_LLONG", "RC4_CHAR" ], 18 perlasm_scheme => "ios32", 19 }, 20 "ios64-xcrun" => { 21 inherit_from => [ "ios-common", asm("aarch64_asm") ], 22 bn_ops => [ "SIXTY_FOUR_BIT_LONG", "RC4_CHAR" ], 23 perlasm_scheme => "ios64", 24 }, 25 "iossimulator-xcrun" => { 26 inherit_from => [ "ios-common" ], 27 }, 28 29 "iphoneos-cross" => { 30 inherit_from => [ "ios-common" ], 31 cflags => add("-Wall -fno-common"), 32 }, 33 "ios-cross" => { 34 inherit_from => [ "ios-xcrun" ], 35 cflags => add("-Wall -fno-common"), 36 }, 37 "ios64-cross" => { 38 inherit_from => [ "ios64-xcrun" ], 39 cflags => add("-Wall -fno-common"), 40 }, 41); 42