]> git.saurik.com Git - cycript.git/blobdiff - Darwin.mk
Added readline history writing and fixed NoRE unary * case.
[cycript.git] / Darwin.mk
index 1a2a9db5addda77642a8c676c91af297f69265c3..bbb669113dc095cb35eae6d3018b78db761eb986 100644 (file)
--- a/Darwin.mk
+++ b/Darwin.mk
@@ -1,6 +1,12 @@
-dll := dylib
+# XXX: objective-c exists on non-Darwin
 
-header += Struct.hpp
+dll := dylib
+flags += -DCY_ATTACH -DCY_EXECUTE
+link += -lobjc -framework CoreFoundation
+console += -framework Foundation
+library += -install_name /usr/lib/libcycript.$(dll)
+library += -framework Foundation -framework CFNetwork
+library += -framework JavaScriptCore -framework WebCore
+library += -lsubstrate -liconv
 
-Struct.hpp:
-       $$($(target)gcc -print-prog-name=cc1obj) -print-objc-runtime-info </dev/null >$@
+include ObjectiveC.mk