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