]> git.saurik.com Git - cycript.git/blame - Darwin-arm.mk
Renamed some types for GNUstep.
[cycript.git] / Darwin-arm.mk
CommitLineData
1e7ce557
JF
1flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks
2
3all += Cycript.$(dll) #cyrver
4
5arch := iphoneos-arm
9185d5ef 6ldid := ldid -S
dfa452c2 7console += -framework UIKit
f37e3501 8depends += readline libffi mobilesubstrate
1e7ce557
JF
9
10Cycript.$(dll): Connector.o
11 $(target)g++ $(flags) -dynamiclib -o $@ $(filter %.o,$^) \
12 -lobjc -lapr-1 -lsubstrate \
13 -framework CoreFoundation
14 ldid -S $@
9185d5ef
JF
15
16cyrver: Server.o
17 $(target)g++ $(flags) -o $@ $(filter %.o,$^) \
18 -lapr-1 -lsubstrate -framework CFNetwork
19 $(ldid) $@
f37e3501
JF
20
21extra:
22 mkdir -p package/System/Library/LaunchDaemons
23 #cp -a com.saurik.Cyrver.plist package/System/Library/LaunchDaemons
24 mkdir -p package/Library/MobileSubstrate/DynamicLibraries
25 if [[ -e Settings.plist ]]; then \
26 mkdir -p package/Library/PreferenceLoader/Preferences; \
27 cp -a Settings.png package/Library/PreferenceLoader/Preferences/CycriptIcon.png; \
28 cp -a Settings.plist package/Library/PreferenceLoader/Preferences/Cycript.plist; \
29 fi
30 if [[ -e Tweak.plist ]]; then cp -a Tweak.plist package/Library/MobileSubstrate/DynamicLibraries/Cycript.plist; fi
31 cp -a Cycript.$(dll) package/Library/MobileSubstrate/DynamicLibraries
32