]> git.saurik.com Git - uikittools.git/blame - makefile
We need to kill installd in order for uicache to work.
[uikittools.git] / makefile
CommitLineData
250ccb19 1uikittools = uiduid uishoot uicache uiopen gssc sbdidlaunch
2a72f832
JF
2
3all: $(uikittools)
4
5clean:
6 rm -f $(uikittools)
7
8.PHONY: all clean package
a60b86de
JF
9
10%: %.mm
250ccb19 11 $${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -framework GraphicsServices -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc -framework SpringBoardServices
2a72f832
JF
12 ldid -S $@
13
14package: all
15 rm -rf package
16 mkdir -p package/usr/bin
17 cp -a $(uikittools) package/usr/bin
18 mkdir -p package/DEBIAN
19 cp -a control package/DEBIAN
20 rpl '%S' "$$(du -ks package | cut -d $$'\t' -f 1)" package/DEBIAN/control
21 dpkg-deb -b package uikittools_$(shell grep ^Version: control | cut -d ' ' -f 2)_iphoneos-arm.deb