]> git.saurik.com Git - cydget.git/blame - makefile
This was a bad idea: I'm not going to do this again.
[cydget.git] / makefile
CommitLineData
e6cd4dee
JF
1name := CydgetLoader
2flags := -framework UIKit -framework AddressBook
3base := $(shell cd ~; pwd)/menes/tweaks
4include $(base)/tweak.mk
a75dc45a
JF
5webcore := WebCore-514
6jscore := JavaScriptCore-521
3cf4303e 7
daee0ba3
JF
8all: WebCycriptLockScreen
9
10WebCycriptLockScreen: LockScreen.mm makefile $(base)/../mobilesubstrate/substrate.h
a75dc45a 11 $(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 JavaScriptCore -framework GraphicsServices -framework TelephonyUI -I$(jscore) -iquote$(webcore)/{bindings/js,dom,loader,platform{,/animation,/cf,/network{,/cf},/text},/rendering/style} -iquote$(jscore)/{jit,runtime}
daee0ba3
JF
12 ldid -S $@
13
3cf4303e 14extra:
daee0ba3
JF
15 mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget
16 cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist
17 mkdir -p package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle
18 cp -a Info.plist package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle
19 cp -a WebCycriptLockScreen package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle