]> git.saurik.com Git - cycript.git/blobdiff - Makefile.in
This implementation for Java works, but I hate it.
[cycript.git] / Makefile.in
index cd8482e95a31b329197f7f44b71a5fd3d6545809..90e35432802233f3ad87ba3ff7d9b56eba169a9e 100644 (file)
@@ -114,24 +114,27 @@ host_triplet = @host@
 @CY_EXECUTE_TRUE@am__append_2 = sig/ffi_type.cpp sig/parse.cpp \
 @CY_EXECUTE_TRUE@      sig/copy.cpp Execute.cpp JavaScriptCore.cpp
 @CY_EXECUTE_TRUE@am__append_3 = $(LTJAVASCRIPTCORE)
-@CY_EXECUTE_TRUE@am__append_4 = -DCY_EXECUTE
-@CY_EXECUTE_TRUE@am__append_5 = C
-@CY_EXECUTE_TRUE@am__append_6 = libcycript.db
-@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@am__append_7 = Analyze Bridge.def
-@CY_EXECUTE_TRUE@@CY_PRELINK_FALSE@am__append_8 = Bridge.def
-@CY_EXECUTE_TRUE@am__append_9 = Bridge.gperf Bridge.hpp
-@CY_JAVA_TRUE@am__append_10 = Java
-@CY_JAVA_TRUE@am__append_11 = Java/Execute.cpp
-@CY_JAVA_TRUE@am__append_12 = $(LTJAVA)
-@CY_RUBY_TRUE@am__append_13 = Ruby
-@CY_RUBY_TRUE@am__append_14 = Ruby/Execute.cpp
-@CY_RUBY_TRUE@am__append_15 = $(LTRUBY)
-@CY_OBJECTIVEC_TRUE@am__append_16 = ObjectiveC
-@CY_OBJECTIVEC_TRUE@am__append_17 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm
-@CY_OBJECTIVEC_TRUE@am__append_18 = $(LTOBJECTIVEC)
-@CY_ATTACH_TRUE@am__append_19 = Handler.cpp
-@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_20 = Inject.cpp
-@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_21 = -DCY_ATTACH
+@CY_EXECUTE_TRUE@am__append_4 = libcycript.db
+@CY_EXECUTE_TRUE@am__append_5 = -DCY_EXECUTE
+@CY_EXECUTE_TRUE@am__append_6 = C
+@CY_EXECUTE_TRUE@am__append_7 = libcycript.db
+@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@am__append_8 = Analyze Bridge.def
+@CY_EXECUTE_TRUE@@CY_PRELINK_FALSE@am__append_9 = Bridge.def
+@CY_EXECUTE_TRUE@am__append_10 = Bridge.gperf Bridge.hpp
+@CY_JAVA_TRUE@am__append_11 = Java
+@CY_JAVA_TRUE@am__append_12 = Java/Execute.cpp
+@CY_JAVA_TRUE@am__append_13 = $(LTJAVA)
+@CY_JAVA_TRUE@am__append_14 = libcycript.jar
+@CY_JAVA_TRUE@am__append_15 = Class libcycript.jar
+@CY_RUBY_TRUE@am__append_16 = Ruby Python
+@CY_RUBY_TRUE@am__append_17 = Ruby/Execute.cpp Python/Execute.cpp
+@CY_RUBY_TRUE@am__append_18 = $(LTRUBY) $(LTPYTHON)
+@CY_OBJECTIVEC_TRUE@am__append_19 = ObjectiveC
+@CY_OBJECTIVEC_TRUE@am__append_20 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm
+@CY_OBJECTIVEC_TRUE@am__append_21 = $(LTOBJECTIVEC)
+@CY_ATTACH_TRUE@am__append_22 = Handler.cpp
+@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_23 = Inject.cpp
+@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_24 = -DCY_ATTACH
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
@@ -183,7 +186,8 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
 am__DEPENDENCIES_1 =
 @CY_EXECUTE_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
 @CY_JAVA_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1)
