Device battery indicators on your Lock Screen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
4.8KB

  1. name = kaiPrefs
  2. lowername = kaiprefs
  3. # Build file for kaiPrefs
  4. # Generated at 05/20/20 13:44:10
  5. pdirname = .dragon
  6. location = /Library/PreferenceBundles/$name.bundle/
  7. resource_dir = Resources
  8. target = $pdirname/_$location$name
  9. stage2 =
  10. builddir = $pdirname/build
  11. objdir = $pdirname/obj
  12. signdir = $pdirname/sign
  13. signtarget = $signdir/$target.unsigned
  14. symtarget = $signdir/$target.unsym
  15. dragondir = $$DRAGONBUILD
  16. pwd = .
  17. sysroot = $dragondir/sdks/iPhoneOS.sdk
  18. fwSearch = -F$sysroot/System/Library/Frameworks $
  19. -F$sysroot/System/Library/PrivateFrameworks -F$dragondir/frameworks
  20. libSearch = -L$dragondir/lib -L.
  21. cc = clang++
  22. ccpp = clang++
  23. ld = clang++
  24. ldid = ldid
  25. dsym = dsymutil
  26. logos = $dragondir/bin/logos.pl
  27. plutil = plutil
  28. stage = mkdir -p .dragon/_/Library/PreferenceLoader/Preferences/ && cp $
  29. entry.plist .dragon/_/Library/PreferenceLoader/Preferences/$name.plist
  30. targetios = 10.0
  31. frameworks = -framework Preferences -framework CoreFoundation -framework $
  32. Foundation -framework UIKit -framework CoreGraphics -framework $
  33. QuartzCore -framework CoreImage -framework AudioToolbox
  34. libs = -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/arm64/KAIRootListController.m.o: compilearm64 $
  121. KAIRootListController.m
  122. build $builddir/$name.arm64: linkarm64 $
  123. $builddir/arm64/KAIRootListController.m.o
  124. build $builddir/arm64e/KAIRootListController.m.o: compilearm64e $
  125. KAIRootListController.m
  126. build $builddir/$name.arm64e: linkarm64e $
  127. $builddir/arm64e/KAIRootListController.m.o
  128. build $builddir/trash/bundles: bundle build.ninja
  129. build $builddir/trash/stage: stage $target
  130. build $symtarget: lipo $builddir/$name.arm64 $builddir/$name.arm64e
  131. build $signtarget: debug $symtarget
  132. build $target: sign $signtarget
  133. default $target $builddir/trash/bundles $builddir/trash/stage