]>
Commit | Line | Data |
---|---|---|
1e7ce557 JF |
1 | flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks |
2 | ||
b166b11b | 3 | all += #cyrver |
1e7ce557 JF |
4 | |
5 | arch := iphoneos-arm | |
dfa452c2 | 6 | console += -framework UIKit |
856b8cd0 | 7 | depends += readline libffi mobilesubstrate sqlite3-lib |
7c6c5b0a JF |
8 | depends += -framework CFNetwork |
9 | # XXX: all Darwin, maybe all device, should have this | |
10 | library += -lsubstrate | |
b6961e53 JF |
11 | |
12 | ldid := ldid -S | |
13 | entitle := ldid -Scycript.xml | |
1e7ce557 | 14 | |
9185d5ef JF |
15 | cyrver: Server.o |
16 | $(target)g++ $(flags) -o $@ $(filter %.o,$^) \ | |
17 | -lapr-1 -lsubstrate -framework CFNetwork | |
18 | $(ldid) $@ | |
f37e3501 JF |
19 | |
20 | extra: | |
b166b11b | 21 | #mkdir -p package/System/Library/LaunchDaemons |
7c6c5b0a | 22 | #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons |