X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/1e7ce5572cfc83d260cbe73d66814f54e5760c37..e91fbe93b995ee8077bbc2097c5407138dc02627:/Darwin-arm.mk diff --git a/Darwin-arm.mk b/Darwin-arm.mk index 49139e1..bf62c96 100644 --- a/Darwin-arm.mk +++ b/Darwin-arm.mk @@ -1,11 +1,23 @@ flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks -all += Cycript.$(dll) #cyrver +all += #cyrver arch := iphoneos-arm +console += -framework UIKit +depends += readline libffi mobilesubstrate sqlite3-lib +#library += -framework CFNetwork +library += -framework WebCore +# XXX: all Darwin, maybe all device, should have this +library += -lsubstrate -Cycript.$(dll): Connector.o - $(target)g++ $(flags) -dynamiclib -o $@ $(filter %.o,$^) \ - -lobjc -lapr-1 -lsubstrate \ - -framework CoreFoundation - ldid -S $@ +ldid := ldid -S +entitle := ldid -Scycript.xml + +cyrver: Server.o + $(target)g++ $(flags) -o $@ $(filter %.o,$^) \ + -lapr-1 -lsubstrate -framework CFNetwork + $(ldid) $@ + +extra: + #mkdir -p package/System/Library/LaunchDaemons + #cp -pR com.saurik.Cyrver.plist package/System/Library/LaunchDaemons