]> git.saurik.com Git - uikittools.git/blame_incremental - makefile
Remove uishoot.
[uikittools.git] / makefile
... / ...
CommitLineData
1uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma
2
3all: $(uikittools)
4
5clean:
6 rm -f $(uikittools)
7
8.PHONY: all clean package
9
10cfversion := -framework CoreFoundation
11gssc := -framework CoreFoundation
12sbdidlaunch := -framework CoreFoundation -framework SpringBoardServices
13uicache := -framework Foundation
14uiduid := -framework Foundation -framework UIKit
15uiopen := -framework Foundation -framework UIKit
16uishoot := -framework CoreFoundation -framework Foundation -framework UIKit
17
18%: %.mm
19 $${PKG_TARG}-g++ -Wall -Werror -o $@ $< $($@) -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc
20 ldid -S $@
21
22%: %.c
23 $${PKG_TARG}-gcc -Wall -Werror -o $@ $< -framework CoreFoundation
24 ldid -S $@
25
26iomfsetgamma: iomfsetgamma.c
27 $${PKG_TARG}-gcc -Wall -Werror -o $@ $< -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -framework IOKit -framework IOMobileFramebuffer
28 ldid -S $@
29
30package: all
31 rm -rf _
32 mkdir -p _/usr/bin
33 cp -a $(uikittools) _/usr/bin
34 mkdir -p _/DEBIAN
35 ./control.sh _ >_/DEBIAN/control
36 mkdir -p debs
37 ln -sf debs/uikittools_$$(./version.sh)_iphoneos-arm.deb uikittools.deb
38 dpkg-deb -b _ uikittools.deb
39 readlink uikittools.deb