]> git.saurik.com Git - cycript.git/blobdiff - apple.mk
Use class extension syntax as part of Object CYON.
[cycript.git] / apple.mk
index 1ad1ccf484bc3917586092a7b11afd730c503425..1bffa46193ab6b6c5e7cc8389935a967f92649dc 100644 (file)
--- a/apple.mk
+++ b/apple.mk
@@ -1,5 +1,5 @@
-# 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 {{{
 #
@@ -39,6 +39,7 @@ cycript += Cycript.lib/libcycript-sys.dylib
 cycript += Cycript.lib/libcycript-sim.dylib
 cycript += Cycript.lib/libcycript.cy
 cycript += Cycript.lib/libcycript.db
+cycript += Cycript.lib/libcycript.jar
 
 framework := 
 framework += Cycript
@@ -121,6 +122,8 @@ $(call build_any,osx,$(1))
 $(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))))
@@ -209,6 +212,10 @@ Cycript.lib/libcycript.db: $(db)
        ./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 $@