1 uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma
6 rm -f $(uikittools) extrainst_
8 .PHONY: all clean package
10 private := -F/System/Library/PrivateFrameworks
13 flags += -framework CoreFoundation
14 flags += -framework Foundation
17 iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer
18 sbdidlaunch := $(private) -framework SpringBoardServices
19 uicache := -framework UIKit # XXX: UIKit -> MobileCoreServices
20 uiduid := -framework UIKit
21 uiopen := -framework UIKit
22 uishoot := -framework UIKit
25 extrainst_: csstore.cpp
28 cycc -i2.0 -o$@ -- $^ $(flags) $($@)
29 ldid -S$(wildcard $@.xml) $@
32 cycc -i2.0 -o$@ -- -x c $^ $(flags) $($@)
33 ldid -S$(wildcard $@.xml) $@
35 package: all extrainst_
38 cp -a $(filter-out %.dylib,$(uikittools)) _/usr/bin
40 ./control.sh _ >_/DEBIAN/control
41 cp -a extrainst_ _/DEBIAN/
43 ln -sf debs/uikittools_$$(./version.sh)_iphoneos-arm.deb uikittools.deb
46 dpkg-deb -b _ uikittools.deb
47 readlink uikittools.deb