]> git.saurik.com Git - cycript.git/blame - Darwin.mk
Moved -fPIC to base configuration.
[cycript.git] / Darwin.mk
CommitLineData
4de0686f
JF
1# XXX: objective-c exists on non-Darwin
2
9185d5ef 3dll := dylib
4de0686f 4header += Struct.hpp ObjectiveC.hpp
2aa77fd8 5code += ObjectiveC.o Library.o
4de0686f 6filters += ObjC
2aa77fd8 7flags += -DCY_ATTACH -DCY_EXECUTE
dfa452c2
JF
8link += -lobjc -framework CoreFoundation
9console += -framework Foundation
9185d5ef
JF
10library += -install_name /usr/lib/libcycript.$(dll)
11library += -framework Foundation -framework CFNetwork
12library += -framework JavaScriptCore -framework WebCore
dfa452c2 13library += -lsubstrate
1e7ce557
JF
14
15Struct.hpp:
16 $$($(target)gcc -print-prog-name=cc1obj) -print-objc-runtime-info </dev/null >$@