]> git.saurik.com Git - cycript.git/blobdiff - Makefile.in
On ARM, mach_vm isn't supported, so use vm_map.
[cycript.git] / Makefile.in
index 35b50b013d116fe69ac35a11ba4ee0900c136836..22897003b5886870c76ebab385ba7abcd5d45a96 100644 (file)
@@ -79,7 +79,7 @@ bin_PROGRAMS = cycript$(EXEEXT)
 @CY_EXECUTE_TRUE@am__append_4 = C
 @CY_EXECUTE_TRUE@am__append_5 = Bridge.gperf Bridge.hpp
 @CY_OBJECTIVEC_TRUE@am__append_6 = ObjectiveC
-@CY_OBJECTIVEC_TRUE@am__append_7 = ObjectiveC/Output.mm ObjectiveC/Replace.cpp ObjectiveC/Library.mm
+@CY_OBJECTIVEC_TRUE@am__append_7 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm
 @CY_OBJECTIVEC_TRUE@am__append_8 = $(LTOBJECTIVEC)
 @CY_MACH_TRUE@am__append_9 = Handler.mm
 @CY_MACH_TRUE@am__append_10 = Mach/Inject.cpp
@@ -394,9 +394,10 @@ CY_ARCH = @CY_ARCH@
 CY_ATTACH_GROUP = @CY_ATTACH_GROUP@
 CY_EXECUTE = @CY_EXECUTE@
 CY_FILTERS = @CY_FILTERS@
-CY_IOS_SIMULATOR = @CY_IOS_SIMULATOR@
 CY_MACH = @CY_MACH@
 CY_OBJECTIVEC = @CY_OBJECTIVEC@
+CY_XCODE_IOSSIMSDK = @CY_XCODE_IOSSIMSDK@
+CY_XCODE_MACOSXSDK = @CY_XCODE_MACOSXSDK@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
 DLLTOOL = @DLLTOOL@
@@ -565,14 +566,16 @@ filters = $(CY_FILTERS) $(am__append_4) $(am__append_6)
 libcycript_sim_la_SHORTNAME = sim
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_SOURCES = $(libcycript_sys_la_SOURCES)
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_CPPFLAGS = $(AM_CPPFLAGS) \
-@CY_IOS_SIMULATOR_TRUE@        -idirafter /usr/include
-@CY_IOS_SIMULATOR_TRUE@CY_SIM_FLAGS = -arch i386 -isysroot $(CY_IOS_SIMULATOR)
+@CY_IOS_SIMULATOR_TRUE@        -idirafter \
+@CY_IOS_SIMULATOR_TRUE@        $(CY_XCODE_MACOSXSDK)/usr/include
+@CY_IOS_SIMULATOR_TRUE@CY_SIM_FLAGS = -arch i386 -isysroot $(CY_XCODE_IOSSIMSDK)
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_CXXFLAGS = $(CY_SIM_FLAGS)
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_OBJCXXFLAGS =  \
 @CY_IOS_SIMULATOR_TRUE@        $(CY_SIM_FLAGS) -fobjc-abi-version=2 \
 @CY_IOS_SIMULATOR_TRUE@        -fobjc-legacy-dispatch
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_LDFLAGS = $(CY_SIM_FLAGS) \
-@CY_IOS_SIMULATOR_TRUE@        $(CY_LDFLAGS) -Wl,/usr/lib/libffi.dylib
+@CY_IOS_SIMULATOR_TRUE@        $(CY_LDFLAGS) -Wl,/usr/lib/libffi.dylib \
+@CY_IOS_SIMULATOR_TRUE@        -mios-simulator-version-min=2.0
 @CY_IOS_SIMULATOR_TRUE@libcycript_sim_la_LIBADD = $(LTOBJECTIVEC) -ldl \
 @CY_IOS_SIMULATOR_TRUE@        $(LTOBJECTIVEC) $(LTJAVASCRIPTCORE)
 all: config.h