Makefile.util.def 35 KB

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