Makefile.util.def 34 KB

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