1 uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma
8 .PHONY: all clean package
10 cfversion := -framework CoreFoundation
11 gssc := -framework CoreFoundation
12 sbdidlaunch := -framework CoreFoundation -framework SpringBoardServices
13 uicache := -framework Foundation -framework UIKit # XXX: UIKit -> MobileCoreServices
14 uiduid := -framework Foundation -framework UIKit
15 uiopen := -framework Foundation -framework UIKit
16 uishoot := -framework CoreFoundation -framework Foundation -framework UIKit
17 extrainst_ := -framework CoreFoundation -framework Foundation
20 extrainst_: csstore.cpp
23 $${PKG_TARG}-g++ -Wall -Werror -o $@ $^ $($@) -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc
24 ldid -S$(wildcard $@.xml) $@
27 $${PKG_TARG}-gcc -Wall -Werror -o $@ $< -framework CoreFoundation
28 ldid -S$(wildcard $@.xml) $@
30 iomfsetgamma: iomfsetgamma.c
31 $${PKG_TARG}-gcc -Wall -Werror -o $@ $< -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -framework IOKit -framework IOMobileFramebuffer
32 ldid -S$(wildcard $@.xml) $@
34 package: all extrainst_
37 cp -a $(uikittools) _/usr/bin
39 ./control.sh _ >_/DEBIAN/control
40 cp -a extrainst_ _/DEBIAN/
42 ln -sf debs/uikittools_$$(./version.sh)_iphoneos-arm.deb uikittools.deb
43 dpkg-deb -b _ uikittools.deb
44 readlink uikittools.deb