]>
Commit | Line | Data |
---|---|---|
e8d244d6 | 1 | uikittools = uiduid uishoot uicache uiopen gssc sbdidlaunch sbreload cfversion |
2a72f832 JF |
2 | |
3 | all: $(uikittools) | |
4 | ||
5 | clean: | |
6 | rm -f $(uikittools) | |
7 | ||
8 | .PHONY: all clean package | |
a60b86de JF |
9 | |
10 | %: %.mm | |
743eb46f | 11 | $${PKG_TARG}-g++ -Wall -Werror -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -framework GraphicsServices -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc -framework SpringBoardServices |
2a72f832 JF |
12 | ldid -S $@ |
13 | ||
2618b3e9 | 14 | %: %.c |
743eb46f | 15 | $${PKG_TARG}-gcc -Wall -Werror -o $@ $< -framework CoreFoundation |
2618b3e9 JF |
16 | ldid -S $@ |
17 | ||
2a72f832 | 18 | package: all |
57ebf0d9 JF |
19 | rm -rf _ |
20 | mkdir -p _/usr/bin | |
21 | cp -a $(uikittools) _/usr/bin | |
22 | mkdir -p _/DEBIAN | |
23 | ./control.sh _ >_/DEBIAN/control | |
24 | mkdir -p debs | |
25 | ln -sf debs/uikittools_$$(./version.sh)_iphoneos-arm.deb uikittools.deb | |
26 | dpkg-deb -b _ uikittools.deb | |
27 | readlink uikittools.deb |