summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-08-18 18:00:24 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2009-08-18 18:00:24 +0000
commit2a72f832e35d56a748537c894b00a236bae8f16a (patch)
treebd051fda8c5ed41ab9d87a4bfe1c83590e3794fc /makefile
parent7fb7ce13deab7a4d127f5f04e0c82069a6cf2014 (diff)
UIKit Tools is not part of Telesphoreo.
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/makefile b/makefile
index 60cb272..8386a18 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,21 @@
-all: uiduid uishoot uicache
+uikittools = uiduid uishoot uicache uiopen
+
+all: $(uikittools)
+
+clean:
+ rm -f $(uikittools)
+
+.PHONY: all clean package
%: %.mm
$${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -lobjc
+ ldid -S $@
+
+package: all
+ rm -rf package
+ mkdir -p package/usr/bin
+ cp -a $(uikittools) package/usr/bin
+ mkdir -p package/DEBIAN
+ cp -a control package/DEBIAN
+ rpl '%S' "$$(du -ks package | cut -d $$'\t' -f 1)" package/DEBIAN/control
+ dpkg-deb -b package uikittools_$(shell grep ^Version: control | cut -d ' ' -f 2)_iphoneos-arm.deb