-@CY_RUBY_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1)
+@CY_RUBY_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1) \
+@CY_RUBY_TRUE@ $(am__DEPENDENCIES_1)
 @CY_OBJECTIVEC_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1)
 libcycript_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@@ -195,14 +199,14 @@ am__libcycript_la_SOURCES_DIST = ConvertUTF.c Decode.cpp Driver.cpp \
        Replace.cpp Syntax.cpp Parser.cpp Scanner.cpp Complete.cpp \
        sig/ffi_type.cpp sig/parse.cpp sig/copy.cpp Execute.cpp \
        JavaScriptCore.cpp Java/Execute.cpp Ruby/Execute.cpp \
-       ObjectiveC/Output.cpp ObjectiveC/Replace.cpp \
-       ObjectiveC/Library.mm Handler.cpp
+       Python/Execute.cpp ObjectiveC/Output.cpp \
+       ObjectiveC/Replace.cpp ObjectiveC/Library.mm Handler.cpp
 @CY_CONSOLE_TRUE@am__objects_1 = Complete.lo
 am__dirstamp = $(am__leading_dot)dirstamp
 @CY_EXECUTE_TRUE@am__objects_2 = sig/ffi_type.lo sig/parse.lo \
 @CY_EXECUTE_TRUE@      sig/copy.lo Execute.lo JavaScriptCore.lo
 @CY_JAVA_TRUE@am__objects_3 = Java/Execute.lo
-@CY_RUBY_TRUE@am__objects_4 = Ruby/Execute.lo
+@CY_RUBY_TRUE@am__objects_4 = Ruby/Execute.lo Python/Execute.lo
 @CY_OBJECTIVEC_TRUE@am__objects_5 = ObjectiveC/Output.lo \
 @CY_OBJECTIVEC_TRUE@   ObjectiveC/Replace.lo \
 @CY_OBJECTIVEC_TRUE@   ObjectiveC/Library.lo
@@ -424,6 +428,7 @@ CY_EXECUTE = @CY_EXECUTE@
 CY_JAVA = @CY_JAVA@
 CY_LIBCLANG = @CY_LIBCLANG@
 CY_OBJECTIVEC = @CY_OBJECTIVEC@
+CY_PYTHON = @CY_PYTHON@
 CY_RUBY = @CY_RUBY@
 CY_SYSTEM = @CY_SYSTEM@
 DEFS = @DEFS@
@@ -456,6 +461,8 @@ LFLAGS = @LFLAGS@
 LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
 LIBFFI_LIBS = @LIBFFI_LIBS@
 LIBOBJS = @LIBOBJS@
+LIBRUBY21_CFLAGS = @LIBRUBY21_CFLAGS@
+LIBRUBY21_LIBS = @LIBRUBY21_LIBS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
 LIPO = @LIPO@
@@ -471,6 +478,7 @@ LTLIBSQLITE3 = @LTLIBSQLITE3@
 LTLIBTERMCAP = @LTLIBTERMCAP@
 LTLIBUV = @LTLIBUV@
 LTOBJECTIVEC = @LTOBJECTIVEC@
+LTPYTHON = @LTPYTHON@
 LTRUBY = @LTRUBY@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
 MAINT = @MAINT@
@@ -568,36 +576,36 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AUTOMAKE_OPTIONS = subdir-objects
-CLEANFILES = $(am__append_6) $(am__append_7) $(am__append_8) \
-       $(am__append_9) Parser.ypp Scanner.lpp Scanner.cpp \
-       Scanner.output lex.backup Parser.cpp Parser.hpp stack.hh \
-       Parser.output
+CLEANFILES = $(am__append_7) $(am__append_8) $(am__append_9) \
+       $(am__append_10) $(am__append_15) Parser.ypp Scanner.lpp \
+       Scanner.cpp Scanner.output lex.backup Parser.cpp Parser.hpp \
+       stack.hh Parser.output
 SUBDIRS = 
 ACLOCAL_AMFLAGS = -I m4
 AM_CPPFLAGS = -DYYDEBUG=1 -DCY_SYSTEM="\"$(CY_SYSTEM)\"" -include \
