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