-# 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 {{{
#
cycript += Cycript.lib/libcycript-sim.dylib
cycript += Cycript.lib/libcycript.cy
cycript += Cycript.lib/libcycript.db
+cycript += Cycript.lib/libcycript.jar
framework :=
framework += Cycript
$(call build_lib,osx,$(1))
build.osx-$(1)/.libs/cycript: build-osx-$(1)
@
+build.osx-$(1)/libcycript.jar: build-osx-$(1)
+ @
endef
$(foreach arch,i386 x86_64,$(eval $(call build_osx,$(arch))))
./libcycript.sh 0 $@
./libcycript.py $@ $^
+Cycript.lib/libcycript.jar: build.osx-x86_64/libcycript.jar
+ @mkdir -p $(dir $@)
+ cp -af $< $@
+
Cycript.lib/cycript0.9:
@mkdir -p $(dir $@)
ln -s ../modules $@