-       config.h -include $(srcdir)/unconfig.h $(am__append_4) \
-       $(am__append_21)
+       config.h -include $(srcdir)/unconfig.h $(am__append_5) \
+       $(am__append_24)
 AM_CFLAGS = -fvisibility=hidden
 AM_CXXFLAGS = -fvisibility=hidden
 AM_OBJCXXFLAGS = -fvisibility=hidden -fobjc-exceptions
 AM_LDFLAGS = -fvisibility=hidden
 CY_LDFLAGS = -no-undefined -avoid-version -export-dynamic
+datdir = $(libdir)
+dat_DATA = $(am__append_4) $(am__append_14)
 lib_LTLIBRARIES = libcycript.la
 libcycript_la_LDFLAGS = $(CY_LDFLAGS)
 libcycript_la_LIBADD = $(LTLIBUV) $(LTLIBFFI) $(LTLIBSQLITE3) \
-       $(LTLIBGCC) -ldl $(am__append_3) $(am__append_12) \
-       $(am__append_15) $(am__append_18)
+       $(LTLIBGCC) -ldl $(am__append_3) $(am__append_13) \
+       $(am__append_18) $(am__append_21)
 libcycript_la_SOURCES = ConvertUTF.c Decode.cpp Driver.cpp Error.cpp \
        Highlight.cpp Library.cpp Network.cpp Output.cpp Replace.cpp \
        Syntax.cpp Parser.cpp Scanner.cpp $(am__append_1) \
-       $(am__append_2) $(am__append_11) $(am__append_14) \
-       $(am__append_17) $(am__append_19)
-filters = $(am__append_5) $(am__append_10) $(am__append_13) \
-       $(am__append_16)
-@CY_CONSOLE_TRUE@cycript_SOURCES = Console.cpp $(am__append_20)
+       $(am__append_2) $(am__append_12) $(am__append_17) \
+       $(am__append_20) $(am__append_22)
+filters = $(am__append_6) $(am__append_11) $(am__append_16) \
+       $(am__append_19)
+@CY_CONSOLE_TRUE@cycript_SOURCES = Console.cpp $(am__append_23)
 @CY_CONSOLE_TRUE@cycript_LDADD = libcycript.la $(LTLIBREADLINE) $(LTLIBTERMCAP) $(LTLIBGCC) $(PTHREAD_CFLAGS) -ldl
-@CY_EXECUTE_TRUE@datdir = $(libdir)
-@CY_EXECUTE_TRUE@dat_DATA = libcycript.db
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
@@ -709,6 +717,14 @@ Ruby/$(DEPDIR)/$(am__dirstamp):
        @$(MKDIR_P) Ruby/$(DEPDIR)
        @: > Ruby/$(DEPDIR)/$(am__dirstamp)
 Ruby/Execute.lo: Ruby/$(am__dirstamp) Ruby/$(DEPDIR)/$(am__dirstamp)
+Python/$(am__dirstamp):
+       @$(MKDIR_P) Python
+       @: > Python/$(am__dirstamp)
+Python/$(DEPDIR)/$(am__dirstamp):
+       @$(MKDIR_P) Python/$(DEPDIR)
+       @: > Python/$(DEPDIR)/$(am__dirstamp)
+Python/Execute.lo: Python/$(am__dirstamp) \
+       Python/$(DEPDIR)/$(am__dirstamp)
 ObjectiveC/$(am__dirstamp):
        @$(MKDIR_P) ObjectiveC
        @: > ObjectiveC/$(am__dirstamp)
