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