Makefile.util.def 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425
  1. AutoGen definitions Makefile.tpl;
  2. library = {
  3. name = libgrubkern.a;
  4. cflags = '$(CFLAGS_GNULIB)';
  5. cppflags = '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json';
  6. common = util/misc.c;
  7. common = grub-core/kern/command.c;
  8. common = grub-core/kern/device.c;
  9. common = grub-core/kern/disk.c;
  10. common = grub-core/lib/disk.c;
  11. common = util/getroot.c;
  12. common = grub-core/osdep/unix/getroot.c;
  13. common = grub-core/osdep/getroot.c;
  14. common = grub-core/osdep/devmapper/getroot.c;
  15. common = grub-core/osdep/relpath.c;
  16. extra_dist = grub-core/kern/disk_common.c;
  17. extra_dist = grub-core/osdep/unix/relpath.c;
  18. extra_dist = grub-core/osdep/aros/relpath.c;
  19. extra_dist = grub-core/osdep/windows/relpath.c;
  20. common = grub-core/kern/emu/hostdisk.c;
  21. common = grub-core/osdep/devmapper/hostdisk.c;
  22. common = grub-core/osdep/hostdisk.c;
  23. common = grub-core/osdep/unix/hostdisk.c;
  24. common = grub-core/osdep/exec.c;
  25. common = grub-core/osdep/sleep.c;
  26. common = grub-core/osdep/password.c;
  27. common = grub-core/kern/emu/misc.c;
  28. common = grub-core/kern/emu/mm.c;
  29. common = grub-core/kern/env.c;
  30. common = grub-core/kern/err.c;
  31. common = grub-core/kern/file.c;
  32. common = grub-core/kern/fs.c;
  33. common = grub-core/kern/list.c;
  34. common = grub-core/kern/misc.c;
  35. common = grub-core/kern/partition.c;
  36. common = grub-core/lib/crypto.c;
  37. common = grub-core/lib/json/json.c;
  38. common = grub-core/disk/luks.c;
  39. common = grub-core/disk/luks2.c;
  40. common = grub-core/disk/geli.c;
  41. common = grub-core/disk/cryptodisk.c;
  42. common = grub-core/disk/AFSplitter.c;
  43. common = grub-core/lib/pbkdf2.c;
  44. common = grub-core/commands/extcmd.c;
  45. common = grub-core/lib/arg.c;
  46. common = grub-core/disk/ldm.c;
  47. common = grub-core/disk/diskfilter.c;
  48. common = grub-core/partmap/gpt.c;
  49. common = grub-core/partmap/msdos.c;
  50. common = grub-core/fs/proc.c;
  51. common = grub-core/fs/archelp.c;
  52. };
  53. library = {
  54. name = libgrubmods.a;
  55. cflags = '-fno-builtin -Wno-undef -Wno-unused-but-set-variable';
  56. cppflags = '-I$(srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -I$(srcdir)/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H';
  57. common_nodist = grub_script.tab.c;
  58. common_nodist = grub_script.yy.c;
  59. common_nodist = libgrub_a_init.c;
  60. common_nodist = grub_script.yy.h;
  61. common_nodist = grub_script.tab.h;
  62. common = grub-core/commands/blocklist.c;
  63. common = grub-core/commands/macbless.c;
  64. common = grub-core/commands/xnu_uuid.c;
  65. common = grub-core/commands/testload.c;
  66. common = grub-core/commands/ls.c;
  67. common = grub-core/disk/dmraid_nvidia.c;
  68. common = grub-core/disk/loopback.c;
  69. common = grub-core/disk/lvm.c;
  70. common = grub-core/disk/mdraid_linux.c;
  71. common = grub-core/disk/mdraid_linux_be.c;
  72. common = grub-core/disk/mdraid1x_linux.c;
  73. common = grub-core/disk/raid5_recover.c;
  74. common = grub-core/disk/raid6_recover.c;
  75. common = grub-core/font/font.c;
  76. common = grub-core/gfxmenu/font.c;
  77. common = grub-core/normal/charset.c;
  78. common = grub-core/video/fb/fbblit.c;
  79. common = grub-core/video/fb/fbutil.c;
  80. common = grub-core/video/fb/fbfill.c;
  81. common = grub-core/video/fb/video_fb.c;
  82. common = grub-core/video/video.c;
  83. common = grub-core/video/capture.c;
  84. common = grub-core/video/colors.c;
  85. common = grub-core/unidata.c;
  86. common = grub-core/io/bufio.c;
  87. common = grub-core/fs/affs.c;
  88. common = grub-core/fs/afs.c;
  89. common = grub-core/fs/bfs.c;
  90. common = grub-core/fs/btrfs.c;
  91. common = grub-core/fs/cbfs.c;
  92. common = grub-core/fs/cpio.c;
  93. common = grub-core/fs/cpio_be.c;
  94. common = grub-core/fs/odc.c;
  95. common = grub-core/fs/newc.c;
  96. common = grub-core/fs/ext2.c;
  97. common = grub-core/fs/fat.c;
  98. common = grub-core/fs/exfat.c;
  99. common = grub-core/fs/f2fs.c;
  100. common = grub-core/fs/fshelp.c;
  101. common = grub-core/fs/hfs.c;
  102. common = grub-core/fs/hfsplus.c;
  103. common = grub-core/fs/hfspluscomp.c;
  104. common = grub-core/fs/iso9660.c;
  105. common = grub-core/fs/jfs.c;
  106. common = grub-core/fs/minix.c;
  107. common = grub-core/fs/minix2.c;
  108. common = grub-core/fs/minix3.c;
  109. common = grub-core/fs/minix_be.c;
  110. common = grub-core/fs/minix2_be.c;
  111. common = grub-core/fs/minix3_be.c;
  112. common = grub-core/fs/nilfs2.c;
  113. common = grub-core/fs/ntfs.c;
  114. common = grub-core/fs/ntfscomp.c;
  115. common = grub-core/fs/reiserfs.c;
  116. common = grub-core/fs/romfs.c;
  117. common = grub-core/fs/sfs.c;
  118. common = grub-core/fs/squash4.c;
  119. common = grub-core/fs/tar.c;
  120. common = grub-core/fs/udf.c;
  121. common = grub-core/fs/ufs2.c;
  122. common = grub-core/fs/ufs.c;
  123. common = grub-core/fs/ufs_be.c;
  124. common = grub-core/fs/xfs.c;
  125. common = grub-core/fs/zfs/zfscrypt.c;
  126. common = grub-core/fs/zfs/zfs.c;
  127. common = grub-core/fs/zfs/zfsinfo.c;
  128. common = grub-core/fs/zfs/zfs_lzjb.c;
  129. common = grub-core/fs/zfs/zfs_lz4.c;
  130. common = grub-core/fs/zfs/zfs_sha256.c;
  131. common = grub-core/fs/zfs/zfs_fletcher.c;
  132. common = grub-core/lib/envblk.c;
  133. common = grub-core/lib/hexdump.c;
  134. common = grub-core/lib/LzFind.c;
  135. common = grub-core/lib/LzmaEnc.c;
  136. common = grub-core/lib/crc.c;
  137. common = grub-core/lib/adler32.c;
  138. common = grub-core/lib/crc64.c;
  139. common = grub-core/lib/datetime.c;
  140. common = grub-core/normal/misc.c;
  141. common = grub-core/partmap/acorn.c;
  142. common = grub-core/partmap/amiga.c;
  143. common = grub-core/partmap/apple.c;
  144. common = grub-core/partmap/sun.c;
  145. common = grub-core/partmap/plan.c;
  146. common = grub-core/partmap/dvh.c;
  147. common = grub-core/partmap/sunpc.c;
  148. common = grub-core/partmap/bsdlabel.c;
  149. common = grub-core/partmap/dfly.c;
  150. common = grub-core/script/function.c;
  151. common = grub-core/script/lexer.c;
  152. common = grub-core/script/main.c;
  153. common = grub-core/script/script.c;
  154. common = grub-core/script/argv.c;
  155. common = grub-core/io/gzio.c;
  156. common = grub-core/io/xzio.c;
  157. common = grub-core/io/lzopio.c;
  158. common = grub-core/kern/ia64/dl_helper.c;
  159. common = grub-core/kern/arm/dl_helper.c;
  160. common = grub-core/kern/arm64/dl_helper.c;
  161. common = grub-core/kern/loongarch64/dl_helper.c;
  162. common = grub-core/lib/minilzo/minilzo.c;
  163. common = grub-core/lib/xzembed/xz_dec_bcj.c;
  164. common = grub-core/lib/xzembed/xz_dec_lzma2.c;
  165. common = grub-core/lib/xzembed/xz_dec_stream.c;
  166. common = grub-core/lib/zstd/debug.c;
  167. common = grub-core/lib/zstd/entropy_common.c;
  168. common = grub-core/lib/zstd/error_private.c;
  169. common = grub-core/lib/zstd/fse_decompress.c;
  170. common = grub-core/lib/zstd/huf_decompress.c;
  171. common = grub-core/lib/zstd/module.c;
  172. common = grub-core/lib/zstd/xxhash.c;
  173. common = grub-core/lib/zstd/zstd_common.c;
  174. common = grub-core/lib/zstd/zstd_decompress.c;
  175. };
  176. program = {
  177. name = grub-mkimage;
  178. mansection = 1;
  179. common = util/grub-mkimage.c;
  180. common = util/mkimage.c;
  181. common = util/grub-mkimage32.c;
  182. common = util/grub-mkimage64.c;
  183. common = util/resolve.c;
  184. common = grub-core/kern/emu/argp_common.c;
  185. common = grub-core/osdep/init.c;
  186. common = grub-core/osdep/config.c;
  187. extra_dist = grub-core/osdep/aros/config.c;
  188. extra_dist = grub-core/osdep/windows/config.c;
  189. extra_dist = grub-core/osdep/unix/config.c;
  190. common = util/config.c;
  191. extra_dist = util/grub-mkimagexx.c;
  192. ldadd = libgrubmods.a;
  193. ldadd = libgrubgcry.a;
  194. ldadd = libgrubkern.a;
  195. ldadd = grub-core/lib/gnulib/libgnu.a;
  196. ldadd = '$(LIBLZMA)';
  197. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  198. };
  199. program = {
  200. name = grub-mkrelpath;
  201. mansection = 1;
  202. common = util/grub-mkrelpath.c;
  203. common = grub-core/kern/emu/argp_common.c;
  204. common = grub-core/osdep/init.c;
  205. ldadd = libgrubmods.a;
  206. ldadd = libgrubgcry.a;
  207. ldadd = libgrubkern.a;
  208. ldadd = grub-core/lib/gnulib/libgnu.a;
  209. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  210. };
  211. program = {
  212. name = grub-script-check;
  213. mansection = 1;
  214. common = util/grub-script-check.c;
  215. common = grub-core/kern/emu/argp_common.c;
  216. common = grub-core/osdep/init.c;
  217. ldadd = libgrubmods.a;
  218. ldadd = libgrubgcry.a;
  219. ldadd = libgrubkern.a;
  220. ldadd = grub-core/lib/gnulib/libgnu.a;
  221. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  222. };
  223. program = {
  224. name = grub-editenv;
  225. mansection = 1;
  226. common = util/grub-editenv.c;
  227. common = util/editenv.c;
  228. common = util/grub-install-common.c;
  229. common = grub-core/osdep/init.c;
  230. common = grub-core/osdep/compress.c;
  231. extra_dist = grub-core/osdep/unix/compress.c;
  232. extra_dist = grub-core/osdep/basic/compress.c;
  233. common = util/mkimage.c;
  234. common = util/grub-mkimage32.c;
  235. common = util/grub-mkimage64.c;
  236. common = grub-core/osdep/config.c;
  237. common = util/config.c;
  238. common = util/resolve.c;
  239. ldadd = '$(LIBLZMA)';
  240. ldadd = libgrubmods.a;
  241. ldadd = libgrubgcry.a;
  242. ldadd = libgrubkern.a;
  243. ldadd = grub-core/lib/gnulib/libgnu.a;
  244. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  245. };
  246. program = {
  247. name = grub-mkpasswd-pbkdf2;
  248. mansection = 1;
  249. common = util/grub-mkpasswd-pbkdf2.c;
  250. common = grub-core/kern/emu/argp_common.c;
  251. common = grub-core/osdep/random.c;
  252. common = grub-core/osdep/init.c;
  253. ldadd = libgrubmods.a;
  254. ldadd = libgrubgcry.a;
  255. ldadd = libgrubkern.a;
  256. ldadd = grub-core/lib/gnulib/libgnu.a;
  257. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  258. };
  259. program = {
  260. name = grub-macho2img;
  261. mansection = 1;
  262. common = util/grub-macho2img.c;
  263. condition = COND_APPLE_LINKER;
  264. };
  265. program = {
  266. name = grub-fstest;
  267. mansection = 1;
  268. common_nodist = grub_fstest_init.c;
  269. common = util/grub-fstest.c;
  270. common = grub-core/kern/emu/hostfs.c;
  271. common = grub-core/disk/host.c;
  272. common = grub-core/osdep/init.c;
  273. ldadd = libgrubmods.a;
  274. ldadd = libgrubgcry.a;
  275. ldadd = libgrubkern.a;
  276. ldadd = grub-core/lib/gnulib/libgnu.a;
  277. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  278. };
  279. program = {
  280. name = grub-mount;
  281. mansection = 1;
  282. common_nodist = grub_fstest_init.c;
  283. common = util/grub-mount.c;
  284. common = grub-core/kern/emu/hostfs.c;
  285. common = grub-core/disk/host.c;
  286. common = grub-core/osdep/init.c;
  287. cflags = '$(FUSE_CFLAGS)';
  288. ldadd = libgrubmods.a;
  289. ldadd = libgrubgcry.a;
  290. ldadd = libgrubkern.a;
  291. ldadd = grub-core/lib/gnulib/libgnu.a;
  292. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) $(FUSE_LIBS)';
  293. condition = COND_GRUB_MOUNT;
  294. };
  295. program = {
  296. name = grub-mkfont;
  297. mansection = 1;
  298. common = util/grub-mkfont.c;
  299. common = grub-core/kern/emu/argp_common.c;
  300. common = grub-core/osdep/init.c;
  301. cflags = '$(FREETYPE_CFLAGS)';
  302. cppflags = '-DGRUB_MKFONT=1';
  303. ldadd = libgrubmods.a;
  304. ldadd = libgrubgcry.a;
  305. ldadd = libgrubkern.a;
  306. ldadd = grub-core/lib/gnulib/libgnu.a;
  307. ldadd = '$(FREETYPE_LIBS)';
  308. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  309. condition = COND_GRUB_MKFONT;
  310. };
  311. program = {
  312. name = grub-probe;
  313. installdir = sbin;
  314. mansection = 8;
  315. common = util/grub-probe.c;
  316. common = util/probe.c;
  317. common = grub-core/osdep/ofpath.c;
  318. common = grub-core/kern/emu/argp_common.c;
  319. common = grub-core/osdep/init.c;
  320. ldadd = libgrubmods.a;
  321. ldadd = libgrubgcry.a;
  322. ldadd = libgrubkern.a;
  323. ldadd = grub-core/lib/gnulib/libgnu.a;
  324. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  325. };
  326. program = {
  327. name = grub-bios-setup;
  328. installdir = sbin;
  329. mansection = 8;
  330. common = util/grub-setup.c;
  331. common = util/setup_bios.c;
  332. extra_dist = util/setup.c;
  333. common = grub-core/kern/emu/argp_common.c;
  334. common = grub-core/lib/reed_solomon.c;
  335. common = grub-core/osdep/blocklist.c;
  336. extra_dist = grub-core/osdep/generic/blocklist.c;
  337. extra_dist = grub-core/osdep/linux/blocklist.c;
  338. extra_dist = grub-core/osdep/windows/blocklist.c;
  339. common = grub-core/osdep/init.c;
  340. ldadd = libgrubmods.a;
  341. ldadd = libgrubkern.a;
  342. ldadd = libgrubgcry.a;
  343. ldadd = grub-core/lib/gnulib/libgnu.a;
  344. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  345. cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
  346. };
  347. program = {
  348. name = grub-sparc64-setup;
  349. installdir = sbin;
  350. mansection = 8;
  351. common = util/grub-setup.c;
  352. common = util/setup_sparc.c;
  353. common = grub-core/kern/emu/argp_common.c;
  354. common = grub-core/lib/reed_solomon.c;
  355. common = grub-core/osdep/ofpath.c;
  356. common = grub-core/osdep/blocklist.c;
  357. common = grub-core/osdep/init.c;
  358. ldadd = libgrubmods.a;
  359. ldadd = libgrubkern.a;
  360. ldadd = libgrubgcry.a;
  361. ldadd = grub-core/lib/gnulib/libgnu.a;
  362. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  363. cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
  364. };
  365. program = {
  366. name = grub-ofpathname;
  367. installdir = sbin;
  368. mansection = 8;
  369. common = util/ieee1275/grub-ofpathname.c;
  370. common = grub-core/osdep/ofpath.c;
  371. common = grub-core/osdep/init.c;
  372. ldadd = libgrubmods.a;
  373. ldadd = libgrubgcry.a;
  374. ldadd = libgrubkern.a;
  375. ldadd = grub-core/lib/gnulib/libgnu.a;
  376. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  377. };
  378. program = {
  379. name = grub-mklayout;
  380. mansection = 1;
  381. common = util/grub-mklayout.c;
  382. common = grub-core/kern/emu/argp_common.c;
  383. common = grub-core/osdep/init.c;
  384. ldadd = libgrubmods.a;
  385. ldadd = libgrubgcry.a;
  386. ldadd = libgrubkern.a;
  387. ldadd = grub-core/lib/gnulib/libgnu.a;
  388. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  389. };
  390. program = {
  391. name = grub-macbless;
  392. installdir = sbin;
  393. mansection = 8;
  394. common = util/grub-macbless.c;
  395. common = grub-core/osdep/init.c;
  396. common = grub-core/kern/emu/argp_common.c;
  397. ldadd = libgrubmods.a;
  398. ldadd = libgrubgcry.a;
  399. ldadd = libgrubkern.a;
  400. ldadd = grub-core/lib/gnulib/libgnu.a;
  401. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  402. };
  403. data = {
  404. common = util/grub.d/README;
  405. installdir = grubconf;
  406. };
  407. script = {
  408. name = '00_header';
  409. common = util/grub.d/00_header.in;
  410. installdir = grubconf;
  411. };
  412. script = {
  413. name = '10_windows';
  414. common = util/grub.d/10_windows.in;
  415. installdir = grubconf;
  416. condition = COND_HOST_WINDOWS;
  417. };
  418. script = {
  419. name = '10_hurd';
  420. common = util/grub.d/10_hurd.in;
  421. installdir = grubconf;
  422. condition = COND_HOST_HURD;
  423. };
  424. script = {
  425. name = '10_kfreebsd';
  426. common = util/grub.d/10_kfreebsd.in;
  427. installdir = grubconf;
  428. condition = COND_HOST_KFREEBSD;
  429. };
  430. script = {
  431. name = '10_illumos';
  432. common = util/grub.d/10_illumos.in;
  433. installdir = grubconf;
  434. condition = COND_HOST_ILLUMOS;
  435. };
  436. script = {
  437. name = '10_netbsd';
  438. common = util/grub.d/10_netbsd.in;
  439. installdir = grubconf;
  440. condition = COND_HOST_NETBSD;
  441. };
  442. script = {
  443. name = '10_linux';
  444. common = util/grub.d/10_linux.in;
  445. installdir = grubconf;
  446. condition = COND_HOST_LINUX;
  447. };
  448. script = {
  449. name = '10_xnu';
  450. common = util/grub.d/10_xnu.in;
  451. installdir = grubconf;
  452. condition = COND_HOST_XNU;
  453. };
  454. script = {
  455. name = '20_linux_xen';
  456. common = util/grub.d/20_linux_xen.in;
  457. installdir = grubconf;
  458. condition = COND_HOST_LINUX;
  459. };
  460. script = {
  461. name = '25_bli';
  462. common = util/grub.d/25_bli.in;
  463. installdir = grubconf;
  464. };
  465. script = {
  466. name = '30_os-prober';
  467. common = util/grub.d/30_os-prober.in;
  468. installdir = grubconf;
  469. };
  470. script = {
  471. name = '30_uefi-firmware';
  472. common = util/grub.d/30_uefi-firmware.in;
  473. installdir = grubconf;
  474. };
  475. script = {
  476. name = '40_custom';
  477. common = util/grub.d/40_custom.in;
  478. installdir = grubconf;
  479. };
  480. script = {
  481. name = '41_custom';
  482. common = util/grub.d/41_custom.in;
  483. installdir = grubconf;
  484. };
  485. program = {
  486. mansection = 1;
  487. name = grub-mkrescue;
  488. common = util/grub-mkrescue.c;
  489. common = util/render-label.c;
  490. common = util/glue-efi.c;
  491. common = util/mkimage.c;
  492. common = util/grub-mkimage32.c;
  493. common = util/grub-mkimage64.c;
  494. common = util/grub-install-common.c;
  495. common = util/setup_bios.c;
  496. common = util/setup_sparc.c;
  497. common = grub-core/lib/reed_solomon.c;
  498. common = grub-core/osdep/random.c;
  499. common = grub-core/osdep/ofpath.c;
  500. common = grub-core/osdep/platform.c;
  501. common = grub-core/osdep/platform_unix.c;
  502. common = grub-core/osdep/compress.c;
  503. extra_dist = grub-core/osdep/unix/compress.c;
  504. extra_dist = grub-core/osdep/basic/compress.c;
  505. common = util/editenv.c;
  506. common = grub-core/osdep/blocklist.c;
  507. common = grub-core/osdep/config.c;
  508. common = util/config.c;
  509. common = grub-core/kern/emu/hostfs.c;
  510. common = grub-core/disk/host.c;
  511. common = util/resolve.c;
  512. common = grub-core/kern/emu/argp_common.c;
  513. common = grub-core/osdep/init.c;
  514. ldadd = '$(LIBLZMA)';
  515. ldadd = libgrubmods.a;
  516. ldadd = libgrubgcry.a;
  517. ldadd = libgrubkern.a;
  518. ldadd = grub-core/lib/gnulib/libgnu.a;
  519. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  520. condition = COND_HAVE_EXEC;
  521. };
  522. program = {
  523. mansection = 1;
  524. name = grub-mkstandalone;
  525. common = util/grub-mkstandalone.c;
  526. common = util/render-label.c;
  527. common = util/glue-efi.c;
  528. common = util/mkimage.c;
  529. common = util/grub-mkimage32.c;
  530. common = util/grub-mkimage64.c;
  531. common = util/grub-install-common.c;
  532. common = util/setup_bios.c;
  533. common = util/setup_sparc.c;
  534. common = grub-core/lib/reed_solomon.c;
  535. common = grub-core/osdep/random.c;
  536. common = grub-core/osdep/ofpath.c;
  537. common = grub-core/osdep/platform.c;
  538. common = grub-core/osdep/platform_unix.c;
  539. extra_dist = grub-core/osdep/linux/platform.c;
  540. extra_dist = grub-core/osdep/windows/platform.c;
  541. extra_dist = grub-core/osdep/basic/platform.c;
  542. extra_dist = grub-core/osdep/basic/no_platform.c;
  543. extra_dist = grub-core/osdep/unix/platform.c;
  544. common = grub-core/osdep/compress.c;
  545. common = util/editenv.c;
  546. common = grub-core/osdep/blocklist.c;
  547. common = grub-core/osdep/config.c;
  548. common = util/config.c;
  549. common = grub-core/kern/emu/hostfs.c;
  550. common = grub-core/disk/host.c;
  551. common = util/resolve.c;
  552. common = grub-core/kern/emu/argp_common.c;
  553. common = grub-core/osdep/init.c;
  554. ldadd = '$(LIBLZMA)';
  555. ldadd = libgrubmods.a;
  556. ldadd = libgrubgcry.a;
  557. ldadd = libgrubkern.a;
  558. ldadd = grub-core/lib/gnulib/libgnu.a;
  559. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  560. };
  561. program = {
  562. mansection = 8;
  563. installdir = sbin;
  564. name = grub-install;
  565. common = util/grub-install.c;
  566. common = util/probe.c;
  567. common = util/mkimage.c;
  568. common = util/grub-mkimage32.c;
  569. common = util/grub-mkimage64.c;
  570. common = util/grub-install-common.c;
  571. common = util/setup_bios.c;
  572. common = util/setup_sparc.c;
  573. common = grub-core/lib/reed_solomon.c;
  574. common = grub-core/osdep/random.c;
  575. common = grub-core/osdep/ofpath.c;
  576. common = grub-core/osdep/platform.c;
  577. common = grub-core/osdep/platform_unix.c;
  578. common = grub-core/osdep/compress.c;
  579. common = util/editenv.c;
  580. common = grub-core/osdep/blocklist.c;
  581. common = grub-core/osdep/config.c;
  582. common = util/config.c;
  583. common = util/render-label.c;
  584. common = grub-core/kern/emu/hostfs.c;
  585. common = grub-core/disk/host.c;
  586. common = util/resolve.c;
  587. common = grub-core/kern/emu/argp_common.c;
  588. common = grub-core/osdep/init.c;
  589. ldadd = '$(LIBLZMA)';
  590. ldadd = libgrubmods.a;
  591. ldadd = libgrubgcry.a;
  592. ldadd = libgrubkern.a;
  593. ldadd = grub-core/lib/gnulib/libgnu.a;
  594. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  595. };
  596. program = {
  597. mansection = 1;
  598. installdir = bin;
  599. name = grub-mknetdir;
  600. common = util/grub-mknetdir.c;
  601. common = util/mkimage.c;
  602. common = util/grub-mkimage32.c;
  603. common = util/grub-mkimage64.c;
  604. common = util/grub-install-common.c;
  605. common = util/setup_bios.c;
  606. common = util/setup_sparc.c;
  607. common = grub-core/lib/reed_solomon.c;
  608. common = grub-core/osdep/random.c;
  609. common = grub-core/osdep/ofpath.c;
  610. common = grub-core/osdep/platform.c;
  611. common = grub-core/osdep/platform_unix.c;
  612. common = grub-core/osdep/compress.c;
  613. common = util/editenv.c;
  614. common = grub-core/osdep/blocklist.c;
  615. common = grub-core/osdep/config.c;
  616. common = util/config.c;
  617. common = util/resolve.c;
  618. common = grub-core/kern/emu/argp_common.c;
  619. common = grub-core/osdep/init.c;
  620. ldadd = '$(LIBLZMA)';
  621. ldadd = libgrubmods.a;
  622. ldadd = libgrubgcry.a;
  623. ldadd = libgrubkern.a;
  624. ldadd = grub-core/lib/gnulib/libgnu.a;
  625. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  626. };
  627. script = {
  628. name = grub-mkconfig;
  629. common = util/grub-mkconfig.in;
  630. mansection = 8;
  631. installdir = sbin;
  632. };
  633. script = {
  634. name = grub-set-default;
  635. common = util/grub-set-default.in;
  636. mansection = 8;
  637. installdir = sbin;
  638. };
  639. script = {
  640. name = grub-reboot;
  641. common = util/grub-reboot.in;
  642. mansection = 8;
  643. installdir = sbin;
  644. };
  645. script = {
  646. name = grub-mkconfig_lib;
  647. common = util/grub-mkconfig_lib.in;
  648. installdir = noinst;
  649. };
  650. script = {
  651. name = grub-kbdcomp;
  652. common = util/grub-kbdcomp.in;
  653. mansection = 1;
  654. };
  655. script = {
  656. name = grub-shell;
  657. common = tests/util/grub-shell.in;
  658. installdir = noinst;
  659. };
  660. script = {
  661. name = grub-shell-tester;
  662. common = tests/util/grub-shell-tester.in;
  663. installdir = noinst;
  664. };
  665. script = {
  666. name = grub-shell-luks-tester;
  667. common = tests/util/grub-shell-luks-tester.in;
  668. installdir = noinst;
  669. };
  670. script = {
  671. name = grub-fs-tester;
  672. common = tests/util/grub-fs-tester.in;
  673. installdir = noinst;
  674. dependencies = 'garbage-gen$(BUILD_EXEEXT)';
  675. };
  676. script = {
  677. testcase = native;
  678. name = ext234_test;
  679. common = tests/ext234_test.in;
  680. };
  681. script = {
  682. testcase = native;
  683. name = squashfs_test;
  684. common = tests/squashfs_test.in;
  685. };
  686. script = {
  687. testcase = native;
  688. name = iso9660_test;
  689. common = tests/iso9660_test.in;
  690. };
  691. script = {
  692. testcase = native;
  693. name = hfsplus_test;
  694. common = tests/hfsplus_test.in;
  695. };
  696. script = {
  697. testcase = native;
  698. name = ntfs_test;
  699. common = tests/ntfs_test.in;
  700. };
  701. script = {
  702. testcase = native;
  703. name = reiserfs_test;
  704. common = tests/reiserfs_test.in;
  705. };
  706. script = {
  707. testcase = native;
  708. name = fat_test;
  709. common = tests/fat_test.in;
  710. };
  711. script = {
  712. testcase = native;
  713. name = minixfs_test;
  714. common = tests/minixfs_test.in;
  715. };
  716. script = {
  717. testcase = native;
  718. name = xfs_test;
  719. common = tests/xfs_test.in;
  720. };
  721. script = {
  722. testcase = native;
  723. name = f2fs_test;
  724. common = tests/f2fs_test.in;
  725. };
  726. script = {
  727. testcase = native;
  728. name = nilfs2_test;
  729. common = tests/nilfs2_test.in;
  730. };
  731. script = {
  732. testcase = native;
  733. name = romfs_test;
  734. common = tests/romfs_test.in;
  735. };
  736. script = {
  737. testcase = native;
  738. name = exfat_test;
  739. common = tests/exfat_test.in;
  740. };
  741. script = {
  742. testcase = native;
  743. name = tar_test;
  744. common = tests/tar_test.in;
  745. };
  746. script = {
  747. testcase = native;
  748. name = udf_test;
  749. common = tests/udf_test.in;
  750. };
  751. script = {
  752. testcase = native;
  753. name = hfs_test;
  754. common = tests/hfs_test.in;
  755. };
  756. script = {
  757. testcase = native;
  758. name = jfs_test;
  759. common = tests/jfs_test.in;
  760. };
  761. script = {
  762. testcase = native;
  763. name = btrfs_test;
  764. common = tests/btrfs_test.in;
  765. };
  766. script = {
  767. testcase = native;
  768. name = zfs_test;
  769. common = tests/zfs_test.in;
  770. };
  771. script = {
  772. testcase = native;
  773. name = cpio_test;
  774. common = tests/cpio_test.in;
  775. };
  776. script = {
  777. testcase = native;
  778. name = example_scripted_test;
  779. common = tests/example_scripted_test.in;
  780. };
  781. script = {
  782. testcase = native;
  783. name = gettext_strings_test;
  784. common = tests/gettext_strings_test.in;
  785. extra_dist = po/exclude.pot;
  786. };
  787. script = {
  788. testcase = nonnative;
  789. name = pata_test;
  790. common = tests/pata_test.in;
  791. };
  792. script = {
  793. testcase = nonnative;
  794. name = ahci_test;
  795. common = tests/ahci_test.in;
  796. };
  797. script = {
  798. testcase = nonnative;
  799. name = uhci_test;
  800. common = tests/uhci_test.in;
  801. };
  802. script = {
  803. testcase = nonnative;
  804. name = ohci_test;
  805. common = tests/ohci_test.in;
  806. };
  807. script = {
  808. testcase = nonnative;
  809. name = ehci_test;
  810. common = tests/ehci_test.in;
  811. };
  812. script = {
  813. testcase = nonnative;
  814. name = example_grub_script_test;
  815. common = tests/example_grub_script_test.in;
  816. };
  817. script = {
  818. testcase = nonnative;
  819. name = grub_script_eval;
  820. common = tests/grub_script_eval.in;
  821. };
  822. script = {
  823. testcase = nonnative;
  824. name = grub_script_test;
  825. common = tests/grub_script_test.in;
  826. };
  827. script = {
  828. testcase = nonnative;
  829. name = grub_script_echo1;
  830. common = tests/grub_script_echo1.in;
  831. };
  832. script = {
  833. testcase = nonnative;
  834. name = grub_script_leading_whitespace;
  835. common = tests/grub_script_leading_whitespace.in;
  836. };
  837. script = {
  838. testcase = nonnative;
  839. name = grub_script_echo_keywords;
  840. common = tests/grub_script_echo_keywords.in;
  841. };
  842. script = {
  843. testcase = nonnative;
  844. name = grub_script_vars1;
  845. common = tests/grub_script_vars1.in;
  846. };
  847. script = {
  848. testcase = nonnative;
  849. name = grub_script_for1;
  850. common = tests/grub_script_for1.in;
  851. };
  852. script = {
  853. testcase = nonnative;
  854. name = grub_script_while1;
  855. common = tests/grub_script_while1.in;
  856. };
  857. script = {
  858. testcase = nonnative;
  859. name = grub_script_if;
  860. common = tests/grub_script_if.in;
  861. };
  862. script = {
  863. testcase = native;
  864. name = grub_script_blanklines;
  865. common = tests/grub_script_blanklines.in;
  866. };
  867. script = {
  868. testcase = native;
  869. name = grub_script_final_semicolon;
  870. common = tests/grub_script_final_semicolon.in;
  871. };
  872. script = {
  873. testcase = native;
  874. name = grub_script_dollar;
  875. common = tests/grub_script_dollar.in;
  876. };
  877. script = {
  878. testcase = nonnative;
  879. name = grub_script_comments;
  880. common = tests/grub_script_comments.in;
  881. };
  882. script = {
  883. testcase = nonnative;
  884. name = grub_script_functions;
  885. common = tests/grub_script_functions.in;
  886. };
  887. script = {
  888. testcase = nonnative;
  889. name = grub_script_break;
  890. common = tests/grub_script_break.in;
  891. };
  892. script = {
  893. testcase = nonnative;
  894. name = grub_script_continue;
  895. common = tests/grub_script_continue.in;
  896. };
  897. script = {
  898. testcase = nonnative;
  899. name = grub_script_shift;
  900. common = tests/grub_script_shift.in;
  901. };
  902. script = {
  903. testcase = nonnative;
  904. name = grub_script_blockarg;
  905. common = tests/grub_script_blockarg.in;
  906. };
  907. script = {
  908. testcase = nonnative;
  909. name = grub_script_setparams;
  910. common = tests/grub_script_setparams.in;
  911. };
  912. script = {
  913. testcase = nonnative;
  914. name = grub_script_return;
  915. common = tests/grub_script_return.in;
  916. };
  917. script = {
  918. testcase = nonnative;
  919. name = grub_cmd_cryptomount;
  920. common = tests/grub_cmd_cryptomount.in;
  921. };
  922. script = {
  923. testcase = nonnative;
  924. name = grub_cmd_regexp;
  925. common = tests/grub_cmd_regexp.in;
  926. };
  927. script = {
  928. testcase = nonnative;
  929. name = grub_cmd_date;
  930. common = tests/grub_cmd_date.in;
  931. };
  932. script = {
  933. testcase = nonnative;
  934. name = grub_cmd_set_date;
  935. common = tests/grub_cmd_set_date.in;
  936. };
  937. script = {
  938. testcase = nonnative;
  939. name = grub_cmd_sleep;
  940. common = tests/grub_cmd_sleep.in;
  941. };
  942. script = {
  943. testcase = nonnative;
  944. name = grub_script_expansion;
  945. common = tests/grub_script_expansion.in;
  946. };
  947. script = {
  948. testcase = nonnative;
  949. name = grub_script_not;
  950. common = tests/grub_script_not.in;
  951. };
  952. script = {
  953. testcase = native;
  954. name = grub_script_no_commands;
  955. common = tests/grub_script_no_commands.in;
  956. };
  957. script = {
  958. testcase = nonnative;
  959. name = partmap_test;
  960. common = tests/partmap_test.in;
  961. };
  962. script = {
  963. testcase = nonnative;
  964. name = hddboot_test;
  965. common = tests/hddboot_test.in;
  966. };
  967. script = {
  968. testcase = nonnative;
  969. name = fddboot_test;
  970. common = tests/fddboot_test.in;
  971. };
  972. script = {
  973. testcase = nonnative;
  974. name = cdboot_test;
  975. common = tests/cdboot_test.in;
  976. };
  977. script = {
  978. testcase = nonnative;
  979. name = netboot_test;
  980. common = tests/netboot_test.in;
  981. };
  982. script = {
  983. testcase = nonnative;
  984. name = serial_test;
  985. common = tests/serial_test.in;
  986. };
  987. script = {
  988. testcase = nonnative;
  989. name = pseries_test;
  990. common = tests/pseries_test.in;
  991. };
  992. script = {
  993. testcase = nonnative;
  994. name = core_compress_test;
  995. common = tests/core_compress_test.in;
  996. };
  997. script = {
  998. testcase = nonnative;
  999. name = xzcompress_test;
  1000. common = tests/xzcompress_test.in;
  1001. };
  1002. script = {
  1003. testcase = nonnative;
  1004. name = gzcompress_test;
  1005. common = tests/gzcompress_test.in;
  1006. };
  1007. script = {
  1008. testcase = nonnative;
  1009. name = lzocompress_test;
  1010. common = tests/lzocompress_test.in;
  1011. };
  1012. script = {
  1013. testcase = nonnative;
  1014. name = grub_cmd_echo;
  1015. common = tests/grub_cmd_echo.in;
  1016. };
  1017. script = {
  1018. testcase = nonnative;
  1019. name = help_test;
  1020. common = tests/help_test.in;
  1021. };
  1022. script = {
  1023. testcase = nonnative;
  1024. name = grub_script_gettext;
  1025. common = tests/grub_script_gettext.in;
  1026. };
  1027. script = {
  1028. testcase = nonnative;
  1029. name = grub_script_escape_comma;
  1030. common = tests/grub_script_escape_comma.in;
  1031. };
  1032. script = {
  1033. testcase = nonnative;
  1034. name = grub_script_strcmp;
  1035. common = tests/grub_script_strcmp.in;
  1036. };
  1037. script = {
  1038. testcase = nonnative;
  1039. name = test_sha512sum;
  1040. common = tests/test_sha512sum.in;
  1041. };
  1042. script = {
  1043. testcase = nonnative;
  1044. name = test_unset;
  1045. common = tests/test_unset.in;
  1046. };
  1047. script = {
  1048. testcase = nonnative;
  1049. name = grub_func_test;
  1050. common = tests/grub_func_test.in;
  1051. };
  1052. script = {
  1053. testcase = nonnative;
  1054. name = grub_cmd_tr;
  1055. common = tests/grub_cmd_tr.in;
  1056. };
  1057. script = {
  1058. testcase = nonnative;
  1059. name = file_filter_test;
  1060. common = tests/file_filter_test.in;
  1061. };
  1062. script = {
  1063. testcase = nonnative;
  1064. name = grub_cmd_test;
  1065. common = tests/grub_cmd_test.in;
  1066. };
  1067. script = {
  1068. testcase = native;
  1069. name = syslinux_test;
  1070. common = tests/syslinux_test.in;
  1071. };
  1072. script = {
  1073. testcase = native;
  1074. name = luks1_test;
  1075. common = tests/luks1_test.in;
  1076. };
  1077. script = {
  1078. testcase = native;
  1079. name = luks2_test;
  1080. common = tests/luks2_test.in;
  1081. };
  1082. program = {
  1083. testcase = native;
  1084. name = example_unit_test;
  1085. common = tests/example_unit_test.c;
  1086. common = tests/lib/unit_test.c;
  1087. common = grub-core/kern/list.c;
  1088. common = grub-core/kern/misc.c;
  1089. common = grub-core/tests/lib/test.c;
  1090. ldadd = libgrubmods.a;
  1091. ldadd = libgrubgcry.a;
  1092. ldadd = libgrubkern.a;
  1093. ldadd = grub-core/lib/gnulib/libgnu.a;
  1094. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1095. };
  1096. program = {
  1097. testcase = native;
  1098. name = printf_test;
  1099. common = tests/printf_unit_test.c;
  1100. common = tests/lib/unit_test.c;
  1101. common = grub-core/kern/list.c;
  1102. common = grub-core/kern/misc.c;
  1103. common = grub-core/tests/lib/test.c;
  1104. ldadd = libgrubmods.a;
  1105. ldadd = libgrubgcry.a;
  1106. ldadd = libgrubkern.a;
  1107. ldadd = grub-core/lib/gnulib/libgnu.a;
  1108. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1109. };
  1110. program = {
  1111. testcase = native;
  1112. name = date_test;
  1113. common = tests/date_unit_test.c;
  1114. common = tests/lib/unit_test.c;
  1115. common = grub-core/kern/list.c;
  1116. common = grub-core/kern/misc.c;
  1117. common = grub-core/tests/lib/test.c;
  1118. ldadd = libgrubmods.a;
  1119. ldadd = libgrubgcry.a;
  1120. ldadd = libgrubkern.a;
  1121. ldadd = grub-core/lib/gnulib/libgnu.a;
  1122. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1123. };
  1124. program = {
  1125. testcase = native;
  1126. name = priority_queue_unit_test;
  1127. common = tests/priority_queue_unit_test.cc;
  1128. common = tests/lib/unit_test.c;
  1129. common = grub-core/kern/list.c;
  1130. common = grub-core/kern/misc.c;
  1131. common = grub-core/tests/lib/test.c;
  1132. common = grub-core/lib/priority_queue.c;
  1133. ldadd = libgrubmods.a;
  1134. ldadd = libgrubgcry.a;
  1135. ldadd = libgrubkern.a;
  1136. ldadd = grub-core/lib/gnulib/libgnu.a;
  1137. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1138. condition = COND_HAVE_CXX;
  1139. };
  1140. program = {
  1141. testcase = native;
  1142. name = cmp_test;
  1143. common = tests/cmp_unit_test.c;
  1144. common = tests/lib/unit_test.c;
  1145. common = grub-core/kern/list.c;
  1146. common = grub-core/kern/misc.c;
  1147. common = grub-core/tests/lib/test.c;
  1148. ldadd = libgrubmods.a;
  1149. ldadd = libgrubgcry.a;
  1150. ldadd = libgrubkern.a;
  1151. ldadd = grub-core/lib/gnulib/libgnu.a;
  1152. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1153. };
  1154. program = {
  1155. name = grub-menulst2cfg;
  1156. mansection = 1;
  1157. common = util/grub-menulst2cfg.c;
  1158. common = grub-core/lib/legacy_parse.c;
  1159. common = grub-core/lib/i386/pc/vesa_modes_table.c;
  1160. common = grub-core/osdep/init.c;
  1161. ldadd = libgrubmods.a;
  1162. ldadd = libgrubgcry.a;
  1163. ldadd = libgrubkern.a;
  1164. ldadd = grub-core/lib/gnulib/libgnu.a;
  1165. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1166. };
  1167. program = {
  1168. name = grub-syslinux2cfg;
  1169. mansection = 1;
  1170. common = util/grub-syslinux2cfg.c;
  1171. common = grub-core/lib/syslinux_parse.c;
  1172. common = grub-core/lib/getline.c;
  1173. common = grub-core/osdep/init.c;
  1174. common = grub-core/kern/emu/hostfs.c;
  1175. common = grub-core/disk/host.c;
  1176. common = grub-core/kern/emu/argp_common.c;
  1177. ldadd = libgrubmods.a;
  1178. ldadd = libgrubgcry.a;
  1179. ldadd = libgrubkern.a;
  1180. ldadd = grub-core/lib/gnulib/libgnu.a;
  1181. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1182. };
  1183. program = {
  1184. name = grub-glue-efi;
  1185. mansection = 1;
  1186. common = util/grub-glue-efi.c;
  1187. common = util/glue-efi.c;
  1188. common = grub-core/kern/emu/argp_common.c;
  1189. common = grub-core/osdep/init.c;
  1190. ldadd = libgrubmods.a;
  1191. ldadd = libgrubgcry.a;
  1192. ldadd = libgrubkern.a;
  1193. ldadd = grub-core/lib/gnulib/libgnu.a;
  1194. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1195. };
  1196. program = {
  1197. name = grub-render-label;
  1198. mansection = 1;
  1199. common = util/grub-render-label.c;
  1200. common = util/render-label.c;
  1201. common = grub-core/kern/emu/argp_common.c;
  1202. common = grub-core/kern/emu/hostfs.c;
  1203. common = grub-core/disk/host.c;
  1204. common = grub-core/osdep/init.c;
  1205. ldadd = libgrubmods.a;
  1206. ldadd = libgrubgcry.a;
  1207. ldadd = libgrubkern.a;
  1208. ldadd = grub-core/lib/gnulib/libgnu.a;
  1209. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1210. };
  1211. program = {
  1212. name = grub-file;
  1213. mansection = 1;
  1214. common = util/grub-file.c;
  1215. common = util/render-label.c;
  1216. common = grub-core/commands/file.c;
  1217. common = grub-core/commands/file32.c;
  1218. common = grub-core/commands/file64.c;
  1219. common = grub-core/loader/i386/xen_file.c;
  1220. common = grub-core/loader/i386/xen_file32.c;
  1221. common = grub-core/loader/i386/xen_file64.c;
  1222. common = grub-core/io/offset.c;
  1223. common = grub-core/kern/elf.c;
  1224. common = grub-core/loader/lzss.c;
  1225. common = grub-core/loader/macho.c;
  1226. common = grub-core/loader/macho32.c;
  1227. common = grub-core/loader/macho64.c;
  1228. common = grub-core/kern/emu/hostfs.c;
  1229. common = grub-core/disk/host.c;
  1230. common = grub-core/osdep/init.c;
  1231. ldadd = libgrubmods.a;
  1232. ldadd = libgrubgcry.a;
  1233. ldadd = libgrubkern.a;
  1234. ldadd = grub-core/lib/gnulib/libgnu.a;
  1235. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1236. };