@@ -784,6 +800,8 @@ mostlyclean-compile:
        -rm -f Java/*.lo
        -rm -f ObjectiveC/*.$(OBJEXT)
        -rm -f ObjectiveC/*.lo
+       -rm -f Python/*.$(OBJEXT)
+       -rm -f Python/*.lo
        -rm -f Ruby/*.$(OBJEXT)
        -rm -f Ruby/*.lo
        -rm -f sig/*.$(OBJEXT)
@@ -814,6 +832,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@ObjectiveC/$(DEPDIR)/Library.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@ObjectiveC/$(DEPDIR)/Output.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@ObjectiveC/$(DEPDIR)/Replace.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@Python/$(DEPDIR)/Execute.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@Ruby/$(DEPDIR)/Execute.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sig/$(DEPDIR)/copy.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sig/$(DEPDIR)/ffi_type.Plo@am__quote@
@@ -898,6 +917,7 @@ clean-libtool:
        -rm -rf .libs _libs
        -rm -rf Java/.libs Java/_libs
        -rm -rf ObjectiveC/.libs ObjectiveC/_libs
+       -rm -rf Python/.libs Python/_libs
        -rm -rf Ruby/.libs Ruby/_libs
        -rm -rf sig/.libs sig/_libs
 
@@ -1260,6 +1280,8 @@ distclean-generic:
        -rm -f Java/$(am__dirstamp)
        -rm -f ObjectiveC/$(DEPDIR)/$(am__dirstamp)
        -rm -f ObjectiveC/$(am__dirstamp)
+       -rm -f Python/$(DEPDIR)/$(am__dirstamp)
+       -rm -f Python/$(am__dirstamp)
        -rm -f Ruby/$(DEPDIR)/$(am__dirstamp)
        -rm -f Ruby/$(am__dirstamp)
        -rm -f sig/$(DEPDIR)/$(am__dirstamp)
@@ -1275,7 +1297,7 @@ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
 
 distclean: distclean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-       -rm -rf ./$(DEPDIR) Java/$(DEPDIR) ObjectiveC/$(DEPDIR) Ruby/$(DEPDIR) sig/$(DEPDIR)
+       -rm -rf ./$(DEPDIR) Java/$(DEPDIR) ObjectiveC/$(DEPDIR) Python/$(DEPDIR) Ruby/$(DEPDIR) sig/$(DEPDIR)
        -rm -f Makefile
 distclean-am: clean-am distclean-compile distclean-generic \
        distclean-hdr distclean-libtool distclean-tags
@@ -1323,7 +1345,7 @@ installcheck-am:
 maintainer-clean: maintainer-clean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
        -rm -rf $(top_srcdir)/autom4te.cache
-       -rm -rf ./$(DEPDIR) Java/$(DEPDIR) ObjectiveC/$(DEPDIR) Ruby/$(DEPDIR) sig/$(DEPDIR)
+       -rm -rf ./$(DEPDIR) Java/$(DEPDIR) ObjectiveC/$(DEPDIR) Python/$(DEPDIR) Ruby/$(DEPDIR) sig/$(DEPDIR)
        -rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
@@ -1381,6 +1403,12 @@ uninstall-am: uninstall-binPROGRAMS uninstall-datDATA \
 @CY_EXECUTE_TRUE@      $(srcdir)/Bridge.sh <$< >$@
 @CY_EXECUTE_TRUE@Bridge.hpp: Bridge.gperf
 @CY_EXECUTE_TRUE@      $(GPERF) $< >$@
+@CY_JAVA_TRUE@Class/Cycript.class: Java/Cycript.java
+@CY_JAVA_TRUE@ rm -rf Class; mkdir Class; javac -g -Xlint:unchecked -source 1.5 -target 1.5 -d Class -sourcepath $(srcdir)/Java $<
+@CY_JAVA_TRUE@Class/classes.dex: Class/Cycript.class
+@CY_JAVA_TRUE@ cd Class; dx --dex --output=../$@ *.class
+@CY_JAVA_TRUE@libcycript.jar: Class/classes.dex Class/Cycript.class
+@CY_JAVA_TRUE@ cd Class; jar cf ../$@ *
 Parser.ypp: Parser.ypp.in
        $(srcdir)/Filter.sh $< >$@ $(filters)
 Scanner.lpp: Scanner.lpp.in UnicodeIDStart.l UnicodeIDContinue.l