]> git.saurik.com Git - cycript.git/blame_incremental - Darwin-arm.mk
Found a memory management mistake (new Instance should not be transient) while workin...
[cycript.git] / Darwin-arm.mk
... / ...
CommitLineData
1flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks
2
3all += #cyrver
4
5arch := iphoneos-arm
6console += -framework UIKit
7depends += apr-lib readline libffi mobilesubstrate
8#library += -framework CFNetwork
9library += -framework WebCore
10# XXX: all Darwin, maybe all device, should have this
11library += -lsubstrate
12
13ldid := ldid -S
14entitle := ldid -Scycript.xml
15
16cyrver: Server.o
17 $(target)g++ $(flags) -o $@ $(filter %.o,$^) \
18 -lapr-1 -lsubstrate -framework CFNetwork
19 $(ldid) $@
20
21extra::
22 sed -i -e '/^Depends: / s/\<mobilesubstrate\>/mobilesubstrate (>= 0.9.3072)/g' package/DEBIAN/control
23 #mkdir -p package/System/Library/LaunchDaemons
24 #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons