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