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