-uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma libuicache.dylib
+uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma
all: $(uikittools)
iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer
sbdidlaunch := $(private) -framework SpringBoardServices
uicache := -framework UIKit # XXX: UIKit -> MobileCoreServices
-uiduid := --framework UIKit
-uiopen := --framework UIKit
+uiduid := -framework UIKit
+uiopen := -framework UIKit
uishoot := -framework UIKit
uicache: csstore.cpp
extrainst_: csstore.cpp
-%.dylib: %.mm
- cycc -i2.0 -o$@ -- -dynamiclib $(flags) $^ $($@) -lobjc
- ldid -S $@
-
%: %.mm
cycc -i2.0 -o$@ -- $^ $(flags) $($@)
ldid -S$(wildcard $@.xml) $@
package: all extrainst_
sudo rm -rf _
- mkdir -p _/usr/lib
- cp -a $(filter %.dylib,$(uikittools)) _/usr/lib
mkdir -p _/usr/bin
cp -a $(filter-out %.dylib,$(uikittools)) _/usr/bin
mkdir -p _/DEBIAN