Makefile.util.def 31 KB

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