Makefile.util.def 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. AutoGen definitions Makefile.tpl;
  2. library = {
  3. name = libgrubkern.a;
  4. cflags = '$(CFLAGS_GNULIB)';
  5. cppflags = '$(CPPFLAGS_GNULIB)';
  6. common = util/misc.c;
  7. common = grub-core/kern/command.c;
  8. common = grub-core/kern/device.c;
  9. common = grub-core/kern/disk.c;
  10. common = util/getroot.c;
  11. common = util/raid.c;
  12. common = grub-core/kern/emu/hostdisk.c;
  13. common = grub-core/kern/emu/misc.c;
  14. common = grub-core/kern/emu/mm.c;
  15. common = grub-core/kern/env.c;
  16. common = grub-core/kern/err.c;
  17. common = grub-core/kern/file.c;
  18. common = grub-core/kern/fs.c;
  19. common = grub-core/kern/list.c;
  20. common = grub-core/kern/misc.c;
  21. common = grub-core/kern/partition.c;
  22. common = grub-core/lib/crypto.c;
  23. common = grub-core/disk/luks.c;
  24. common = grub-core/disk/geli.c;
  25. common = grub-core/disk/cryptodisk.c;
  26. common = grub-core/disk/AFSplitter.c;
  27. common = grub-core/lib/pbkdf2.c;
  28. common = grub-core/commands/extcmd.c;
  29. common = grub-core/lib/arg.c;
  30. common = grub-core/disk/ldm.c;
  31. common = grub-core/disk/diskfilter.c;
  32. common = grub-core/partmap/gpt.c;
  33. };
  34. library = {
  35. name = libgrubmods.a;
  36. cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
  37. cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
  38. common_nodist = grub_script.tab.c;
  39. common_nodist = grub_script.yy.c;
  40. common_nodist = libgrub_a_init.c;
  41. common_nodist = grub_script.yy.h;
  42. common_nodist = grub_script.tab.h;
  43. common = grub-core/commands/blocklist.c;
  44. common = grub-core/commands/xnu_uuid.c;
  45. common = grub-core/commands/testload.c;
  46. common = grub-core/commands/ls.c;
  47. common = grub-core/disk/dmraid_nvidia.c;
  48. common = grub-core/disk/loopback.c;
  49. common = grub-core/disk/lvm.c;
  50. common = grub-core/disk/mdraid_linux.c;
  51. common = grub-core/disk/mdraid_linux_be.c;
  52. common = grub-core/disk/mdraid1x_linux.c;
  53. common = grub-core/disk/raid5_recover.c;
  54. common = grub-core/disk/raid6_recover.c;
  55. common = grub-core/fs/affs.c;
  56. common = grub-core/fs/afs.c;
  57. common = grub-core/fs/bfs.c;
  58. common = grub-core/fs/btrfs.c;
  59. common = grub-core/fs/cpio.c;
  60. common = grub-core/fs/cpio_be.c;
  61. common = grub-core/fs/odc.c;
  62. common = grub-core/fs/newc.c;
  63. common = grub-core/fs/ext2.c;
  64. common = grub-core/fs/fat.c;
  65. common = grub-core/fs/exfat.c;
  66. common = grub-core/fs/fshelp.c;
  67. common = grub-core/fs/hfs.c;
  68. common = grub-core/fs/hfsplus.c;
  69. common = grub-core/fs/iso9660.c;
  70. common = grub-core/fs/jfs.c;
  71. common = grub-core/fs/minix.c;
  72. common = grub-core/fs/minix2.c;
  73. common = grub-core/fs/minix3.c;
  74. common = grub-core/fs/minix_be.c;
  75. common = grub-core/fs/minix2_be.c;
  76. common = grub-core/fs/minix3_be.c;
  77. common = grub-core/fs/nilfs2.c;
  78. common = grub-core/fs/ntfs.c;
  79. common = grub-core/fs/ntfscomp.c;
  80. common = grub-core/fs/reiserfs.c;
  81. common = grub-core/fs/romfs.c;
  82. common = grub-core/fs/sfs.c;
  83. common = grub-core/fs/squash4.c;
  84. common = grub-core/fs/tar.c;
  85. common = grub-core/fs/udf.c;
  86. common = grub-core/fs/ufs2.c;
  87. common = grub-core/fs/ufs.c;
  88. common = grub-core/fs/xfs.c;
  89. common = grub-core/fs/zfs/zfscrypt.c;
  90. common = grub-core/fs/zfs/zfs.c;
  91. common = grub-core/fs/zfs/zfsinfo.c;
  92. common = grub-core/fs/zfs/zfs_lzjb.c;
  93. common = grub-core/fs/zfs/zfs_sha256.c;
  94. common = grub-core/fs/zfs/zfs_fletcher.c;
  95. common = grub-core/lib/envblk.c;
  96. common = grub-core/lib/hexdump.c;
  97. common = grub-core/lib/LzFind.c;
  98. common = grub-core/lib/LzmaEnc.c;
  99. common = grub-core/lib/crc.c;
  100. common = grub-core/lib/adler32.c;
  101. common = grub-core/lib/crc64.c;
  102. common = grub-core/normal/datetime.c;
  103. common = grub-core/normal/misc.c;
  104. common = grub-core/partmap/acorn.c;
  105. common = grub-core/partmap/amiga.c;
  106. common = grub-core/partmap/apple.c;
  107. common = grub-core/partmap/msdos.c;
  108. common = grub-core/partmap/sun.c;
  109. common = grub-core/partmap/plan.c;
  110. common = grub-core/partmap/dvh.c;
  111. common = grub-core/partmap/sunpc.c;
  112. common = grub-core/partmap/bsdlabel.c;
  113. common = grub-core/script/function.c;
  114. common = grub-core/script/lexer.c;
  115. common = grub-core/script/main.c;
  116. common = grub-core/script/script.c;
  117. common = grub-core/script/argv.c;
  118. common = grub-core/io/gzio.c;
  119. common = grub-core/io/lzopio.c;
  120. common = grub-core/kern/ia64/dl_helper.c;
  121. common = grub-core/lib/minilzo/minilzo.c;
  122. common = grub-core/lib/xzembed/xz_dec_bcj.c;
  123. common = grub-core/lib/xzembed/xz_dec_lzma2.c;
  124. common = grub-core/lib/xzembed/xz_dec_stream.c;
  125. };
  126. program = {
  127. name = grub-bin2h;
  128. common = util/bin2h.c;
  129. ldadd = libgrubmods.a;
  130. ldadd = libgrubgcry.a;
  131. ldadd = libgrubkern.a;
  132. ldadd = grub-core/gnulib/libgnu.a;
  133. ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
  134. installdir = noinst;
  135. };
  136. program = {
  137. name = grub-mkimage;
  138. mansection = 1;
  139. common = util/grub-mkimage.c;
  140. common = util/resolve.c;
  141. common = grub-core/kern/emu/argp_common.c;
  142. extra_dist = util/grub-mkimagexx.c;
  143. ldadd = libgrubmods.a;
  144. ldadd = libgrubgcry.a;
  145. ldadd = libgrubkern.a;
  146. ldadd = grub-core/gnulib/libgnu.a;
  147. ldadd = '$(LIBLZMA)';
  148. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  149. cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
  150. };
  151. program = {
  152. name = grub-mkrelpath;
  153. mansection = 1;
  154. common = util/grub-mkrelpath.c;
  155. common = grub-core/kern/emu/argp_common.c;
  156. ldadd = libgrubmods.a;
  157. ldadd = libgrubgcry.a;
  158. ldadd = libgrubkern.a;
  159. ldadd = grub-core/gnulib/libgnu.a;
  160. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  161. };
  162. program = {
  163. name = grub-script-check;
  164. mansection = 1;
  165. common = util/grub-script-check.c;
  166. common = grub-core/kern/emu/argp_common.c;
  167. ldadd = libgrubmods.a;
  168. ldadd = libgrubgcry.a;
  169. ldadd = libgrubkern.a;
  170. ldadd = grub-core/gnulib/libgnu.a;
  171. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  172. };
  173. program = {
  174. name = grub-editenv;
  175. mansection = 1;
  176. common = util/grub-editenv.c;
  177. ldadd = libgrubmods.a;
  178. ldadd = libgrubgcry.a;
  179. ldadd = libgrubkern.a;
  180. ldadd = grub-core/gnulib/libgnu.a;
  181. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  182. };
  183. program = {
  184. name = grub-mkpasswd-pbkdf2;
  185. mansection = 1;
  186. common = util/grub-mkpasswd-pbkdf2.c;
  187. common = grub-core/kern/emu/argp_common.c;
  188. ldadd = libgrubmods.a;
  189. ldadd = libgrubgcry.a;
  190. ldadd = libgrubkern.a;
  191. ldadd = grub-core/gnulib/libgnu.a;
  192. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  193. cflags = '$(CFLAGS_GCRY)';
  194. cppflags = '$(CPPFLAGS_GCRY)';
  195. };
  196. program = {
  197. name = grub-macho2img;
  198. mansection = 1;
  199. common = util/grub-macho2img.c;
  200. condition = COND_APPLE_CC;
  201. };
  202. program = {
  203. name = grub-pe2elf;
  204. mansection = 1;
  205. common = util/grub-pe2elf.c;
  206. ldadd = libgrubmods.a;
  207. ldadd = libgrubgcry.a;
  208. ldadd = libgrubkern.a;
  209. ldadd = grub-core/gnulib/libgnu.a;
  210. ldadd = '$(LIBINTL)';
  211. condition = COND_GRUB_PE2ELF;
  212. };
  213. program = {
  214. name = grub-fstest;
  215. mansection = 1;
  216. common_nodist = grub_fstest_init.c;
  217. common = util/grub-fstest.c;
  218. common = grub-core/kern/emu/hostfs.c;
  219. common = grub-core/disk/host.c;
  220. cflags = '$(CFLAGS_GCRY)';
  221. cppflags = '$(CPPFLAGS_GCRY)';
  222. ldadd = libgrubmods.a;
  223. ldadd = libgrubgcry.a;
  224. ldadd = libgrubkern.a;
  225. ldadd = grub-core/gnulib/libgnu.a;
  226. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  227. };
  228. program = {
  229. name = grub-mount;
  230. mansection = 1;
  231. common_nodist = grub_fstest_init.c;
  232. common = util/grub-mount.c;
  233. common = grub-core/kern/emu/hostfs.c;
  234. common = grub-core/disk/host.c;
  235. ldadd = libgrubmods.a;
  236. ldadd = libgrubgcry.a;
  237. ldadd = libgrubkern.a;
  238. ldadd = grub-core/gnulib/libgnu.a;
  239. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse';
  240. condition = COND_GRUB_MOUNT;
  241. };
  242. program = {
  243. name = grub-mkfont;
  244. mansection = 1;
  245. common = util/grub-mkfont.c;
  246. common = grub-core/unidata.c;
  247. common = grub-core/kern/emu/argp_common.c;
  248. cflags = '$(freetype_cflags)';
  249. ldadd = libgrubmods.a;
  250. ldadd = libgrubgcry.a;
  251. ldadd = libgrubkern.a;
  252. ldadd = grub-core/gnulib/libgnu.a;
  253. ldadd = '$(freetype_libs)';
  254. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  255. condition = COND_GRUB_MKFONT;
  256. };
  257. program = {
  258. name = grub-probe;
  259. installdir = sbin;
  260. mansection = 8;
  261. common = util/grub-probe.c;
  262. common = util/ieee1275/ofpath.c;
  263. common = grub-core/kern/emu/argp_common.c;
  264. ldadd = libgrubmods.a;
  265. ldadd = libgrubgcry.a;
  266. ldadd = libgrubkern.a;
  267. ldadd = grub-core/gnulib/libgnu.a;
  268. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  269. };
  270. program = {
  271. name = grub-bios-setup;
  272. installdir = sbin;
  273. mansection = 8;
  274. common = util/grub-setup.c;
  275. common = util/lvm.c;
  276. common = grub-core/kern/emu/argp_common.c;
  277. common = grub-core/lib/reed_solomon.c;
  278. ldadd = libgrubmods.a;
  279. ldadd = libgrubkern.a;
  280. ldadd = libgrubgcry.a;
  281. ldadd = grub-core/gnulib/libgnu.a;
  282. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  283. cppflags = '-DGRUB_SETUP_BIOS=1';
  284. };
  285. program = {
  286. name = grub-sparc64-setup;
  287. installdir = sbin;
  288. mansection = 8;
  289. common = util/grub-setup.c;
  290. common = util/lvm.c;
  291. common = grub-core/kern/emu/argp_common.c;
  292. common = grub-core/lib/reed_solomon.c;
  293. common = util/ieee1275/ofpath.c;
  294. ldadd = libgrubmods.a;
  295. ldadd = libgrubkern.a;
  296. ldadd = libgrubgcry.a;
  297. ldadd = grub-core/gnulib/libgnu.a;
  298. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  299. cppflags = '-DGRUB_SETUP_SPARC64=1';
  300. };
  301. program = {
  302. name = grub-ofpathname;
  303. installdir = sbin;
  304. mansection = 8;
  305. common = util/ieee1275/grub-ofpathname.c;
  306. common = util/ieee1275/ofpath.c;
  307. ldadd = libgrubmods.a;
  308. ldadd = libgrubgcry.a;
  309. ldadd = libgrubkern.a;
  310. ldadd = grub-core/gnulib/libgnu.a;
  311. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
  312. };
  313. program = {
  314. name = grub-mklayout;
  315. mansection = 1;
  316. common = util/grub-mklayout.c;
  317. common = grub-core/kern/emu/argp_common.c;
  318. ldadd = libgrubmods.a;
  319. ldadd = libgrubgcry.a;
  320. ldadd = libgrubkern.a;
  321. ldadd = grub-core/gnulib/libgnu.a;
  322. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  323. };
  324. data = {
  325. common = util/grub.d/README;
  326. installdir = grubconf;
  327. };
  328. script = {
  329. name = '00_header';
  330. common = util/grub.d/00_header.in;
  331. installdir = grubconf;
  332. };
  333. script = {
  334. name = '10_windows';
  335. common = util/grub.d/10_windows.in;
  336. installdir = grubconf;
  337. condition = COND_HOST_WINDOWS;
  338. };
  339. script = {
  340. name = '10_hurd';
  341. common = util/grub.d/10_hurd.in;
  342. installdir = grubconf;
  343. condition = COND_HOST_HURD;
  344. };
  345. script = {
  346. name = '10_kfreebsd';
  347. common = util/grub.d/10_kfreebsd.in;
  348. installdir = grubconf;
  349. condition = COND_HOST_KFREEBSD;
  350. };
  351. script = {
  352. name = '10_illumos';
  353. common = util/grub.d/10_illumos.in;
  354. installdir = grubconf;
  355. condition = COND_HOST_ILLUMOS;
  356. };
  357. script = {
  358. name = '10_netbsd';
  359. common = util/grub.d/10_netbsd.in;
  360. installdir = grubconf;
  361. condition = COND_HOST_NETBSD;
  362. };
  363. script = {
  364. name = '10_linux';
  365. common = util/grub.d/10_linux.in;
  366. installdir = grubconf;
  367. condition = COND_HOST_LINUX;
  368. };
  369. script = {
  370. name = '10_xnu';
  371. common = util/grub.d/10_xnu.in;
  372. installdir = grubconf;
  373. condition = COND_HOST_XNU;
  374. };
  375. script = {
  376. name = '20_linux_xen';
  377. common = util/grub.d/20_linux_xen.in;
  378. installdir = grubconf;
  379. condition = COND_HOST_LINUX;
  380. };
  381. script = {
  382. name = '30_os-prober';
  383. common = util/grub.d/30_os-prober.in;
  384. installdir = grubconf;
  385. };
  386. script = {
  387. name = '40_custom';
  388. common = util/grub.d/40_custom.in;
  389. installdir = grubconf;
  390. };
  391. script = {
  392. name = '41_custom';
  393. common = util/grub.d/41_custom.in;
  394. installdir = grubconf;
  395. };
  396. script = {
  397. mansection = 1;
  398. name = grub-mkrescue;
  399. x86 = util/grub-mkrescue.in;
  400. mips_qemu_mips = util/grub-mkrescue.in;
  401. mips_loongson = util/grub-mkrescue.in;
  402. ia64_efi = util/grub-mkrescue.in;
  403. powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
  404. enable = i386_pc;
  405. enable = i386_efi;
  406. enable = x86_64_efi;
  407. enable = i386_qemu;
  408. enable = i386_multiboot;
  409. enable = i386_coreboot;
  410. enable = mips_qemu_mips;
  411. enable = mips_loongson;
  412. enable = ia64_efi;
  413. enable = powerpc_ieee1275;
  414. };
  415. script = {
  416. mansection = 1;
  417. name = grub-mkstandalone;
  418. common = util/grub-mkstandalone.in;
  419. };
  420. script = {
  421. mansection = 8;
  422. installdir = sbin;
  423. name = grub-install;
  424. common = util/grub-install.in;
  425. enable = noemu;
  426. };
  427. script = {
  428. mansection = 8;
  429. installdir = sbin;
  430. name = grub-mknetdir;
  431. common = util/grub-mknetdir.in;
  432. };
  433. script = {
  434. name = grub-mkconfig;
  435. common = util/grub-mkconfig.in;
  436. mansection = 8;
  437. installdir = sbin;
  438. };
  439. script = {
  440. name = grub-set-default;
  441. common = util/grub-set-default.in;
  442. mansection = 8;
  443. installdir = sbin;
  444. };
  445. script = {
  446. name = grub-reboot;
  447. common = util/grub-reboot.in;
  448. mansection = 8;
  449. installdir = sbin;
  450. };
  451. script = {
  452. name = grub-mkconfig_lib;
  453. common = util/grub-mkconfig_lib.in;
  454. installdir = noinst;
  455. };
  456. script = {
  457. name = grub-kbdcomp;
  458. common = util/grub-kbdcomp.in;
  459. mansection = 1;
  460. };
  461. script = {
  462. name = grub-shell;
  463. common = tests/util/grub-shell.in;
  464. installdir = noinst;
  465. };
  466. script = {
  467. name = grub-shell-tester;
  468. common = tests/util/grub-shell-tester.in;
  469. installdir = noinst;
  470. };
  471. script = {
  472. testcase;
  473. name = example_scripted_test;
  474. common = tests/example_scripted_test.in;
  475. };
  476. script = {
  477. testcase;
  478. name = example_grub_script_test;
  479. common = tests/example_grub_script_test.in;
  480. };
  481. script = {
  482. testcase;
  483. name = grub_script_echo1;
  484. common = tests/grub_script_echo1.in;
  485. };
  486. script = {
  487. testcase;
  488. name = grub_script_leading_whitespace;
  489. common = tests/grub_script_leading_whitespace.in;
  490. };
  491. script = {
  492. testcase;
  493. name = grub_script_echo_keywords;
  494. common = tests/grub_script_echo_keywords.in;
  495. };
  496. script = {
  497. testcase;
  498. name = grub_script_vars1;
  499. common = tests/grub_script_vars1.in;
  500. };
  501. script = {
  502. testcase;
  503. name = grub_script_for1;
  504. common = tests/grub_script_for1.in;
  505. };
  506. script = {
  507. testcase;
  508. name = grub_script_while1;
  509. common = tests/grub_script_while1.in;
  510. };
  511. script = {
  512. testcase;
  513. name = grub_script_if;
  514. common = tests/grub_script_if.in;
  515. };
  516. script = {
  517. testcase;
  518. name = grub_script_blanklines;
  519. common = tests/grub_script_blanklines.in;
  520. };
  521. script = {
  522. testcase;
  523. name = grub_script_final_semicolon;
  524. common = tests/grub_script_final_semicolon.in;
  525. };
  526. script = {
  527. testcase;
  528. name = grub_script_dollar;
  529. common = tests/grub_script_dollar.in;
  530. };
  531. script = {
  532. testcase;
  533. name = grub_script_comments;
  534. common = tests/grub_script_comments.in;
  535. };
  536. script = {
  537. testcase;
  538. name = grub_script_functions;
  539. common = tests/grub_script_functions.in;
  540. };
  541. script = {
  542. testcase;
  543. name = grub_script_break;
  544. common = tests/grub_script_break.in;
  545. };
  546. script = {
  547. testcase;
  548. name = grub_script_continue;
  549. common = tests/grub_script_continue.in;
  550. };
  551. script = {
  552. testcase;
  553. name = grub_script_shift;
  554. common = tests/grub_script_shift.in;
  555. };
  556. script = {
  557. testcase;
  558. name = grub_script_blockarg;
  559. common = tests/grub_script_blockarg.in;
  560. };
  561. script = {
  562. testcase;
  563. name = grub_script_setparams;
  564. common = tests/grub_script_setparams.in;
  565. };
  566. script = {
  567. testcase;
  568. name = grub_script_return;
  569. common = tests/grub_script_return.in;
  570. };
  571. script = {
  572. testcase;
  573. name = grub_cmd_regexp;
  574. common = tests/grub_cmd_regexp.in;
  575. };
  576. script = {
  577. testcase;
  578. name = grub_script_expansion;
  579. common = tests/grub_script_expansion.in;
  580. };
  581. script = {
  582. testcase;
  583. name = grub_script_not;
  584. common = tests/grub_script_not.in;
  585. };
  586. script = {
  587. testcase;
  588. name = partmap_test;
  589. common = tests/partmap_test.in;
  590. };
  591. script = {
  592. testcase;
  593. name = grub_cmd_echo;
  594. common = tests/grub_cmd_echo.in;
  595. };
  596. script = {
  597. testcase;
  598. name = grub_script_gettext;
  599. common = tests/grub_script_gettext.in;
  600. };
  601. script = {
  602. testcase;
  603. name = grub_script_strcmp;
  604. common = tests/grub_script_strcmp.in;
  605. };
  606. program = {
  607. testcase;
  608. name = example_unit_test;
  609. common = tests/example_unit_test.c;
  610. common = tests/lib/unit_test.c;
  611. common = grub-core/kern/list.c;
  612. common = grub-core/kern/misc.c;
  613. common = grub-core/tests/lib/test.c;
  614. ldadd = libgrubmods.a;
  615. ldadd = libgrubgcry.a;
  616. ldadd = libgrubkern.a;
  617. ldadd = grub-core/gnulib/libgnu.a;
  618. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  619. };
  620. program = {
  621. testcase;
  622. name = printf_test;
  623. common = tests/printf_unit_test.c;
  624. common = tests/lib/unit_test.c;
  625. common = grub-core/kern/list.c;
  626. common = grub-core/kern/misc.c;
  627. common = grub-core/tests/lib/test.c;
  628. ldadd = libgrubmods.a;
  629. ldadd = libgrubgcry.a;
  630. ldadd = libgrubkern.a;
  631. ldadd = grub-core/gnulib/libgnu.a;
  632. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  633. };
  634. program = {
  635. testcase;
  636. name = cmp_test;
  637. common = tests/cmp_unit_test.c;
  638. common = tests/lib/unit_test.c;
  639. common = grub-core/kern/list.c;
  640. common = grub-core/kern/misc.c;
  641. common = grub-core/tests/lib/test.c;
  642. ldadd = libgrubmods.a;
  643. ldadd = libgrubgcry.a;
  644. ldadd = libgrubkern.a;
  645. ldadd = grub-core/gnulib/libgnu.a;
  646. ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  647. };
  648. program = {
  649. name = grub-menulst2cfg;
  650. mansection = 1;
  651. common = util/grub-menulst2cfg.c;
  652. common = grub-core/lib/legacy_parse.c;
  653. common = grub-core/lib/i386/pc/vesa_modes_table.c;
  654. ldadd = libgrubmods.a;
  655. ldadd = libgrubgcry.a;
  656. ldadd = libgrubkern.a;
  657. ldadd = grub-core/gnulib/libgnu.a;
  658. ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  659. };