summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-20 16:02:29 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-20 16:02:29 -0700
commite967efd5e9745242298f8792cb7d47dca141bfbf (patch)
tree60915ce2b3ed202cc11e2db3baa5d79dfd2dcbee /makefile
parent2d46d29e56fa4e58003787c67953937099fe249c (diff)
Expose ramifications of kCFCoreFoundationVersionNumber.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index f1ebe56..5c5690f 100644
--- a/makefile
+++ b/makefile
@@ -130,11 +130,15 @@ MobileCydia: sysroot $(object)
CydiaAppliance: CydiaAppliance.mm
$(cycc) $(filter %.mm,$^) $(flags) -bundle $(link) $(backrow)
+cfversion: cfversion.mm
+ $(cycc) $(filter %.mm,$^) $(flags) -framework CoreFoundation
+ @ldid -T0 -S $@
+
postinst: postinst.mm Sources.mm Sources.h CyteKit/stringWithUTF8Bytes.mm CyteKit/stringWithUTF8Bytes.h CyteKit/UCPlatform.h
$(cycc) $(filter %.mm,$^) $(flags) -framework CoreFoundation -framework Foundation -framework UIKit -lpcre
@ldid -T0 -S $@
-debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst $(images) $(shell find MobileCydia.app) cydia.control
+debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion $(images) $(shell find MobileCydia.app) cydia.control Library/firmware.sh
sudo rm -rf _
mkdir -p _/var/lib/cydia
@@ -145,6 +149,7 @@ debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst $(images) $
mkdir -p _/usr/libexec
cp -a Library _/usr/libexec/cydia
cp -a sysroot/usr/bin/du _/usr/libexec/cydia
+ cp -a cfversion _/usr/libexec/cydia
mkdir -p _/System/Library
cp -a LaunchDaemons _/System/Library/LaunchDaemons