X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c937f292473ac8c8be2694c7ebf59934d904d751..dbf05bfd2ab79568fe706daa9112037192d4d9dd:/Makefile.in diff --git a/Makefile.in b/Makefile.in index 7383506..90e3543 100644 --- a/Makefile.in +++ b/Makefile.in @@ -34,6 +34,7 @@ # }}} + VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ @@ -111,24 +112,33 @@ host_triplet = @host@ @CY_CONSOLE_TRUE@bin_PROGRAMS = cycript$(EXEEXT) @CY_CONSOLE_TRUE@am__append_1 = Complete.cpp @CY_EXECUTE_TRUE@am__append_2 = sig/ffi_type.cpp sig/parse.cpp \ -@CY_EXECUTE_TRUE@ sig/copy.cpp Bridge.cpp Execute.cpp \ -@CY_EXECUTE_TRUE@ JavaScriptCore.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 = Bridge.gperf Bridge.hpp -@CY_JAVA_TRUE@am__append_7 = Java -@CY_JAVA_TRUE@am__append_8 = Java/Execute.cpp -@CY_JAVA_TRUE@am__append_9 = $(LTJAVA) -@CY_OBJECTIVEC_TRUE@am__append_10 = ObjectiveC -@CY_OBJECTIVEC_TRUE@am__append_11 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm -@CY_OBJECTIVEC_TRUE@am__append_12 = $(LTOBJECTIVEC) -@CY_ATTACH_TRUE@am__append_13 = Handler.cpp -@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_14 = Inject.cpp -@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_15 = -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 \ + $(top_srcdir)/m4/ax_prog_cxx_for_build.m4 \ $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/framework.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ @@ -170,37 +180,42 @@ am__uninstall_files_from_dir = { \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(datdir)" 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_OBJECTIVEC_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) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) \ + $(am__DEPENDENCIES_5) am__libcycript_la_SOURCES_DIST = ConvertUTF.c Decode.cpp Driver.cpp \ - Highlight.cpp Library.cpp Network.cpp Output.cpp Parser.cpp \ - Replace.cpp Cycript.tab.cc lex.cy.cpp Complete.cpp \ - sig/ffi_type.cpp sig/parse.cpp sig/copy.cpp Bridge.cpp \ - Execute.cpp JavaScriptCore.cpp Java/Execute.cpp \ - ObjectiveC/Output.cpp ObjectiveC/Replace.cpp \ - ObjectiveC/Library.mm Handler.cpp + Error.cpp Highlight.cpp Library.cpp Network.cpp Output.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 \ + 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 Bridge.lo Execute.lo \ -@CY_EXECUTE_TRUE@ JavaScriptCore.lo +@CY_EXECUTE_TRUE@ sig/copy.lo Execute.lo JavaScriptCore.lo @CY_JAVA_TRUE@am__objects_3 = Java/Execute.lo -@CY_OBJECTIVEC_TRUE@am__objects_4 = ObjectiveC/Output.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 -@CY_ATTACH_TRUE@am__objects_5 = Handler.lo -am_libcycript_la_OBJECTS = ConvertUTF.lo Decode.lo Driver.lo \ - Highlight.lo Library.lo Network.lo Output.lo Parser.lo \ - Replace.lo Cycript.tab.lo lex.cy.lo $(am__objects_1) \ +@CY_ATTACH_TRUE@am__objects_6 = Handler.lo +am_libcycript_la_OBJECTS = ConvertUTF.lo Decode.lo Driver.lo Error.lo \ + Highlight.lo Library.lo Network.lo Output.lo Replace.lo \ + Syntax.lo Parser.lo Scanner.lo $(am__objects_1) \ $(am__objects_2) $(am__objects_3) $(am__objects_4) \ - $(am__objects_5) + $(am__objects_5) $(am__objects_6) libcycript_la_OBJECTS = $(am_libcycript_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) @@ -210,10 +225,10 @@ libcycript_la_LINK = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(OBJCXXLD) $(AM_OBJCXXFLAGS) \ $(OBJCXXFLAGS) $(libcycript_la_LDFLAGS) $(LDFLAGS) -o $@ PROGRAMS = $(bin_PROGRAMS) -am__cycript_SOURCES_DIST = Console.cpp Display.cpp Inject.cpp -@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__objects_6 = Inject.$(OBJEXT) +am__cycript_SOURCES_DIST = Console.cpp Inject.cpp +@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__objects_7 = Inject.$(OBJEXT) @CY_CONSOLE_TRUE@am_cycript_OBJECTS = Console.$(OBJEXT) \ -@CY_CONSOLE_TRUE@ Display.$(OBJEXT) $(am__objects_6) +@CY_CONSOLE_TRUE@ $(am__objects_7) cycript_OBJECTS = $(am_cycript_OBJECTS) @CY_CONSOLE_TRUE@cycript_DEPENDENCIES = libcycript.la \ @CY_CONSOLE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @@ -304,6 +319,7 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac +DATA = $(dat_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ @@ -388,19 +404,33 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BISON = @BISON@ +BUILD_EXEEXT = @BUILD_EXEEXT@ +BUILD_OBJEXT = @BUILD_OBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ +CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ +CPP_FOR_BUILD = @CPP_FOR_BUILD@ CXX = @CXX@ CXXCPP = @CXXCPP@ +CXXCPPFLAGS_FOR_BUILD = @CXXCPPFLAGS_FOR_BUILD@ +CXXCPP_FOR_BUILD = @CXXCPP_FOR_BUILD@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ +CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ +CXX_FOR_BUILD = @CXX_FOR_BUILD@ CYGPATH_W = @CYGPATH_W@ 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@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ @@ -426,9 +456,13 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ +LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ +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@ @@ -440,8 +474,12 @@ LTLIBFFI = @LTLIBFFI@ LTLIBGCC = @LTLIBGCC@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ +LTLIBSQLITE3 = @LTLIBSQLITE3@ LTLIBTERMCAP = @LTLIBTERMCAP@ +LTLIBUV = @LTLIBUV@ LTOBJECTIVEC = @LTOBJECTIVEC@ +LTPYTHON = @LTPYTHON@ +LTRUBY = @LTRUBY@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ @@ -486,7 +524,9 @@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ +ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@ ac_ct_CXX = @ac_ct_CXX@ +ac_ct_CXX_FOR_BUILD = @ac_ct_CXX_FOR_BUILD@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ @@ -536,35 +576,41 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = subdir-objects -CLEANFILES = $(am__append_6) Cycript.yy Cycript.l lex.cy.cpp \ - Cycript.tab.cc Cycript.tab.hh stack.hh Cycript.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 -include config.h -include \ - $(srcdir)/unconfig.h $(am__append_4) $(am__append_15) +AM_CPPFLAGS = -DYYDEBUG=1 -DCY_SYSTEM="\"$(CY_SYSTEM)\"" -include \ + 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 = $(LTLIBFFI) $(LTLIBGCC) -ldl $(am__append_3) \ - $(am__append_9) $(am__append_12) -libcycript_la_SOURCES = ConvertUTF.c Decode.cpp Driver.cpp \ - Highlight.cpp Library.cpp Network.cpp Output.cpp Parser.cpp \ - Replace.cpp Cycript.tab.cc lex.cy.cpp $(am__append_1) \ - $(am__append_2) $(am__append_8) $(am__append_11) \ - $(am__append_13) -filters = $(am__append_5) $(am__append_7) $(am__append_10) -@CY_CONSOLE_TRUE@cycript_SOURCES = Console.cpp Display.cpp \ -@CY_CONSOLE_TRUE@ $(am__append_14) +libcycript_la_LIBADD = $(LTLIBUV) $(LTLIBFFI) $(LTLIBSQLITE3) \ + $(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_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 all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -.SUFFIXES: .c .cc .cpp .lo .mm .o .obj +.SUFFIXES: .c .cpp .lo .mm .o .obj am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -664,6 +710,21 @@ Java/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) Java/$(DEPDIR) @: > Java/$(DEPDIR)/$(am__dirstamp) Java/Execute.lo: Java/$(am__dirstamp) Java/$(DEPDIR)/$(am__dirstamp) +Ruby/$(am__dirstamp): + @$(MKDIR_P) Ruby + @: > Ruby/$(am__dirstamp) +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) @@ -739,20 +800,22 @@ 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) -rm -f sig/*.lo distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bridge.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Complete.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Console.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ConvertUTF.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Cycript.tab.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Decode.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Display.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Driver.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Execute.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Handler.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Highlight.Plo@am__quote@ @@ -763,11 +826,14 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Output.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Replace.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lex.cy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Scanner.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Syntax.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@Java/$(DEPDIR)/Execute.Plo@am__quote@ @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@ @AMDEP_TRUE@@am__include@ @am__quote@sig/$(DEPDIR)/parse.Plo@am__quote@ @@ -796,30 +862,6 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< -.cc.o: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ -@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< - .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @@ -875,10 +917,33 @@ 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 distclean-libtool: -rm -f libtool config.lt +install-datDATA: $(dat_DATA) + @$(NORMAL_INSTALL) + @list='$(dat_DATA)'; test -n "$(datdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(datdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(datdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(datdir)" || exit $$?; \ + done + +uninstall-datDATA: + @$(NORMAL_UNINSTALL) + @list='$(dat_DATA)'; test -n "$(datdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(datdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. @@ -1176,12 +1241,12 @@ distcleancheck: distclean exit 1; } >&2 check-am: all-am check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) config.h install-binPROGRAMS: install-libLTLIBRARIES installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(datdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive @@ -1215,6 +1280,10 @@ 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) -rm -f sig/$(am__dirstamp) @@ -1228,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) 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 @@ -1245,7 +1314,7 @@ info: info-recursive info-am: -install-data-am: +install-data-am: install-datDATA install-dvi: install-dvi-recursive @@ -1276,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) 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 @@ -1293,7 +1362,8 @@ ps: ps-recursive ps-am: -uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES +uninstall-am: uninstall-binPROGRAMS uninstall-datDATA \ + uninstall-libLTLIBRARIES .MAKE: $(am__recursive_targets) all install-am install-strip @@ -1305,42 +1375,60 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES distcheck distclean distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ - info-am install install-am install-binPROGRAMS install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-libLTLIBRARIES install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-libLTLIBRARIES + info-am install install-am install-binPROGRAMS install-datDATA \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-libLTLIBRARIES \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-datDATA uninstall-libLTLIBRARIES .PRECIOUS: Makefile .DELETE_ON_ERROR: - -@CY_EXECUTE_TRUE@Bridge.lo: Bridge.hpp +@CY_EXECUTE_TRUE@libcycript.db: Bridge.def libcycript.sh +@CY_EXECUTE_TRUE@ $(srcdir)/libcycript.sh $(CY_SYSTEM) $@ $< +@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@Analyze: Analyze.cpp Error.cpp Output.cpp Replace.cpp Syntax.cpp +@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -std=c++11 $(LDFLAGS_FOR_BUILD) -DCY_OBJECTIVEC=$(CY_OBJECTIVEC) -I$(srcdir)/extra -o $@ $^ $(CY_LIBCLANG) -Wno-bitwise-op-parentheses -Wno-dangling-else -Wno-logical-op-parentheses +@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@Bridge.def: Analysis.cpp Analyze +@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@ ./Analyze $< $(OBJCXX) $(AM_OBJCXXFLAGS) $(OBJCXXFLAGS) >$@ +@CY_EXECUTE_TRUE@@CY_PRELINK_FALSE@Bridge.def: Bridge.def.in +@CY_EXECUTE_TRUE@@CY_PRELINK_FALSE@ cat $< >$@ @CY_EXECUTE_TRUE@Bridge.gperf: Bridge.def Bridge.sh -@CY_EXECUTE_TRUE@ $(srcdir)/Bridge.sh $< >$@ +@CY_EXECUTE_TRUE@ $(srcdir)/Bridge.sh <$< >$@ @CY_EXECUTE_TRUE@Bridge.hpp: Bridge.gperf @CY_EXECUTE_TRUE@ $(GPERF) $< >$@ -Cycript.yy: Cycript.yy.in +@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) -Cycript.l: Cycript.l.in UnicodeIDStart.l UnicodeIDContinue.l +Scanner.lpp: Scanner.lpp.in UnicodeIDStart.l UnicodeIDContinue.l $(srcdir)/Filter.sh $< >$@ $(filters) -lex.cy.cpp: Cycript.l - $(FLEX) -o $@ -T $< 2>lex.output || (grep -F '$<:' lex.output; false) - grep -F 'No backing up.' lex.backup >/dev/null - ! grep -F ': warning, ' lex.output || true - -Console.$(OBJEXT) Cycript.tab.lo Driver.lo Handler.lo Highlight.lo Library.lo lex.cy.lo: Cycript.tab.hh -Cycript.tab.cc Cycript.tab.hh stack.hh Cycript.output: Cycript.yy - $(BISON) -v --report=state -Werror $< - ! grep -n '^State [0-9]* conflicts:' Cycript.output - ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep 'shift, and go to state [0-9]*$$' - ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep -v '$$default' | grep 'reduce using rule [0-9]* ([^)]*)$$' +Scanner.cpp: Scanner.lpp + $(FLEX) $(LFLAGS) -o $@ -T $< 2>Scanner.output || (grep -F '$<:' Scanner.output; false) + @#grep -E '^(No backing up\.|Compressed tables always back up\.)$$' lex.backup >/dev/null + ! grep -n '^ jam-transitions: ' lex.backup | grep -v ': EOF \[\(\]\| \\2\)' + ! grep -F ': warning, ' Scanner.output || true + +Scanner.lo: Parser.hpp IdentifierStart.h IdentifierContinue.h +Parser.lo: Parser.hpp +Parser.cpp: Parser.hpp +Parser.hpp: Parser.ypp + $(BISON) -v --report=state -Werror -o Parser.cpp $< + ! grep -n '^State [0-9]* conflicts:' Parser.output + ! grep -n '^ *.* *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Parser.output | grep -v '$$default' + ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Parser.output -B 2 | grep 'shift, and go to state [0-9]*$$' + ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Parser.output -B 2 | grep -v '$$default' | grep 'reduce using rule [0-9]* ([^)]*)$$' + perl -pi -e 's/yytranslate_ \(yylex \(/(yylex_ (/g' Parser.cpp # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.