Device battery indicators on your Lock Screen
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

182 lines
4.8KB

  1. name = kai
  2. lowername = kai
  3. # Build file for kai
  4. # Generated at 05/20/20 09:51:19
  5. pdirname = .dragon
  6. location = /Library/MobileSubstrate/DynamicLibraries/
  7. resource_dir = Resources
  8. target = $pdirname/_$location$name.dylib
  9. stage2 = cp $name.plist $
  10. .dragon/_/Library/MobileSubstrate/DynamicLibraries/$name.plist
  11. builddir = $pdirname/build
  12. objdir = $pdirname/obj
  13. signdir = $pdirname/sign
  14. signtarget = $signdir/$target.unsigned
  15. symtarget = $signdir/$target.unsym
  16. dragondir = $$DRAGONBUILD
  17. pwd = .
  18. sysroot = $dragondir/sdks/iPhoneOS.sdk
  19. fwSearch = -F$sysroot/System/Library/Frameworks $
  20. -F$sysroot/System/Library/PrivateFrameworks -F$dragondir/frameworks
  21. libSearch = -L$dragondir/lib -L.
  22. cc = clang++
  23. ccpp = clang++
  24. ld = clang++
  25. ldid = ldid
  26. dsym = dsymutil
  27. logos = $dragondir/bin/logos.pl
  28. plutil = plutil
  29. stage = true;
  30. targetios = 10.0
  31. frameworks = -framework BatteryCenter -framework CoreFoundation -framework $
  32. Foundation -framework UIKit -framework CoreGraphics -framework $
  33. QuartzCore -framework CoreImage -framework AudioToolbox
  34. libs = -lsubstrate -lobjc -lc++
  35. arc = -fobjc-arc
  36. btarg = -DTARGET_IPHONE=1
  37. warnings = -Wall
  38. optim = -O0
  39. debug = -fcolor-diagnostics
  40. header_includes =
  41. cinclude = -I$dragondir/include -I$dragondir/vendor/include $
  42. -I$dragondir/include/_fallback -I$DRAGONBUILD/headers/ -I$pwd
  43. usrCflags =
  44. usrLDflags =
  45. usrLDIDFlags = -S
  46. lopt = -dynamiclib -ggdb -Xlinker -segalign -Xlinker 4000
  47. typeldflags = -install_name $location$name
  48. cflags = $cinclude -fmodules -fcxx-modules -fmodule-name=$name $
  49. -fbuild-session-file=.dragon/modules/ -fmodules-prune-after=345600 $
  50. -fmodules-prune-interval=86400 $
  51. -fmodules-validate-once-per-build-session $arc $fwSearch $
  52. -miphoneos-version-min=$targetios -isysroot $sysroot $btarg $warnings $
  53. $optim $debug $usrCflags $header_includes
  54. lflags = $cflags $typeldflags $frameworks $libs $lopt $libSearch $usrLDflags
  55. ldflags = $usrLDFlags
  56. pool solo
  57. depth = 1
  58. rule prelogos
  59. command = cat $in | python3 $$DRAGONBUILD/bin/prelogos.py > $out
  60. description = Processing $in with Pre/Logos
  61. rule logos
  62. command = $logos $in > $out
  63. description = Processing $in with Logos
  64. rule compilearm64
  65. command = $cc -arch arm64 $cflags -c $in -o $out
  66. description = Compiling $in for arm64
  67. rule compilexxarm64
  68. command = $cxx -arch arm64 $cflags -c $in -o $out
  69. description = Compiling $in for arm64
  70. rule linkarm64
  71. command = $ld -arch arm64 $lflags -o $out $in
  72. description = Linking $name for arm64
  73. rule compilearm64e
  74. command = $cc -arch arm64e $cflags -c $in -o $out
  75. description = Compiling $in for arm64e
  76. rule compilexxarm64e
  77. command = $cxx -arch arm64e $cflags -c $in -o $out
  78. description = Compiling $in for arm64e
  79. rule linkarm64e
  80. command = $ld -arch arm64e $lflags -o $out $in
  81. description = Linking $name for arm64e
  82. rule compilearmv7
  83. command = $cc -arch armv7 $cflags -c $in -o $out
  84. description = Compiling $in for armv7
  85. rule compilexxarmv7
  86. command = $cxx -arch armv7 $cflags -c $in -o $out
  87. description = Compiling $in for armv7
  88. rule linkarmv7
  89. command = $ld -arch armv7 $lflags -o $out $in
  90. description = Linking $name for armv7
  91. rule compilex86_64
  92. command = $cc -arch x86_64 $cflags -c $in -o $out
  93. description = Compiling $in for x86_64
  94. rule compilexxx86_64
  95. command = $cxx -arch x86_64 $cflags -c $in -o $out
  96. description = Compiling $in for x86_64
  97. rule linkx86_64
  98. command = $ld -arch x86_64 $lflags -o $out $in
  99. description = Linking $name for x86_64
  100. rule lipo
  101. command = lipo -create $in -output $out
  102. description = Merging architectures
  103. rule bundle
  104. command = mkdir -p ".dragon/_$location/" && cp -r "$resource_dir/" $
  105. ".dragon/_$location" && cp $in $out
  106. description = Copying Bundle Resources
  107. pool = solo
  108. rule plist
  109. command = $plutil -convert binary1 $in -o $out
  110. description = Converting $in
  111. rule debug
  112. command = $dsym "$in" 2&> /dev/null; cp $in $out
  113. description = Generating Debug Symbols for $name
  114. rule sign
  115. command = $ldid $usrLDIDFlags $in && cp $in $target
  116. description = Signing $name
  117. rule stage
  118. command = $stage $stage2
  119. description = Running Stage for $name
  120. build $builddir/logos/Kai.xm.mm: logos Kai.xm
  121. build $builddir/armv7/Kai.xm.mm.o: compilearmv7 $builddir/logos/Kai.xm.mm
  122. build $builddir/$name.armv7: linkarmv7 $builddir/armv7/Kai.xm.mm.o
  123. build $builddir/arm64/Kai.xm.mm.o: compilearm64 $builddir/logos/Kai.xm.mm
  124. build $builddir/$name.arm64: linkarm64 $builddir/arm64/Kai.xm.mm.o
  125. build $builddir/arm64e/Kai.xm.mm.o: compilearm64e $builddir/logos/Kai.xm.mm
  126. build $builddir/$name.arm64e: linkarm64e $builddir/arm64e/Kai.xm.mm.o
  127. build $builddir/trash/stage: stage $target
  128. build $symtarget: lipo $builddir/$name.armv7 $builddir/$name.arm64 $
  129. $builddir/$name.arm64e
  130. build $signtarget: debug $symtarget
  131. build $target: sign $signtarget
  132. default $target $builddir/trash/stage