+uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma ldrestart
+
+all: $(uikittools)
+
+clean:
+ rm -f $(uikittools) extrainst_
+
+.PHONY: all clean package
+
+private := -F/System/Library/PrivateFrameworks
+
+flags := -Os -Werror
+flags += -framework CoreFoundation
+flags += -framework Foundation
+flags += -miphoneos-version-min=2.0
+flags += -arch armv6
+
+ldrestart := -std=c++11
+gssc := -lobjc
+iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer
+sbdidlaunch := $(private) -framework SpringBoardServices
+uicache := -framework UIKit # XXX: UIKit -> MobileCoreServices
+uiduid := -framework UIKit
+uiopen := -framework UIKit
+uishoot := -framework UIKit
+
+uicache: csstore.cpp
+extrainst_: csstore.cpp