]> git.saurik.com Git - cycript.git/blob - Darwin-arm.mk
Changed "%zu" to "%"APR_SIZE_T_FMT on APR format calls, removed the accidental NSAuto...
[cycript.git] / Darwin-arm.mk
1 flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks
2
3 all += #cyrver
4
5 arch := iphoneos-arm
6 console += -framework UIKit
7 depends += readline libffi mobilesubstrate sqlite3-lib
8 #library += -framework CFNetwork
9 library += -framework WebCore
10 # XXX: all Darwin, maybe all device, should have this
11 library += -lsubstrate
12
13 ldid := ldid -S
14 entitle := ldid -Scycript.xml
15
16 cyrver: Server.o
17 $(target)g++ $(flags) -o $@ $(filter %.o,$^) \
18 -lapr-1 -lsubstrate -framework CFNetwork
19 $(ldid) $@
20
21 extra:
22 #mkdir -p package/System/Library/LaunchDaemons
23 #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons