]> git.saurik.com Git - cycript.git/blame - Darwin-arm.mk
Use -m32 instead of a uname -m check.
[cycript.git] / Darwin-arm.mk
CommitLineData
1e7ce557
JF
1flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks
2
b166b11b 3all += #cyrver
1e7ce557
JF
4
5arch := iphoneos-arm
dfa452c2 6console += -framework UIKit
2f51d6ab 7depends += apr-lib readline libffi mobilesubstrate
263ee59b
JF
8#library += -framework CFNetwork
9library += -framework WebCore
7c6c5b0a
JF
10# XXX: all Darwin, maybe all device, should have this
11library += -lsubstrate
b6961e53
JF
12
13ldid := ldid -S
14entitle := ldid -Scycript.xml
1e7ce557 15
9185d5ef
JF
16cyrver: Server.o
17 $(target)g++ $(flags) -o $@ $(filter %.o,$^) \
18 -lapr-1 -lsubstrate -framework CFNetwork
19 $(ldid) $@
f37e3501 20
9cad30fa 21extra::
34fc459c 22 sed -i -e '/^Depends: / s/\<mobilesubstrate\>/mobilesubstrate (>= 0.9.3072)/g' package/DEBIAN/control
b166b11b 23 #mkdir -p package/System/Library/LaunchDaemons
7c6c5b0a 24 #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons