]> git.saurik.com Git - cydget.git/blob - makefile
Merged WebCycript into the core cydgets distribution.
[cydget.git] / makefile
1 name := CydgetLoader
2 flags := -framework UIKit -framework AddressBook
3 base := $(shell cd ~; pwd)/menes/tweaks
4 include $(base)/tweak.mk
5
6 all: WebCycriptLockScreen
7
8 WebCycriptLockScreen: LockScreen.mm makefile $(base)/../mobilesubstrate/substrate.h
9 $(target)g++ -bundle -mthumb -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -lobjc -I$(base)/../mobilesubstrate $(link) $(flags) -framework CoreGraphics -framework QuartzCore -framework SpringBoardUI -framework WebCore -framework GraphicsServices
10 ldid -S $@
11
12 extra:
13 mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget
14 cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist
15 mkdir -p package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle
16 cp -a Info.plist package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle
17 cp -a WebCycriptLockScreen package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle