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