@SET_MAKE@
-# Cycript - Optimizing JavaScript Compiler/Runtime
-# Copyright (C) 2009-2015 Jay Freeman (saurik)
+# Cycript - The Truly Universal Scripting Language
+# Copyright (C) 2009-2016 Jay Freeman (saurik)
# GNU Affero General Public License, Version 3 {{{
#
POST_UNINSTALL = :
build_triplet = @build@
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_ANDROID_TRUE@am__append_1 = -fPIE
+@CY_ANDROID_TRUE@am__append_2 = -rdynamic -fPIE -pie
+@CY_CONSOLE_TRUE@bin_PROGRAMS = cycript$(EXEEXT) $(am__EXEEXT_1)
+@CY_CONSOLE_TRUE@am__append_3 = Complete.cpp
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@am__append_4 = cycript-pie
+@CY_EXECUTE_TRUE@am__append_5 = 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_6 = $(LTJAVASCRIPTCORE)
+@CY_EXECUTE_TRUE@am__append_7 = libcycript.db
+@CY_EXECUTE_TRUE@am__append_8 = -DCY_EXECUTE
+@CY_EXECUTE_TRUE@am__append_9 = C
+@CY_EXECUTE_TRUE@am__append_10 = libcycript.db
+@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@am__append_11 = Analyze Bridge.def
+@CY_EXECUTE_TRUE@@CY_PRELINK_FALSE@am__append_12 = Bridge.def
+
+#CLEANFILES += Hasher.gperf
+#Hasher.gperf: Hasher.def Hasher.sh
+# $(srcdir)/Hasher.sh <$< >$@
+
+#CLEANFILES += Hasher.hpp
+#Hasher.hpp: Hasher.gperf
+# $(GPERF) $< >$@
+@CY_JAVA_TRUE@am__append_13 = Java
+@CY_JAVA_TRUE@am__append_14 = Java/Execute.cpp
+@CY_JAVA_TRUE@am__append_15 = libcycript.jar
+@CY_JAVA_TRUE@am__append_16 = Class libcycript.jar
+@CY_RUBY_TRUE@am__append_17 = Ruby
+@CY_RUBY_TRUE@am__append_18 = Ruby/Execute.cpp
+@CY_RUBY_TRUE@am__append_19 = $(LTRUBY)
+@CY_PYTHON_TRUE@am__append_20 = Python
+@CY_PYTHON_TRUE@am__append_21 = Python/Execute.cpp
+@CY_PYTHON_TRUE@am__append_22 = $(LTPYTHON)
+@CY_OBJECTIVEC_TRUE@am__append_23 = -DCY_OBJECTIVEC
+@CY_OBJECTIVEC_TRUE@am__append_24 = ObjectiveC
+@CY_OBJECTIVEC_TRUE@am__append_25 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm
+@CY_OBJECTIVEC_TRUE@am__append_26 = $(LTOBJECTIVEC)
+@CY_ATTACH_TRUE@am__append_27 = Handler.cpp
+@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_28 = Inject.cpp
+@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__append_29 = -DCY_ATTACH
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
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_3 = $(am__DEPENDENCIES_1)
+@CY_PYTHON_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1)
@CY_OBJECTIVEC_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1)
libcycript_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
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_OBJECTIVEC_TRUE@am__objects_5 = ObjectiveC/Output.lo \
+@CY_PYTHON_TRUE@am__objects_5 = Python/Execute.lo
+@CY_OBJECTIVEC_TRUE@am__objects_6 = ObjectiveC/Output.lo \
@CY_OBJECTIVEC_TRUE@ ObjectiveC/Replace.lo \
@CY_OBJECTIVEC_TRUE@ ObjectiveC/Library.lo
-@CY_ATTACH_TRUE@am__objects_6 = Handler.lo
+@CY_ATTACH_TRUE@am__objects_7 = 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_6)
+ $(am__objects_5) $(am__objects_6) $(am__objects_7)
libcycript_la_OBJECTS = $(am_libcycript_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
libcycript_la_LINK = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(OBJCXXLD) $(AM_OBJCXXFLAGS) \
$(OBJCXXFLAGS) $(libcycript_la_LDFLAGS) $(LDFLAGS) -o $@
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@am__EXEEXT_1 = cycript-pie$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
am__cycript_SOURCES_DIST = Console.cpp Inject.cpp
-@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__objects_7 = Inject.$(OBJEXT)
+@CY_ATTACH_TRUE@@CY_CONSOLE_TRUE@am__objects_8 = Inject.$(OBJEXT)
@CY_CONSOLE_TRUE@am_cycript_OBJECTS = Console.$(OBJEXT) \
-@CY_CONSOLE_TRUE@ $(am__objects_7)
+@CY_CONSOLE_TRUE@ $(am__objects_8)
cycript_OBJECTS = $(am_cycript_OBJECTS)
@CY_CONSOLE_TRUE@cycript_DEPENDENCIES = libcycript.la \
@CY_CONSOLE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@CY_CONSOLE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am__cycript_pie_SOURCES_DIST = pie.c
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@am_cycript_pie_OBJECTS = \
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@ pie.$(OBJEXT)
+cycript_pie_OBJECTS = $(am_cycript_pie_OBJECTS)
+cycript_pie_LDADD = $(LDADD)
+cycript_pie_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(cycript_pie_LDFLAGS) $(LDFLAGS) -o $@
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_OBJCXXLD_ = $(am__v_OBJCXXLD_@AM_DEFAULT_V@)
am__v_OBJCXXLD_0 = @echo " OBJCXXLD" $@;
am__v_OBJCXXLD_1 =
-SOURCES = $(libcycript_la_SOURCES) $(cycript_SOURCES)
+SOURCES = $(libcycript_la_SOURCES) $(cycript_SOURCES) \
+ $(cycript_pie_SOURCES)
DIST_SOURCES = $(am__libcycript_la_SOURCES_DIST) \
- $(am__cycript_SOURCES_DIST)
+ $(am__cycript_SOURCES_DIST) $(am__cycript_pie_SOURCES_DIST)
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
CXX_FOR_BUILD = @CXX_FOR_BUILD@
CYGPATH_W = @CYGPATH_W@
+CY_ANDROID = @CY_ANDROID@
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@
LTLIBTERMCAP = @LTLIBTERMCAP@
LTLIBUV = @LTLIBUV@
LTOBJECTIVEC = @LTOBJECTIVEC@
+LTPYTHON = @LTPYTHON@
LTRUBY = @LTRUBY@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAINT = @MAINT@
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 \
+CLEANFILES = $(am__append_10) $(am__append_11) $(am__append_12) \
+ $(am__append_16) 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)
-AM_CFLAGS = -fvisibility=hidden
-AM_CXXFLAGS = -fvisibility=hidden
-AM_OBJCXXFLAGS = -fvisibility=hidden -fobjc-exceptions
-AM_LDFLAGS = -fvisibility=hidden
+ config.h -include $(srcdir)/unconfig.h $(am__append_8) \
+ $(am__append_23) $(am__append_29)
+CY_FLAGS = -fvisibility=hidden $(am__append_1)
+AM_CFLAGS = $(CY_FLAGS)
+AM_CXXFLAGS = $(CY_FLAGS)
+AM_OBJCXXFLAGS = $(CY_FLAGS) -fobjc-exceptions
+AM_LDFLAGS = $(CY_FLAGS) $(am__append_2)
CY_LDFLAGS = -no-undefined -avoid-version -export-dynamic
+datdir = $(libdir)
+dat_DATA = $(am__append_7) $(am__append_15)
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_6) $(am__append_19) \
+ $(am__append_22) $(am__append_26)
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)
+ Syntax.cpp Parser.cpp Scanner.cpp $(am__append_3) \
+ $(am__append_5) $(am__append_14) $(am__append_18) \
+ $(am__append_21) $(am__append_25) $(am__append_27)
+filters = $(am__append_9) $(am__append_13) $(am__append_17) \
+ $(am__append_20) $(am__append_24)
+@CY_CONSOLE_TRUE@cycript_SOURCES = Console.cpp $(am__append_28)
@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
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@cycript_pie_SOURCES = pie.c
+@CY_ANDROID_TRUE@@CY_CONSOLE_TRUE@cycript_pie_LDFLAGS = -fno-PIE
+@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@CY_LANGFLAGS = -DCY_JAVA=$(CY_JAVA) -DCY_PYTHON=$(CY_PYTHON) -DCY_OBJECTIVEC=$(CY_OBJECTIVEC)
+@CY_ANDROID_FALSE@@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@CY_ANDFLAGS =
+@CY_ANDROID_TRUE@@CY_EXECUTE_TRUE@@CY_PRELINK_TRUE@CY_ANDFLAGS = -U__APPLE__ -D__ANDROID__
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@$(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)
@rm -f cycript$(EXEEXT)
$(AM_V_CXXLD)$(CXXLINK) $(cycript_OBJECTS) $(cycript_LDADD) $(LIBS)
+cycript-pie$(EXEEXT): $(cycript_pie_OBJECTS) $(cycript_pie_DEPENDENCIES) $(EXTRA_cycript_pie_DEPENDENCIES)
+ @rm -f cycript-pie$(EXEEXT)
+ $(AM_V_CCLD)$(cycript_pie_LINK) $(cycript_pie_OBJECTS) $(cycript_pie_LDADD) $(LIBS)
+
mostlyclean-compile:
-rm -f *.$(OBJEXT)
-rm -f Java/*.$(OBJEXT)
-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)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Replace.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@./$(DEPDIR)/pie.Po@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@
-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
-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)
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
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
.DELETE_ON_ERROR:
-@CY_EXECUTE_TRUE@libcycript.db: Bridge.def libcycript.sh
-@CY_EXECUTE_TRUE@ $(srcdir)/libcycript.sh $(CY_SYSTEM) $@ $<
+@CY_EXECUTE_TRUE@libcycript.db: Bridge.def libcycript.py
+@CY_EXECUTE_TRUE@ $(srcdir)/libcycript.py $(CY_SYSTEM) $@ $(srcdir) <$<
@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@ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) -std=c++11 $(LDFLAGS_FOR_BUILD) $(CY_LANGFLAGS) -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_TRUE@ ./Analyze $< $(OBJCXX) $(CPPFLAGS) $(AM_OBJCXXFLAGS) $(OBJCXXFLAGS) $(CY_LANGFLAGS) $(CY_ANDFLAGS) >$@
@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@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