Makefile.util.def 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386
  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';
  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/lib/minilzo/minilzo.c;
  162. common = grub-core/lib/xzembed/xz_dec_bcj.c;
  163. common = grub-core/lib/xzembed/xz_dec_lzma2.c;
  164. common = grub-core/lib/xzembed/xz_dec_stream.c;
  165. common = grub-core/lib/zstd/debug.c;
  166. common = grub-core/lib/zstd/entropy_common.c;
  167. common = grub-core/lib/zstd/error_private.c;
  168. common = grub-core/lib/zstd/fse_decompress.c;
  169. common = grub-core/lib/zstd/huf_decompress.c;
  170. common = grub-core/lib/zstd/module.c;
  171. common = grub-core/lib/zstd/xxhash.c;
  172. common = grub-core/lib/zstd/zstd_common.c;
  173. common = grub-core/lib/zstd/zstd_decompress.c;
  174. };
  175. program = {
  176. name = grub-mkimage;
  177. mansection = 1;
  178. common = util/grub-mkimage.c;
  179. common = util/mkimage.c;
  180. common = util/grub-mkimage32.c;
  181. common = util/grub-mkimage64.c;
  182. common = util/resolve.c;
  183. common = grub-core/kern/emu/argp_common.c;
  184. common = grub-core/osdep/init.c;
  185. common = grub-core/osdep/config.c;
  186. extra_dist = grub-core/osdep/aros/config.c;
  187. extra_dist = grub-core/osdep/windows/config.c;
  188. extra_dist = grub-core/osdep/unix/config.c;
  189. common = util/config.c;
  190. extra_dist = util/grub-mkimagexx.c;
  191. ldadd = libgrubmods.a;
  192. ldadd = libgrubgcry.a;
  193. ldadd = libgrubkern.a;
  194. ldadd = grub-core/lib/gnulib/libgnu.a;
  195. ldadd = '$(LIBLZMA)';
  196. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  197. };
  198. program = {
  199. name = grub-mkrelpath;
  200. mansection = 1;
  201. common = util/grub-mkrelpath.c;
  202. common = grub-core/kern/emu/argp_common.c;
  203. common = grub-core/osdep/init.c;
  204. ldadd = libgrubmods.a;
  205. ldadd = libgrubgcry.a;
  206. ldadd = libgrubkern.a;
  207. ldadd = grub-core/lib/gnulib/libgnu.a;
  208. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  209. };
  210. program = {
  211. name = grub-script-check;
  212. mansection = 1;
  213. common = util/grub-script-check.c;
  214. common = grub-core/kern/emu/argp_common.c;
  215. common = grub-core/osdep/init.c;
  216. ldadd = libgrubmods.a;
  217. ldadd = libgrubgcry.a;
  218. ldadd = libgrubkern.a;
  219. ldadd = grub-core/lib/gnulib/libgnu.a;
  220. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  221. };
  222. program = {
  223. name = grub-editenv;
  224. mansection = 1;
  225. common = util/grub-editenv.c;
  226. common = util/editenv.c;
  227. common = util/grub-install-common.c;
  228. common = grub-core/osdep/init.c;
  229. common = grub-core/osdep/compress.c;
  230. extra_dist = grub-core/osdep/unix/compress.c;
  231. extra_dist = grub-core/osdep/basic/compress.c;
  232. common = util/mkimage.c;
  233. common = util/grub-mkimage32.c;
  234. common = util/grub-mkimage64.c;
  235. common = grub-core/osdep/config.c;
  236. common = util/config.c;
  237. common = util/resolve.c;
  238. ldadd = '$(LIBLZMA)';
  239. ldadd = libgrubmods.a;
  240. ldadd = libgrubgcry.a;
  241. ldadd = libgrubkern.a;
  242. ldadd = grub-core/lib/gnulib/libgnu.a;
  243. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  244. };
  245. program = {
  246. name = grub-mkpasswd-pbkdf2;
  247. mansection = 1;
  248. common = util/grub-mkpasswd-pbkdf2.c;
  249. common = grub-core/kern/emu/argp_common.c;
  250. common = grub-core/osdep/random.c;
  251. common = grub-core/osdep/init.c;
  252. ldadd = libgrubmods.a;
  253. ldadd = libgrubgcry.a;
  254. ldadd = libgrubkern.a;
  255. ldadd = grub-core/lib/gnulib/libgnu.a;
  256. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  257. };
  258. program = {
  259. name = grub-macho2img;
  260. mansection = 1;
  261. common = util/grub-macho2img.c;
  262. condition = COND_APPLE_LINKER;
  263. };
  264. program = {
  265. name = grub-fstest;
  266. mansection = 1;
  267. common_nodist = grub_fstest_init.c;
  268. common = util/grub-fstest.c;
  269. common = grub-core/kern/emu/hostfs.c;
  270. common = grub-core/disk/host.c;
  271. common = grub-core/osdep/init.c;
  272. ldadd = libgrubmods.a;
  273. ldadd = libgrubgcry.a;
  274. ldadd = libgrubkern.a;
  275. ldadd = grub-core/lib/gnulib/libgnu.a;
  276. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  277. };
  278. program = {
  279. name = grub-mount;
  280. mansection = 1;
  281. common_nodist = grub_fstest_init.c;
  282. common = util/grub-mount.c;
  283. common = grub-core/kern/emu/hostfs.c;
  284. common = grub-core/disk/host.c;
  285. common = grub-core/osdep/init.c;
  286. ldadd = libgrubmods.a;
  287. ldadd = libgrubgcry.a;
  288. ldadd = libgrubkern.a;
  289. ldadd = grub-core/lib/gnulib/libgnu.a;
  290. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
  291. condition = COND_GRUB_MOUNT;
  292. };
  293. program = {
  294. name = grub-mkfont;
  295. mansection = 1;
  296. common = util/grub-mkfont.c;
  297. common = grub-core/kern/emu/argp_common.c;
  298. common = grub-core/osdep/init.c;
  299. cflags = '$(FREETYPE_CFLAGS)';
  300. cppflags = '-DGRUB_MKFONT=1';
  301. ldadd = libgrubmods.a;
  302. ldadd = libgrubgcry.a;
  303. ldadd = libgrubkern.a;
  304. ldadd = grub-core/lib/gnulib/libgnu.a;
  305. ldadd = '$(FREETYPE_LIBS)';
  306. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  307. condition = COND_GRUB_MKFONT;
  308. };
  309. program = {
  310. name = grub-probe;
  311. installdir = sbin;
  312. mansection = 8;
  313. common = util/grub-probe.c;
  314. common = util/probe.c;
  315. common = grub-core/osdep/ofpath.c;
  316. common = grub-core/kern/emu/argp_common.c;
  317. common = grub-core/osdep/init.c;
  318. ldadd = libgrubmods.a;
  319. ldadd = libgrubgcry.a;
  320. ldadd = libgrubkern.a;
  321. ldadd = grub-core/lib/gnulib/libgnu.a;
  322. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  323. };
  324. program = {
  325. name = grub-bios-setup;
  326. installdir = sbin;
  327. mansection = 8;
  328. common = util/grub-setup.c;
  329. common = util/setup_bios.c;
  330. extra_dist = util/setup.c;
  331. common = grub-core/kern/emu/argp_common.c;
  332. common = grub-core/lib/reed_solomon.c;
  333. common = grub-core/osdep/blocklist.c;
  334. extra_dist = grub-core/osdep/generic/blocklist.c;
  335. extra_dist = grub-core/osdep/linux/blocklist.c;
  336. extra_dist = grub-core/osdep/windows/blocklist.c;
  337. common = grub-core/osdep/init.c;
  338. ldadd = libgrubmods.a;
  339. ldadd = libgrubkern.a;
  340. ldadd = libgrubgcry.a;
  341. ldadd = grub-core/lib/gnulib/libgnu.a;
  342. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  343. cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
  344. };
  345. program = {
  346. name = grub-sparc64-setup;
  347. installdir = sbin;
  348. mansection = 8;
  349. common = util/grub-setup.c;
  350. common = util/setup_sparc.c;
  351. common = grub-core/kern/emu/argp_common.c;
  352. common = grub-core/lib/reed_solomon.c;
  353. common = grub-core/osdep/ofpath.c;
  354. common = grub-core/osdep/blocklist.c;
  355. common = grub-core/osdep/init.c;
  356. ldadd = libgrubmods.a;
  357. ldadd = libgrubkern.a;
  358. ldadd = libgrubgcry.a;
  359. ldadd = grub-core/lib/gnulib/libgnu.a;
  360. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  361. cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
  362. };
  363. program = {
  364. name = grub-ofpathname;
  365. installdir = sbin;
  366. mansection = 8;
  367. common = util/ieee1275/grub-ofpathname.c;
  368. common = grub-core/osdep/ofpath.c;
  369. common = grub-core/osdep/init.c;
  370. ldadd = libgrubmods.a;
  371. ldadd = libgrubgcry.a;
  372. ldadd = libgrubkern.a;
  373. ldadd = grub-core/lib/gnulib/libgnu.a;
  374. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  375. };
  376. program = {
  377. name = grub-mklayout;
  378. mansection = 1;
  379. common = util/grub-mklayout.c;
  380. common = grub-core/kern/emu/argp_common.c;
  381. common = grub-core/osdep/init.c;
  382. ldadd = libgrubmods.a;
  383. ldadd = libgrubgcry.a;
  384. ldadd = libgrubkern.a;
  385. ldadd = grub-core/lib/gnulib/libgnu.a;
  386. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  387. };
  388. program = {
  389. name = grub-macbless;
  390. installdir = sbin;
  391. mansection = 8;
  392. common = util/grub-macbless.c;
  393. common = grub-core/osdep/init.c;
  394. common = grub-core/kern/emu/argp_common.c;
  395. ldadd = libgrubmods.a;
  396. ldadd = libgrubgcry.a;
  397. ldadd = libgrubkern.a;
  398. ldadd = grub-core/lib/gnulib/libgnu.a;
  399. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  400. };
  401. data = {
  402. common = util/grub.d/README;
  403. installdir = grubconf;
  404. };
  405. script = {
  406. name = '00_header';
  407. common = util/grub.d/00_header.in;
  408. installdir = grubconf;
  409. };
  410. script = {
  411. name = '10_windows';
  412. common = util/grub.d/10_windows.in;
  413. installdir = grubconf;
  414. condition = COND_HOST_WINDOWS;
  415. };
  416. script = {
  417. name = '10_hurd';
  418. common = util/grub.d/10_hurd.in;
  419. installdir = grubconf;
  420. condition = COND_HOST_HURD;
  421. };
  422. script = {
  423. name = '10_kfreebsd';
  424. common = util/grub.d/10_kfreebsd.in;
  425. installdir = grubconf;
  426. condition = COND_HOST_KFREEBSD;
  427. };
  428. script = {
  429. name = '10_illumos';
  430. common = util/grub.d/10_illumos.in;
  431. installdir = grubconf;
  432. condition = COND_HOST_ILLUMOS;
  433. };
  434. script = {
  435. name = '10_netbsd';
  436. common = util/grub.d/10_netbsd.in;
  437. installdir = grubconf;
  438. condition = COND_HOST_NETBSD;
  439. };
  440. script = {
  441. name = '10_linux';
  442. common = util/grub.d/10_linux.in;
  443. installdir = grubconf;
  444. condition = COND_HOST_LINUX;
  445. };
  446. script = {
  447. name = '10_xnu';
  448. common = util/grub.d/10_xnu.in;
  449. installdir = grubconf;
  450. condition = COND_HOST_XNU;
  451. };
  452. script = {
  453. name = '20_linux_xen';
  454. common = util/grub.d/20_linux_xen.in;
  455. installdir = grubconf;
  456. condition = COND_HOST_LINUX;
  457. };
  458. script = {
  459. name = '30_os-prober';
  460. common = util/grub.d/30_os-prober.in;
  461. installdir = grubconf;
  462. };
  463. script = {
  464. name = '30_uefi-firmware';
  465. common = util/grub.d/30_uefi-firmware.in;
  466. installdir = grubconf;
  467. };
  468. script = {
  469. name = '40_custom';
  470. common = util/grub.d/40_custom.in;
  471. installdir = grubconf;
  472. };
  473. script = {
  474. name = '41_custom';
  475. common = util/grub.d/41_custom.in;
  476. installdir = grubconf;
  477. };
  478. program = {
  479. mansection = 1;
  480. name = grub-mkrescue;
  481. common = util/grub-mkrescue.c;
  482. common = util/render-label.c;
  483. common = util/glue-efi.c;
  484. common = util/mkimage.c;
  485. common = util/grub-mkimage32.c;
  486. common = util/grub-mkimage64.c;
  487. common = util/grub-install-common.c;
  488. common = util/setup_bios.c;
  489. common = util/setup_sparc.c;
  490. common = grub-core/lib/reed_solomon.c;
  491. common = grub-core/osdep/random.c;
  492. common = grub-core/osdep/ofpath.c;
  493. common = grub-core/osdep/platform.c;
  494. common = grub-core/osdep/platform_unix.c;
  495. common = grub-core/osdep/compress.c;
  496. extra_dist = grub-core/osdep/unix/compress.c;
  497. extra_dist = grub-core/osdep/basic/compress.c;
  498. common = util/editenv.c;
  499. common = grub-core/osdep/blocklist.c;
  500. common = grub-core/osdep/config.c;
  501. common = util/config.c;
  502. common = grub-core/kern/emu/hostfs.c;
  503. common = grub-core/disk/host.c;
  504. common = util/resolve.c;
  505. common = grub-core/kern/emu/argp_common.c;
  506. common = grub-core/osdep/init.c;
  507. ldadd = '$(LIBLZMA)';
  508. ldadd = libgrubmods.a;
  509. ldadd = libgrubgcry.a;
  510. ldadd = libgrubkern.a;
  511. ldadd = grub-core/lib/gnulib/libgnu.a;
  512. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  513. condition = COND_HAVE_EXEC;
  514. };
  515. program = {
  516. mansection = 1;
  517. name = grub-mkstandalone;
  518. common = util/grub-mkstandalone.c;
  519. common = util/render-label.c;
  520. common = util/glue-efi.c;
  521. common = util/mkimage.c;
  522. common = util/grub-mkimage32.c;
  523. common = util/grub-mkimage64.c;
  524. common = util/grub-install-common.c;
  525. common = util/setup_bios.c;
  526. common = util/setup_sparc.c;
  527. common = grub-core/lib/reed_solomon.c;
  528. common = grub-core/osdep/random.c;
  529. common = grub-core/osdep/ofpath.c;
  530. common = grub-core/osdep/platform.c;
  531. common = grub-core/osdep/platform_unix.c;
  532. extra_dist = grub-core/osdep/linux/platform.c;
  533. extra_dist = grub-core/osdep/windows/platform.c;
  534. extra_dist = grub-core/osdep/basic/platform.c;
  535. extra_dist = grub-core/osdep/basic/no_platform.c;
  536. extra_dist = grub-core/osdep/unix/platform.c;
  537. common = grub-core/osdep/compress.c;
  538. common = util/editenv.c;
  539. common = grub-core/osdep/blocklist.c;
  540. common = grub-core/osdep/config.c;
  541. common = util/config.c;
  542. common = grub-core/kern/emu/hostfs.c;
  543. common = grub-core/disk/host.c;
  544. common = util/resolve.c;
  545. common = grub-core/kern/emu/argp_common.c;
  546. common = grub-core/osdep/init.c;
  547. ldadd = '$(LIBLZMA)';
  548. ldadd = libgrubmods.a;
  549. ldadd = libgrubgcry.a;
  550. ldadd = libgrubkern.a;
  551. ldadd = grub-core/lib/gnulib/libgnu.a;
  552. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  553. };
  554. program = {
  555. mansection = 8;
  556. installdir = sbin;
  557. name = grub-install;
  558. common = util/grub-install.c;
  559. common = util/probe.c;
  560. common = util/mkimage.c;
  561. common = util/grub-mkimage32.c;
  562. common = util/grub-mkimage64.c;
  563. common = util/grub-install-common.c;
  564. common = util/setup_bios.c;
  565. common = util/setup_sparc.c;
  566. common = grub-core/lib/reed_solomon.c;
  567. common = grub-core/osdep/random.c;
  568. common = grub-core/osdep/ofpath.c;
  569. common = grub-core/osdep/platform.c;
  570. common = grub-core/osdep/platform_unix.c;
  571. common = grub-core/osdep/compress.c;
  572. common = util/editenv.c;
  573. common = grub-core/osdep/blocklist.c;
  574. common = grub-core/osdep/config.c;
  575. common = util/config.c;
  576. common = util/render-label.c;
  577. common = grub-core/kern/emu/hostfs.c;
  578. common = grub-core/disk/host.c;
  579. common = util/resolve.c;
  580. common = grub-core/kern/emu/argp_common.c;
  581. common = grub-core/osdep/init.c;
  582. ldadd = '$(LIBLZMA)';
  583. ldadd = libgrubmods.a;
  584. ldadd = libgrubgcry.a;
  585. ldadd = libgrubkern.a;
  586. ldadd = grub-core/lib/gnulib/libgnu.a;
  587. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  588. };
  589. program = {
  590. mansection = 1;
  591. installdir = bin;
  592. name = grub-mknetdir;
  593. common = util/grub-mknetdir.c;
  594. common = util/mkimage.c;
  595. common = util/grub-mkimage32.c;
  596. common = util/grub-mkimage64.c;
  597. common = util/grub-install-common.c;
  598. common = util/setup_bios.c;
  599. common = util/setup_sparc.c;
  600. common = grub-core/lib/reed_solomon.c;
  601. common = grub-core/osdep/random.c;
  602. common = grub-core/osdep/ofpath.c;
  603. common = grub-core/osdep/platform.c;
  604. common = grub-core/osdep/platform_unix.c;
  605. common = grub-core/osdep/compress.c;
  606. common = util/editenv.c;
  607. common = grub-core/osdep/blocklist.c;
  608. common = grub-core/osdep/config.c;
  609. common = util/config.c;
  610. common = util/resolve.c;
  611. common = grub-core/kern/emu/argp_common.c;
  612. common = grub-core/osdep/init.c;
  613. ldadd = '$(LIBLZMA)';
  614. ldadd = libgrubmods.a;
  615. ldadd = libgrubgcry.a;
  616. ldadd = libgrubkern.a;
  617. ldadd = grub-core/lib/gnulib/libgnu.a;
  618. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  619. };
  620. script = {
  621. name = grub-mkconfig;
  622. common = util/grub-mkconfig.in;
  623. mansection = 8;
  624. installdir = sbin;
  625. };
  626. script = {
  627. name = grub-set-default;
  628. common = util/grub-set-default.in;
  629. mansection = 8;
  630. installdir = sbin;
  631. };
  632. script = {
  633. name = grub-reboot;
  634. common = util/grub-reboot.in;
  635. mansection = 8;
  636. installdir = sbin;
  637. };
  638. script = {
  639. name = grub-mkconfig_lib;
  640. common = util/grub-mkconfig_lib.in;
  641. installdir = noinst;
  642. };
  643. script = {
  644. name = grub-kbdcomp;
  645. common = util/grub-kbdcomp.in;
  646. mansection = 1;
  647. };
  648. script = {
  649. name = grub-shell;
  650. common = tests/util/grub-shell.in;
  651. installdir = noinst;
  652. };
  653. script = {
  654. name = grub-shell-tester;
  655. common = tests/util/grub-shell-tester.in;
  656. installdir = noinst;
  657. };
  658. script = {
  659. name = grub-fs-tester;
  660. common = tests/util/grub-fs-tester.in;
  661. installdir = noinst;
  662. dependencies = 'garbage-gen$(BUILD_EXEEXT)';
  663. };
  664. script = {
  665. testcase;
  666. name = ext234_test;
  667. common = tests/ext234_test.in;
  668. };
  669. script = {
  670. testcase;
  671. name = squashfs_test;
  672. common = tests/squashfs_test.in;
  673. };
  674. script = {
  675. testcase;
  676. name = iso9660_test;
  677. common = tests/iso9660_test.in;
  678. };
  679. script = {
  680. testcase;
  681. name = hfsplus_test;
  682. common = tests/hfsplus_test.in;
  683. };
  684. script = {
  685. testcase;
  686. name = ntfs_test;
  687. common = tests/ntfs_test.in;
  688. };
  689. script = {
  690. testcase;
  691. name = reiserfs_test;
  692. common = tests/reiserfs_test.in;
  693. };
  694. script = {
  695. testcase;
  696. name = fat_test;
  697. common = tests/fat_test.in;
  698. };
  699. script = {
  700. testcase;
  701. name = minixfs_test;
  702. common = tests/minixfs_test.in;
  703. };
  704. script = {
  705. testcase;
  706. name = xfs_test;
  707. common = tests/xfs_test.in;
  708. };
  709. script = {
  710. testcase;
  711. name = f2fs_test;
  712. common = tests/f2fs_test.in;
  713. };
  714. script = {
  715. testcase;
  716. name = nilfs2_test;
  717. common = tests/nilfs2_test.in;
  718. };
  719. script = {
  720. testcase;
  721. name = romfs_test;
  722. common = tests/romfs_test.in;
  723. };
  724. script = {
  725. testcase;
  726. name = exfat_test;
  727. common = tests/exfat_test.in;
  728. };
  729. script = {
  730. testcase;
  731. name = tar_test;
  732. common = tests/tar_test.in;
  733. };
  734. script = {
  735. testcase;
  736. name = udf_test;
  737. common = tests/udf_test.in;
  738. };
  739. script = {
  740. testcase;
  741. name = hfs_test;
  742. common = tests/hfs_test.in;
  743. };
  744. script = {
  745. testcase;
  746. name = jfs_test;
  747. common = tests/jfs_test.in;
  748. };
  749. script = {
  750. testcase;
  751. name = btrfs_test;
  752. common = tests/btrfs_test.in;
  753. };
  754. script = {
  755. testcase;
  756. name = zfs_test;
  757. common = tests/zfs_test.in;
  758. };
  759. script = {
  760. testcase;
  761. name = cpio_test;
  762. common = tests/cpio_test.in;
  763. };
  764. script = {
  765. testcase;
  766. name = example_scripted_test;
  767. common = tests/example_scripted_test.in;
  768. };
  769. script = {
  770. testcase;
  771. name = gettext_strings_test;
  772. common = tests/gettext_strings_test.in;
  773. extra_dist = po/exclude.pot;
  774. };
  775. script = {
  776. testcase;
  777. name = pata_test;
  778. common = tests/pata_test.in;
  779. };
  780. script = {
  781. testcase;
  782. name = ahci_test;
  783. common = tests/ahci_test.in;
  784. };
  785. script = {
  786. testcase;
  787. name = uhci_test;
  788. common = tests/uhci_test.in;
  789. };
  790. script = {
  791. testcase;
  792. name = ohci_test;
  793. common = tests/ohci_test.in;
  794. };
  795. script = {
  796. testcase;
  797. name = ehci_test;
  798. common = tests/ehci_test.in;
  799. };
  800. script = {
  801. testcase;
  802. name = example_grub_script_test;
  803. common = tests/example_grub_script_test.in;
  804. };
  805. script = {
  806. testcase;
  807. name = grub_script_eval;
  808. common = tests/grub_script_eval.in;
  809. };
  810. script = {
  811. testcase;
  812. name = grub_script_test;
  813. common = tests/grub_script_test.in;
  814. };
  815. script = {
  816. testcase;
  817. name = grub_script_echo1;
  818. common = tests/grub_script_echo1.in;
  819. };
  820. script = {
  821. testcase;
  822. name = grub_script_leading_whitespace;
  823. common = tests/grub_script_leading_whitespace.in;
  824. };
  825. script = {
  826. testcase;
  827. name = grub_script_echo_keywords;
  828. common = tests/grub_script_echo_keywords.in;
  829. };
  830. script = {
  831. testcase;
  832. name = grub_script_vars1;
  833. common = tests/grub_script_vars1.in;
  834. };
  835. script = {
  836. testcase;
  837. name = grub_script_for1;
  838. common = tests/grub_script_for1.in;
  839. };
  840. script = {
  841. testcase;
  842. name = grub_script_while1;
  843. common = tests/grub_script_while1.in;
  844. };
  845. script = {
  846. testcase;
  847. name = grub_script_if;
  848. common = tests/grub_script_if.in;
  849. };
  850. script = {
  851. testcase;
  852. name = grub_script_blanklines;
  853. common = tests/grub_script_blanklines.in;
  854. };
  855. script = {
  856. testcase;
  857. name = grub_script_final_semicolon;
  858. common = tests/grub_script_final_semicolon.in;
  859. };
  860. script = {
  861. testcase;
  862. name = grub_script_dollar;
  863. common = tests/grub_script_dollar.in;
  864. };
  865. script = {
  866. testcase;
  867. name = grub_script_comments;
  868. common = tests/grub_script_comments.in;
  869. };
  870. script = {
  871. testcase;
  872. name = grub_script_functions;
  873. common = tests/grub_script_functions.in;
  874. };
  875. script = {
  876. testcase;
  877. name = grub_script_break;
  878. common = tests/grub_script_break.in;
  879. };
  880. script = {
  881. testcase;
  882. name = grub_script_continue;
  883. common = tests/grub_script_continue.in;
  884. };
  885. script = {
  886. testcase;
  887. name = grub_script_shift;
  888. common = tests/grub_script_shift.in;
  889. };
  890. script = {
  891. testcase;
  892. name = grub_script_blockarg;
  893. common = tests/grub_script_blockarg.in;
  894. };
  895. script = {
  896. testcase;
  897. name = grub_script_setparams;
  898. common = tests/grub_script_setparams.in;
  899. };
  900. script = {
  901. testcase;
  902. name = grub_script_return;
  903. common = tests/grub_script_return.in;
  904. };
  905. script = {
  906. testcase;
  907. name = grub_cmd_regexp;
  908. common = tests/grub_cmd_regexp.in;
  909. };
  910. script = {
  911. testcase;
  912. name = grub_cmd_date;
  913. common = tests/grub_cmd_date.in;
  914. };
  915. script = {
  916. testcase;
  917. name = grub_cmd_set_date;
  918. common = tests/grub_cmd_set_date.in;
  919. };
  920. script = {
  921. testcase;
  922. name = grub_cmd_sleep;
  923. common = tests/grub_cmd_sleep.in;
  924. };
  925. script = {
  926. testcase;
  927. name = grub_script_expansion;
  928. common = tests/grub_script_expansion.in;
  929. };
  930. script = {
  931. testcase;
  932. name = grub_script_not;
  933. common = tests/grub_script_not.in;
  934. };
  935. script = {
  936. testcase;
  937. name = grub_script_no_commands;
  938. common = tests/grub_script_no_commands.in;
  939. };
  940. script = {
  941. testcase;
  942. name = partmap_test;
  943. common = tests/partmap_test.in;
  944. };
  945. script = {
  946. testcase;
  947. name = hddboot_test;
  948. common = tests/hddboot_test.in;
  949. };
  950. script = {
  951. testcase;
  952. name = fddboot_test;
  953. common = tests/fddboot_test.in;
  954. };
  955. script = {
  956. testcase;
  957. name = cdboot_test;
  958. common = tests/cdboot_test.in;
  959. };
  960. script = {
  961. testcase;
  962. name = netboot_test;
  963. common = tests/netboot_test.in;
  964. };
  965. script = {
  966. testcase;
  967. name = pseries_test;
  968. common = tests/pseries_test.in;
  969. };
  970. script = {
  971. testcase;
  972. name = core_compress_test;
  973. common = tests/core_compress_test.in;
  974. };
  975. script = {
  976. testcase;
  977. name = xzcompress_test;
  978. common = tests/xzcompress_test.in;
  979. };
  980. script = {
  981. testcase;
  982. name = gzcompress_test;
  983. common = tests/gzcompress_test.in;
  984. };
  985. script = {
  986. testcase;
  987. name = lzocompress_test;
  988. common = tests/lzocompress_test.in;
  989. };
  990. script = {
  991. testcase;
  992. name = grub_cmd_echo;
  993. common = tests/grub_cmd_echo.in;
  994. };
  995. script = {
  996. testcase;
  997. name = help_test;
  998. common = tests/help_test.in;
  999. };
  1000. script = {
  1001. testcase;
  1002. name = grub_script_gettext;
  1003. common = tests/grub_script_gettext.in;
  1004. };
  1005. script = {
  1006. testcase;
  1007. name = grub_script_escape_comma;
  1008. common = tests/grub_script_escape_comma.in;
  1009. };
  1010. script = {
  1011. testcase;
  1012. name = grub_script_strcmp;
  1013. common = tests/grub_script_strcmp.in;
  1014. };
  1015. script = {
  1016. testcase;
  1017. name = test_sha512sum;
  1018. common = tests/test_sha512sum.in;
  1019. };
  1020. script = {
  1021. testcase;
  1022. name = test_unset;
  1023. common = tests/test_unset.in;
  1024. };
  1025. script = {
  1026. testcase;
  1027. name = grub_func_test;
  1028. common = tests/grub_func_test.in;
  1029. };
  1030. script = {
  1031. testcase;
  1032. name = grub_cmd_tr;
  1033. common = tests/grub_cmd_tr.in;
  1034. };
  1035. script = {
  1036. testcase;
  1037. name = file_filter_test;
  1038. common = tests/file_filter_test.in;
  1039. };
  1040. script = {
  1041. testcase;
  1042. name = grub_cmd_test;
  1043. common = tests/grub_cmd_test.in;
  1044. };
  1045. script = {
  1046. testcase;
  1047. name = syslinux_test;
  1048. common = tests/syslinux_test.in;
  1049. };
  1050. program = {
  1051. testcase;
  1052. name = example_unit_test;
  1053. common = tests/example_unit_test.c;
  1054. common = tests/lib/unit_test.c;
  1055. common = grub-core/kern/list.c;
  1056. common = grub-core/kern/misc.c;
  1057. common = grub-core/tests/lib/test.c;
  1058. ldadd = libgrubmods.a;
  1059. ldadd = libgrubgcry.a;
  1060. ldadd = libgrubkern.a;
  1061. ldadd = grub-core/lib/gnulib/libgnu.a;
  1062. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1063. };
  1064. program = {
  1065. testcase;
  1066. name = printf_test;
  1067. common = tests/printf_unit_test.c;
  1068. common = tests/lib/unit_test.c;
  1069. common = grub-core/kern/list.c;
  1070. common = grub-core/kern/misc.c;
  1071. common = grub-core/tests/lib/test.c;
  1072. ldadd = libgrubmods.a;
  1073. ldadd = libgrubgcry.a;
  1074. ldadd = libgrubkern.a;
  1075. ldadd = grub-core/lib/gnulib/libgnu.a;
  1076. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1077. };
  1078. program = {
  1079. testcase;
  1080. name = date_test;
  1081. common = tests/date_unit_test.c;
  1082. common = tests/lib/unit_test.c;
  1083. common = grub-core/kern/list.c;
  1084. common = grub-core/kern/misc.c;
  1085. common = grub-core/tests/lib/test.c;
  1086. ldadd = libgrubmods.a;
  1087. ldadd = libgrubgcry.a;
  1088. ldadd = libgrubkern.a;
  1089. ldadd = grub-core/lib/gnulib/libgnu.a;
  1090. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1091. };
  1092. program = {
  1093. testcase;
  1094. name = priority_queue_unit_test;
  1095. common = tests/priority_queue_unit_test.cc;
  1096. common = tests/lib/unit_test.c;
  1097. common = grub-core/kern/list.c;
  1098. common = grub-core/kern/misc.c;
  1099. common = grub-core/tests/lib/test.c;
  1100. common = grub-core/lib/priority_queue.c;
  1101. ldadd = libgrubmods.a;
  1102. ldadd = libgrubgcry.a;
  1103. ldadd = libgrubkern.a;
  1104. ldadd = grub-core/lib/gnulib/libgnu.a;
  1105. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1106. condition = COND_HAVE_CXX;
  1107. };
  1108. program = {
  1109. testcase;
  1110. name = cmp_test;
  1111. common = tests/cmp_unit_test.c;
  1112. common = tests/lib/unit_test.c;
  1113. common = grub-core/kern/list.c;
  1114. common = grub-core/kern/misc.c;
  1115. common = grub-core/tests/lib/test.c;
  1116. ldadd = libgrubmods.a;
  1117. ldadd = libgrubgcry.a;
  1118. ldadd = libgrubkern.a;
  1119. ldadd = grub-core/lib/gnulib/libgnu.a;
  1120. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1121. };
  1122. program = {
  1123. name = grub-menulst2cfg;
  1124. mansection = 1;
  1125. common = util/grub-menulst2cfg.c;
  1126. common = grub-core/lib/legacy_parse.c;
  1127. common = grub-core/lib/i386/pc/vesa_modes_table.c;
  1128. common = grub-core/osdep/init.c;
  1129. ldadd = libgrubmods.a;
  1130. ldadd = libgrubgcry.a;
  1131. ldadd = libgrubkern.a;
  1132. ldadd = grub-core/lib/gnulib/libgnu.a;
  1133. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1134. };
  1135. program = {
  1136. name = grub-syslinux2cfg;
  1137. mansection = 1;
  1138. common = util/grub-syslinux2cfg.c;
  1139. common = grub-core/lib/syslinux_parse.c;
  1140. common = grub-core/lib/getline.c;
  1141. common = grub-core/osdep/init.c;
  1142. common = grub-core/kern/emu/hostfs.c;
  1143. common = grub-core/disk/host.c;
  1144. common = grub-core/kern/emu/argp_common.c;
  1145. ldadd = libgrubmods.a;
  1146. ldadd = libgrubgcry.a;
  1147. ldadd = libgrubkern.a;
  1148. ldadd = grub-core/lib/gnulib/libgnu.a;
  1149. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1150. };
  1151. program = {
  1152. name = grub-glue-efi;
  1153. mansection = 1;
  1154. common = util/grub-glue-efi.c;
  1155. common = util/glue-efi.c;
  1156. common = grub-core/kern/emu/argp_common.c;
  1157. common = grub-core/osdep/init.c;
  1158. ldadd = libgrubmods.a;
  1159. ldadd = libgrubgcry.a;
  1160. ldadd = libgrubkern.a;
  1161. ldadd = grub-core/lib/gnulib/libgnu.a;
  1162. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1163. };
  1164. program = {
  1165. name = grub-render-label;
  1166. mansection = 1;
  1167. common = util/grub-render-label.c;
  1168. common = util/render-label.c;
  1169. common = grub-core/kern/emu/argp_common.c;
  1170. common = grub-core/kern/emu/hostfs.c;
  1171. common = grub-core/disk/host.c;
  1172. common = grub-core/osdep/init.c;
  1173. ldadd = libgrubmods.a;
  1174. ldadd = libgrubgcry.a;
  1175. ldadd = libgrubkern.a;
  1176. ldadd = grub-core/lib/gnulib/libgnu.a;
  1177. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1178. };
  1179. program = {
  1180. name = grub-file;
  1181. mansection = 1;
  1182. common = util/grub-file.c;
  1183. common = util/render-label.c;
  1184. common = grub-core/commands/file.c;
  1185. common = grub-core/commands/file32.c;
  1186. common = grub-core/commands/file64.c;
  1187. common = grub-core/loader/i386/xen_file.c;
  1188. common = grub-core/loader/i386/xen_file32.c;
  1189. common = grub-core/loader/i386/xen_file64.c;
  1190. common = grub-core/io/offset.c;
  1191. common = grub-core/kern/elf.c;
  1192. common = grub-core/loader/lzss.c;
  1193. common = grub-core/loader/macho.c;
  1194. common = grub-core/loader/macho32.c;
  1195. common = grub-core/loader/macho64.c;
  1196. common = grub-core/kern/emu/hostfs.c;
  1197. common = grub-core/disk/host.c;
  1198. common = grub-core/osdep/init.c;
  1199. ldadd = libgrubmods.a;
  1200. ldadd = libgrubgcry.a;
  1201. ldadd = libgrubkern.a;
  1202. ldadd = grub-core/lib/gnulib/libgnu.a;
  1203. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  1204. };