]> git.proxmox.com Git - grub2.git/blob - Makefile.util.def
* .bzrignore: Remove grub-core/lib/dtc-grub, grub-core/Makefile.libfdt.def
[grub2.git] / Makefile.util.def
1 AutoGen definitions Makefile.tpl;
2
3 library = {
4 name = libgrubkern.a;
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB)';
7
8 common = util/misc.c;
9 common = grub-core/kern/command.c;
10 common = grub-core/kern/device.c;
11 common = grub-core/kern/disk.c;
12 common = util/getroot.c;
13 common = util/raid.c;
14 common = grub-core/kern/emu/hostdisk.c;
15 common = grub-core/kern/emu/misc.c;
16 common = grub-core/kern/emu/mm.c;
17 common = grub-core/kern/env.c;
18 common = grub-core/kern/err.c;
19 common = grub-core/kern/file.c;
20 common = grub-core/kern/fs.c;
21 common = grub-core/kern/list.c;
22 common = grub-core/kern/misc.c;
23 common = grub-core/kern/partition.c;
24 common = grub-core/lib/crypto.c;
25 common = grub-core/disk/luks.c;
26 common = grub-core/disk/geli.c;
27 common = grub-core/disk/cryptodisk.c;
28 common = grub-core/disk/AFSplitter.c;
29 common = grub-core/lib/pbkdf2.c;
30 common = grub-core/commands/extcmd.c;
31 common = grub-core/lib/arg.c;
32 common = grub-core/disk/ldm.c;
33 common = grub-core/disk/diskfilter.c;
34 common = grub-core/partmap/gpt.c;
35 common = grub-core/partmap/msdos.c;
36 common = grub-core/fs/proc.c;
37 };
38
39 library = {
40 name = libgrubmods.a;
41 cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
42 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
43
44 common_nodist = grub_script.tab.c;
45 common_nodist = grub_script.yy.c;
46 common_nodist = libgrub_a_init.c;
47 common_nodist = grub_script.yy.h;
48 common_nodist = grub_script.tab.h;
49
50 common = grub-core/commands/blocklist.c;
51 common = grub-core/commands/xnu_uuid.c;
52 common = grub-core/commands/testload.c;
53 common = grub-core/commands/ls.c;
54 common = grub-core/disk/dmraid_nvidia.c;
55 common = grub-core/disk/loopback.c;
56 common = grub-core/disk/lvm.c;
57 common = grub-core/disk/mdraid_linux.c;
58 common = grub-core/disk/mdraid_linux_be.c;
59 common = grub-core/disk/mdraid1x_linux.c;
60 common = grub-core/disk/raid5_recover.c;
61 common = grub-core/disk/raid6_recover.c;
62 common = grub-core/font/font.c;
63 common = grub-core/gfxmenu/font.c;
64 common = grub-core/normal/charset.c;
65 common = grub-core/video/fb/fbblit.c;
66 common = grub-core/video/fb/fbutil.c;
67 common = grub-core/video/fb/fbfill.c;
68 common = grub-core/video/fb/video_fb.c;
69 common = grub-core/video/video.c;
70 common = grub-core/video/capture.c;
71 common = grub-core/video/colors.c;
72 common = grub-core/unidata.c;
73 common = grub-core/io/bufio.c;
74 common = grub-core/fs/affs.c;
75 common = grub-core/fs/afs.c;
76 common = grub-core/fs/bfs.c;
77 common = grub-core/fs/btrfs.c;
78 common = grub-core/fs/cbfs.c;
79 common = grub-core/fs/archelp.c;
80 common = grub-core/fs/cpio.c;
81 common = grub-core/fs/cpio_be.c;
82 common = grub-core/fs/odc.c;
83 common = grub-core/fs/newc.c;
84 common = grub-core/fs/ext2.c;
85 common = grub-core/fs/fat.c;
86 common = grub-core/fs/exfat.c;
87 common = grub-core/fs/fshelp.c;
88 common = grub-core/fs/hfs.c;
89 common = grub-core/fs/hfsplus.c;
90 common = grub-core/fs/hfspluscomp.c;
91 common = grub-core/fs/iso9660.c;
92 common = grub-core/fs/jfs.c;
93 common = grub-core/fs/minix.c;
94 common = grub-core/fs/minix2.c;
95 common = grub-core/fs/minix3.c;
96 common = grub-core/fs/minix_be.c;
97 common = grub-core/fs/minix2_be.c;
98 common = grub-core/fs/minix3_be.c;
99 common = grub-core/fs/nilfs2.c;
100 common = grub-core/fs/ntfs.c;
101 common = grub-core/fs/ntfscomp.c;
102 common = grub-core/fs/reiserfs.c;
103 common = grub-core/fs/romfs.c;
104 common = grub-core/fs/sfs.c;
105 common = grub-core/fs/squash4.c;
106 common = grub-core/fs/tar.c;
107 common = grub-core/fs/udf.c;
108 common = grub-core/fs/ufs2.c;
109 common = grub-core/fs/ufs.c;
110 common = grub-core/fs/ufs_be.c;
111 common = grub-core/fs/xfs.c;
112 common = grub-core/fs/zfs/zfscrypt.c;
113 common = grub-core/fs/zfs/zfs.c;
114 common = grub-core/fs/zfs/zfsinfo.c;
115 common = grub-core/fs/zfs/zfs_lzjb.c;
116 common = grub-core/fs/zfs/zfs_lz4.c;
117 common = grub-core/fs/zfs/zfs_sha256.c;
118 common = grub-core/fs/zfs/zfs_fletcher.c;
119 common = grub-core/lib/envblk.c;
120 common = grub-core/lib/hexdump.c;
121 common = grub-core/lib/LzFind.c;
122 common = grub-core/lib/LzmaEnc.c;
123 common = grub-core/lib/crc.c;
124 common = grub-core/lib/adler32.c;
125 common = grub-core/lib/crc64.c;
126 common = grub-core/normal/datetime.c;
127 common = grub-core/normal/misc.c;
128 common = grub-core/partmap/acorn.c;
129 common = grub-core/partmap/amiga.c;
130 common = grub-core/partmap/apple.c;
131 common = grub-core/partmap/sun.c;
132 common = grub-core/partmap/plan.c;
133 common = grub-core/partmap/dvh.c;
134 common = grub-core/partmap/sunpc.c;
135 common = grub-core/partmap/bsdlabel.c;
136 common = grub-core/partmap/dfly.c;
137 common = grub-core/script/function.c;
138 common = grub-core/script/lexer.c;
139 common = grub-core/script/main.c;
140 common = grub-core/script/script.c;
141 common = grub-core/script/argv.c;
142 common = grub-core/io/gzio.c;
143 common = grub-core/io/lzopio.c;
144 common = grub-core/kern/ia64/dl_helper.c;
145 common = grub-core/lib/minilzo/minilzo.c;
146 common = grub-core/lib/xzembed/xz_dec_bcj.c;
147 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
148 common = grub-core/lib/xzembed/xz_dec_stream.c;
149 };
150
151 program = {
152 name = grub-bin2h;
153 common = util/bin2h.c;
154 ldadd = libgrubmods.a;
155 ldadd = libgrubgcry.a;
156 ldadd = libgrubkern.a;
157 ldadd = grub-core/gnulib/libgnu.a;
158 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
159 installdir = noinst;
160 };
161
162 program = {
163 name = grub-mkimage;
164 mansection = 1;
165
166 common = util/grub-mkimage.c;
167 common = util/resolve.c;
168 common = grub-core/kern/emu/argp_common.c;
169
170 common = grub-core/kern/arm/dl_helper.c;
171
172 extra_dist = util/grub-mkimagexx.c;
173
174 ldadd = libgrubmods.a;
175 ldadd = libgrubgcry.a;
176 ldadd = libgrubkern.a;
177 ldadd = grub-core/gnulib/libgnu.a;
178 ldadd = '$(LIBLZMA)';
179 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
180 cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
181 };
182
183 program = {
184 name = grub-mkrelpath;
185 mansection = 1;
186
187 common = util/grub-mkrelpath.c;
188 common = grub-core/kern/emu/argp_common.c;
189
190 ldadd = libgrubmods.a;
191 ldadd = libgrubgcry.a;
192 ldadd = libgrubkern.a;
193 ldadd = grub-core/gnulib/libgnu.a;
194 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
195 };
196
197 program = {
198 name = grub-script-check;
199 mansection = 1;
200
201 common = util/grub-script-check.c;
202 common = grub-core/kern/emu/argp_common.c;
203
204 ldadd = libgrubmods.a;
205 ldadd = libgrubgcry.a;
206 ldadd = libgrubkern.a;
207 ldadd = grub-core/gnulib/libgnu.a;
208 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
209 };
210
211 program = {
212 name = grub-editenv;
213 mansection = 1;
214
215 common = util/grub-editenv.c;
216
217 ldadd = libgrubmods.a;
218 ldadd = libgrubgcry.a;
219 ldadd = libgrubkern.a;
220 ldadd = grub-core/gnulib/libgnu.a;
221 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
222 };
223
224 program = {
225 name = grub-mkpasswd-pbkdf2;
226 mansection = 1;
227
228 common = util/grub-mkpasswd-pbkdf2.c;
229 common = grub-core/kern/emu/argp_common.c;
230
231 ldadd = libgrubmods.a;
232 ldadd = libgrubgcry.a;
233 ldadd = libgrubkern.a;
234 ldadd = grub-core/gnulib/libgnu.a;
235 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
236 };
237
238 program = {
239 name = grub-macho2img;
240 mansection = 1;
241 common = util/grub-macho2img.c;
242 condition = COND_APPLE_CC;
243 };
244
245 program = {
246 name = grub-pe2elf;
247 mansection = 1;
248 common = util/grub-pe2elf.c;
249
250 ldadd = libgrubmods.a;
251 ldadd = libgrubgcry.a;
252 ldadd = libgrubkern.a;
253 ldadd = grub-core/gnulib/libgnu.a;
254 ldadd = '$(LIBINTL)';
255 condition = COND_GRUB_PE2ELF;
256 };
257
258 program = {
259 name = grub-fstest;
260 mansection = 1;
261 common_nodist = grub_fstest_init.c;
262 common = util/grub-fstest.c;
263 common = grub-core/kern/emu/hostfs.c;
264 common = grub-core/disk/host.c;
265
266 ldadd = libgrubmods.a;
267 ldadd = libgrubgcry.a;
268 ldadd = libgrubkern.a;
269 ldadd = grub-core/gnulib/libgnu.a;
270 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
271 };
272
273 program = {
274 name = grub-mount;
275 mansection = 1;
276 common_nodist = grub_fstest_init.c;
277 common = util/grub-mount.c;
278 common = grub-core/kern/emu/hostfs.c;
279 common = grub-core/disk/host.c;
280
281 ldadd = libgrubmods.a;
282 ldadd = libgrubgcry.a;
283 ldadd = libgrubkern.a;
284 ldadd = grub-core/gnulib/libgnu.a;
285 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
286 condition = COND_GRUB_MOUNT;
287 };
288
289 program = {
290 name = grub-mkfont;
291 mansection = 1;
292 common = util/grub-mkfont.c;
293 common = grub-core/unidata.c;
294 common = grub-core/kern/emu/argp_common.c;
295
296 cflags = '$(freetype_cflags)';
297
298 ldadd = libgrubmods.a;
299 ldadd = libgrubgcry.a;
300 ldadd = libgrubkern.a;
301 ldadd = grub-core/gnulib/libgnu.a;
302 ldadd = '$(freetype_libs)';
303 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
304 condition = COND_GRUB_MKFONT;
305 };
306
307 program = {
308 name = grub-probe;
309 installdir = sbin;
310 mansection = 8;
311 common = util/grub-probe.c;
312 common = util/ieee1275/ofpath.c;
313 common = grub-core/kern/emu/argp_common.c;
314
315 ldadd = libgrubmods.a;
316 ldadd = libgrubgcry.a;
317 ldadd = libgrubkern.a;
318 ldadd = grub-core/gnulib/libgnu.a;
319 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
320 };
321
322 program = {
323 name = grub-bios-setup;
324 installdir = sbin;
325 mansection = 8;
326 common = util/grub-setup.c;
327 common = util/lvm.c;
328 common = grub-core/kern/emu/argp_common.c;
329 common = grub-core/lib/reed_solomon.c;
330
331 ldadd = libgrubmods.a;
332 ldadd = libgrubkern.a;
333 ldadd = libgrubgcry.a;
334 ldadd = grub-core/gnulib/libgnu.a;
335 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
336 cppflags = '-DGRUB_SETUP_BIOS=1';
337 };
338
339 program = {
340 name = grub-sparc64-setup;
341 installdir = sbin;
342 mansection = 8;
343 common = util/grub-setup.c;
344 common = util/lvm.c;
345 common = grub-core/kern/emu/argp_common.c;
346 common = grub-core/lib/reed_solomon.c;
347 common = util/ieee1275/ofpath.c;
348
349 ldadd = libgrubmods.a;
350 ldadd = libgrubkern.a;
351 ldadd = libgrubgcry.a;
352 ldadd = grub-core/gnulib/libgnu.a;
353 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
354 cppflags = '-DGRUB_SETUP_SPARC64=1';
355 };
356
357 program = {
358 name = grub-ofpathname;
359 installdir = sbin;
360 mansection = 8;
361 common = util/ieee1275/grub-ofpathname.c;
362 common = util/ieee1275/ofpath.c;
363
364 ldadd = libgrubmods.a;
365 ldadd = libgrubgcry.a;
366 ldadd = libgrubkern.a;
367 ldadd = grub-core/gnulib/libgnu.a;
368 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
369 };
370
371 program = {
372 name = grub-mklayout;
373 mansection = 1;
374
375 common = util/grub-mklayout.c;
376 common = grub-core/kern/emu/argp_common.c;
377
378 ldadd = libgrubmods.a;
379 ldadd = libgrubgcry.a;
380 ldadd = libgrubkern.a;
381 ldadd = grub-core/gnulib/libgnu.a;
382 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
383 };
384
385 data = {
386 common = util/grub.d/README;
387 installdir = grubconf;
388 };
389
390 script = {
391 name = '00_header';
392 common = util/grub.d/00_header.in;
393 installdir = grubconf;
394 };
395
396 script = {
397 name = '10_windows';
398 common = util/grub.d/10_windows.in;
399 installdir = grubconf;
400 condition = COND_HOST_WINDOWS;
401 };
402
403 script = {
404 name = '10_hurd';
405 common = util/grub.d/10_hurd.in;
406 installdir = grubconf;
407 condition = COND_HOST_HURD;
408 };
409
410 script = {
411 name = '10_kfreebsd';
412 common = util/grub.d/10_kfreebsd.in;
413 installdir = grubconf;
414 condition = COND_HOST_KFREEBSD;
415 };
416
417 script = {
418 name = '10_illumos';
419 common = util/grub.d/10_illumos.in;
420 installdir = grubconf;
421 condition = COND_HOST_ILLUMOS;
422 };
423
424 script = {
425 name = '10_netbsd';
426 common = util/grub.d/10_netbsd.in;
427 installdir = grubconf;
428 condition = COND_HOST_NETBSD;
429 };
430
431 script = {
432 name = '10_linux';
433 common = util/grub.d/10_linux.in;
434 installdir = grubconf;
435 condition = COND_HOST_LINUX;
436 };
437
438 script = {
439 name = '10_xnu';
440 common = util/grub.d/10_xnu.in;
441 installdir = grubconf;
442 condition = COND_HOST_XNU;
443 };
444
445 script = {
446 name = '20_linux_xen';
447 common = util/grub.d/20_linux_xen.in;
448 installdir = grubconf;
449 condition = COND_HOST_LINUX;
450 };
451
452 script = {
453 name = '30_os-prober';
454 common = util/grub.d/30_os-prober.in;
455 installdir = grubconf;
456 };
457
458 script = {
459 name = '40_custom';
460 common = util/grub.d/40_custom.in;
461 installdir = grubconf;
462 };
463
464 script = {
465 name = '41_custom';
466 common = util/grub.d/41_custom.in;
467 installdir = grubconf;
468 };
469
470 script = {
471 mansection = 1;
472 name = grub-mkrescue;
473 common = util/grub-install_header;
474 common = util/grub-mkrescue.in;
475 enable = noemu;
476 };
477
478 script = {
479 mansection = 1;
480 name = grub-mkstandalone;
481 common = util/grub-install_header;
482 common = util/grub-mkstandalone.in;
483 };
484
485 script = {
486 mansection = 8;
487 installdir = sbin;
488 name = grub-install;
489
490 common = util/grub-install_header;
491 common = util/grub-install.in;
492 enable = noemu;
493 };
494
495 script = {
496 mansection = 1;
497 installdir = bin;
498 name = grub-mknetdir;
499
500 common = util/grub-install_header;
501 common = util/grub-mknetdir.in;
502 };
503
504 script = {
505 name = grub-mkconfig;
506 common = util/grub-mkconfig.in;
507 mansection = 8;
508 installdir = sbin;
509 };
510
511 script = {
512 name = grub-set-default;
513 common = util/grub-set-default.in;
514 mansection = 8;
515 installdir = sbin;
516 };
517
518 script = {
519 name = grub-reboot;
520 common = util/grub-reboot.in;
521 mansection = 8;
522 installdir = sbin;
523 };
524
525 script = {
526 name = grub-mkconfig_lib;
527 common = util/grub-mkconfig_lib.in;
528 installdir = noinst;
529 };
530
531 script = {
532 name = grub-kbdcomp;
533 common = util/grub-kbdcomp.in;
534 mansection = 1;
535 };
536
537 script = {
538 name = grub-shell;
539 common = tests/util/grub-shell.in;
540 installdir = noinst;
541 };
542
543 script = {
544 name = grub-shell-tester;
545 common = tests/util/grub-shell-tester.in;
546 installdir = noinst;
547 };
548
549 script = {
550 testcase;
551 name = example_scripted_test;
552 common = tests/example_scripted_test.in;
553 };
554
555 script = {
556 testcase;
557 name = gettext_strings_test;
558 common = tests/gettext_strings_test.in;
559 extra_dist = po/exclude.pot;
560 };
561
562 script = {
563 testcase;
564 name = pata_test;
565 common = tests/pata_test.in;
566 };
567
568 script = {
569 testcase;
570 name = ahci_test;
571 common = tests/ahci_test.in;
572 };
573
574 script = {
575 testcase;
576 name = uhci_test;
577 common = tests/uhci_test.in;
578 };
579
580 script = {
581 testcase;
582 name = ohci_test;
583 common = tests/ohci_test.in;
584 };
585
586 script = {
587 testcase;
588 name = ehci_test;
589 common = tests/ehci_test.in;
590 };
591
592 script = {
593 testcase;
594 name = example_grub_script_test;
595 common = tests/example_grub_script_test.in;
596 };
597
598 script = {
599 testcase;
600 name = grub_script_eval;
601 common = tests/grub_script_eval.in;
602 };
603
604 script = {
605 testcase;
606 name = grub_script_test;
607 common = tests/grub_script_test.in;
608 };
609
610 script = {
611 testcase;
612 name = grub_script_echo1;
613 common = tests/grub_script_echo1.in;
614 };
615
616 script = {
617 testcase;
618 name = grub_script_leading_whitespace;
619 common = tests/grub_script_leading_whitespace.in;
620 };
621
622 script = {
623 testcase;
624 name = grub_script_echo_keywords;
625 common = tests/grub_script_echo_keywords.in;
626 };
627
628 script = {
629 testcase;
630 name = grub_script_vars1;
631 common = tests/grub_script_vars1.in;
632 };
633
634 script = {
635 testcase;
636 name = grub_script_for1;
637 common = tests/grub_script_for1.in;
638 };
639
640 script = {
641 testcase;
642 name = grub_script_while1;
643 common = tests/grub_script_while1.in;
644 };
645
646 script = {
647 testcase;
648 name = grub_script_if;
649 common = tests/grub_script_if.in;
650 };
651
652 script = {
653 testcase;
654 name = grub_script_blanklines;
655 common = tests/grub_script_blanklines.in;
656 };
657
658 script = {
659 testcase;
660 name = grub_script_final_semicolon;
661 common = tests/grub_script_final_semicolon.in;
662 };
663
664 script = {
665 testcase;
666 name = grub_script_dollar;
667 common = tests/grub_script_dollar.in;
668 };
669
670 script = {
671 testcase;
672 name = grub_script_comments;
673 common = tests/grub_script_comments.in;
674 };
675
676 script = {
677 testcase;
678 name = grub_script_functions;
679 common = tests/grub_script_functions.in;
680 };
681
682 script = {
683 testcase;
684 name = grub_script_break;
685 common = tests/grub_script_break.in;
686 };
687
688 script = {
689 testcase;
690 name = grub_script_continue;
691 common = tests/grub_script_continue.in;
692 };
693
694 script = {
695 testcase;
696 name = grub_script_shift;
697 common = tests/grub_script_shift.in;
698 };
699
700 script = {
701 testcase;
702 name = grub_script_blockarg;
703 common = tests/grub_script_blockarg.in;
704 };
705
706 script = {
707 testcase;
708 name = grub_script_setparams;
709 common = tests/grub_script_setparams.in;
710 };
711
712 script = {
713 testcase;
714 name = grub_script_return;
715 common = tests/grub_script_return.in;
716 };
717
718 script = {
719 testcase;
720 name = grub_cmd_regexp;
721 common = tests/grub_cmd_regexp.in;
722 };
723
724 script = {
725 testcase;
726 name = grub_cmd_date;
727 common = tests/grub_cmd_date.in;
728 };
729
730 script = {
731 testcase;
732 name = grub_cmd_set_date;
733 common = tests/grub_cmd_set_date.in;
734 };
735
736 script = {
737 testcase;
738 name = grub_cmd_sleep;
739 common = tests/grub_cmd_sleep.in;
740 };
741
742 script = {
743 testcase;
744 name = grub_script_expansion;
745 common = tests/grub_script_expansion.in;
746 };
747
748 script = {
749 testcase;
750 name = grub_script_not;
751 common = tests/grub_script_not.in;
752 };
753
754 script = {
755 testcase;
756 name = grub_script_no_commands;
757 common = tests/grub_script_no_commands.in;
758 };
759
760 script = {
761 testcase;
762 name = partmap_test;
763 common = tests/partmap_test.in;
764 };
765
766 script = {
767 testcase;
768 name = hddboot_test;
769 common = tests/hddboot_test.in;
770 };
771
772 script = {
773 testcase;
774 name = fddboot_test;
775 common = tests/fddboot_test.in;
776 };
777
778 script = {
779 testcase;
780 name = cdboot_test;
781 common = tests/cdboot_test.in;
782 };
783
784 script = {
785 testcase;
786 name = netboot_test;
787 common = tests/netboot_test.in;
788 };
789
790 script = {
791 testcase;
792 name = pseries_test;
793 common = tests/pseries_test.in;
794 };
795
796 script = {
797 testcase;
798 name = core_compress_test;
799 common = tests/core_compress_test.in;
800 };
801
802 script = {
803 testcase;
804 name = xzcompress_test;
805 common = tests/xzcompress_test.in;
806 };
807
808 script = {
809 testcase;
810 name = gzcompress_test;
811 common = tests/gzcompress_test.in;
812 };
813
814 script = {
815 testcase;
816 name = lzocompress_test;
817 common = tests/lzocompress_test.in;
818 };
819
820 script = {
821 testcase;
822 name = grub_cmd_echo;
823 common = tests/grub_cmd_echo.in;
824 };
825
826 script = {
827 testcase;
828 name = help_test;
829 common = tests/help_test.in;
830 };
831
832 script = {
833 testcase;
834 name = grub_script_gettext;
835 common = tests/grub_script_gettext.in;
836 };
837
838 script = {
839 testcase;
840 name = grub_script_escape_comma;
841 common = tests/grub_script_escape_comma.in;
842 };
843
844 script = {
845 testcase;
846 name = grub_script_strcmp;
847 common = tests/grub_script_strcmp.in;
848 };
849
850 script = {
851 testcase;
852 name = grub_func_test;
853 common = tests/grub_func_test.in;
854 };
855
856 program = {
857 testcase;
858 name = example_unit_test;
859 common = tests/example_unit_test.c;
860 common = tests/lib/unit_test.c;
861 common = grub-core/kern/list.c;
862 common = grub-core/kern/misc.c;
863 common = grub-core/tests/lib/test.c;
864 ldadd = libgrubmods.a;
865 ldadd = libgrubgcry.a;
866 ldadd = libgrubkern.a;
867 ldadd = grub-core/gnulib/libgnu.a;
868 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
869 };
870
871 program = {
872 testcase;
873 name = printf_test;
874 common = tests/printf_unit_test.c;
875 common = tests/lib/unit_test.c;
876 common = grub-core/kern/list.c;
877 common = grub-core/kern/misc.c;
878 common = grub-core/tests/lib/test.c;
879 ldadd = libgrubmods.a;
880 ldadd = libgrubgcry.a;
881 ldadd = libgrubkern.a;
882 ldadd = grub-core/gnulib/libgnu.a;
883 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
884 };
885
886 program = {
887 testcase;
888 name = priority_queue_unit_test;
889 common = tests/priority_queue_unit_test.cc;
890 common = tests/lib/unit_test.c;
891 common = grub-core/kern/list.c;
892 common = grub-core/kern/misc.c;
893 common = grub-core/tests/lib/test.c;
894 common = grub-core/lib/priority_queue.c;
895 ldadd = libgrubmods.a;
896 ldadd = libgrubgcry.a;
897 ldadd = libgrubkern.a;
898 ldadd = grub-core/gnulib/libgnu.a;
899 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
900 condition = COND_HAVE_CXX;
901 };
902
903 program = {
904 testcase;
905 name = cmp_test;
906 common = tests/cmp_unit_test.c;
907 common = tests/lib/unit_test.c;
908 common = grub-core/kern/list.c;
909 common = grub-core/kern/misc.c;
910 common = grub-core/tests/lib/test.c;
911 ldadd = libgrubmods.a;
912 ldadd = libgrubgcry.a;
913 ldadd = libgrubkern.a;
914 ldadd = grub-core/gnulib/libgnu.a;
915 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
916 };
917
918 program = {
919 name = grub-menulst2cfg;
920 mansection = 1;
921 common = util/grub-menulst2cfg.c;
922 common = grub-core/lib/legacy_parse.c;
923 common = grub-core/lib/i386/pc/vesa_modes_table.c;
924
925 ldadd = libgrubmods.a;
926 ldadd = libgrubgcry.a;
927 ldadd = libgrubkern.a;
928 ldadd = grub-core/gnulib/libgnu.a;
929 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
930 };
931
932 program = {
933 name = grub-glue-efi;
934 mansection = 1;
935
936 common = util/grub-glue-efi.c;
937 common = grub-core/kern/emu/argp_common.c;
938
939 ldadd = libgrubmods.a;
940 ldadd = libgrubgcry.a;
941 ldadd = libgrubkern.a;
942 ldadd = grub-core/gnulib/libgnu.a;
943 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
944 };
945
946 program = {
947 name = grub-render-label;
948 mansection = 1;
949
950 common = util/grub-render-label.c;
951 common = grub-core/kern/emu/argp_common.c;
952 common = grub-core/kern/emu/hostfs.c;
953 common = grub-core/disk/host.c;
954
955 ldadd = libgrubmods.a;
956 ldadd = libgrubgcry.a;
957 ldadd = libgrubkern.a;
958 ldadd = grub-core/gnulib/libgnu.a;
959 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
960 };