Support big-endian UFS1.
[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/ufs_be.c;
94   common = grub-core/fs/xfs.c;
95   common = grub-core/fs/zfs/zfscrypt.c;
96   common = grub-core/fs/zfs/zfs.c;
97   common = grub-core/fs/zfs/zfsinfo.c;
98   common = grub-core/fs/zfs/zfs_lzjb.c;
99   common = grub-core/fs/zfs/zfs_sha256.c;
100   common = grub-core/fs/zfs/zfs_fletcher.c;
101   common = grub-core/lib/envblk.c;
102   common = grub-core/lib/hexdump.c;
103   common = grub-core/lib/LzFind.c;
104   common = grub-core/lib/LzmaEnc.c;
105   common = grub-core/lib/crc.c;
106   common = grub-core/lib/adler32.c;
107   common = grub-core/lib/crc64.c;
108   common = grub-core/normal/datetime.c;
109   common = grub-core/normal/misc.c;
110   common = grub-core/partmap/acorn.c;
111   common = grub-core/partmap/amiga.c;
112   common = grub-core/partmap/apple.c;
113   common = grub-core/partmap/msdos.c;
114   common = grub-core/partmap/sun.c;
115   common = grub-core/partmap/plan.c;
116   common = grub-core/partmap/dvh.c;
117   common = grub-core/partmap/sunpc.c;
118   common = grub-core/partmap/bsdlabel.c;
119   common = grub-core/script/function.c;
120   common = grub-core/script/lexer.c;
121   common = grub-core/script/main.c;
122   common = grub-core/script/script.c;
123   common = grub-core/script/argv.c;
124   common = grub-core/io/gzio.c;
125   common = grub-core/io/lzopio.c;
126   common = grub-core/kern/ia64/dl_helper.c;
127   common = grub-core/lib/minilzo/minilzo.c;
128   common = grub-core/lib/xzembed/xz_dec_bcj.c;
129   common = grub-core/lib/xzembed/xz_dec_lzma2.c;
130   common = grub-core/lib/xzembed/xz_dec_stream.c;
131 };
132
133 program = {
134   name = grub-bin2h;
135   common = util/bin2h.c;
136   ldadd = libgrubmods.a;
137   ldadd = libgrubgcry.a;
138   ldadd = libgrubkern.a;
139   ldadd = grub-core/gnulib/libgnu.a;
140   ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
141   installdir = noinst;
142 };
143
144 program = {
145   name = grub-mkimage;
146   mansection = 1;
147
148   common = util/grub-mkimage.c;
149   common = util/resolve.c;
150   common = grub-core/kern/emu/argp_common.c;
151
152   extra_dist = util/grub-mkimagexx.c;
153
154   ldadd = libgrubmods.a;
155   ldadd = libgrubgcry.a;
156   ldadd = libgrubkern.a;
157   ldadd = grub-core/gnulib/libgnu.a;
158   ldadd = '$(LIBLZMA)';
159   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
160   cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
161 };
162
163 program = {
164   name = grub-mkrelpath;
165   mansection = 1;
166
167   common = util/grub-mkrelpath.c;
168   common = grub-core/kern/emu/argp_common.c;
169
170   ldadd = libgrubmods.a;
171   ldadd = libgrubgcry.a;
172   ldadd = libgrubkern.a;
173   ldadd = grub-core/gnulib/libgnu.a;
174   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
175 };
176
177 program = {
178   name = grub-script-check;
179   mansection = 1;
180
181   common = util/grub-script-check.c;
182   common = grub-core/kern/emu/argp_common.c;
183
184   ldadd = libgrubmods.a;
185   ldadd = libgrubgcry.a;
186   ldadd = libgrubkern.a;
187   ldadd = grub-core/gnulib/libgnu.a;
188   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
189 };
190
191 program = {
192   name = grub-editenv;
193   mansection = 1;
194
195   common = util/grub-editenv.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-mkpasswd-pbkdf2;
206   mansection = 1;
207
208   common = util/grub-mkpasswd-pbkdf2.c;
209   common = grub-core/kern/emu/argp_common.c;
210
211   ldadd = libgrubmods.a;
212   ldadd = libgrubgcry.a;
213   ldadd = libgrubkern.a;
214   ldadd = grub-core/gnulib/libgnu.a;
215   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
216   cflags = '$(CFLAGS_GCRY)';
217   cppflags = '$(CPPFLAGS_GCRY)';
218 };
219
220 program = {
221   name = grub-macho2img;
222   mansection = 1;
223   common = util/grub-macho2img.c;
224   condition = COND_APPLE_CC;
225 };
226
227 program = {
228   name = grub-pe2elf;
229   mansection = 1;
230   common = util/grub-pe2elf.c;
231
232   ldadd = libgrubmods.a;
233   ldadd = libgrubgcry.a;
234   ldadd = libgrubkern.a;
235   ldadd = grub-core/gnulib/libgnu.a;
236   ldadd = '$(LIBINTL)';
237   condition = COND_GRUB_PE2ELF;
238 };
239
240 program = {
241   name = grub-fstest;
242   mansection = 1;
243   common_nodist = grub_fstest_init.c;
244   common = util/grub-fstest.c;
245   common = grub-core/kern/emu/hostfs.c;
246   common = grub-core/disk/host.c;
247
248   cflags = '$(CFLAGS_GCRY)';
249   cppflags = '$(CPPFLAGS_GCRY)';
250
251   ldadd = libgrubmods.a;
252   ldadd = libgrubgcry.a;
253   ldadd = libgrubkern.a;
254   ldadd = grub-core/gnulib/libgnu.a;
255   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
256 };
257
258 program = {
259   name = grub-mount;
260   mansection = 1;
261   common_nodist = grub_fstest_init.c;
262   common = util/grub-mount.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) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
271   condition = COND_GRUB_MOUNT;
272 };
273
274 program = {
275   name = grub-mkfont;
276   mansection = 1;
277   common = util/grub-mkfont.c;
278   common = grub-core/unidata.c;
279   common = grub-core/kern/emu/argp_common.c;
280
281   cflags = '$(freetype_cflags)';
282
283   ldadd = libgrubmods.a;
284   ldadd = libgrubgcry.a;
285   ldadd = libgrubkern.a;
286   ldadd = grub-core/gnulib/libgnu.a;
287   ldadd = '$(freetype_libs)';
288   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
289   condition = COND_GRUB_MKFONT;
290 };
291
292 program = {
293   name = grub-probe;
294   installdir = sbin;
295   mansection = 8;
296   common = util/grub-probe.c;
297   common = util/ieee1275/ofpath.c;
298   common = grub-core/kern/emu/argp_common.c;
299
300   ldadd = libgrubmods.a;
301   ldadd = libgrubgcry.a;
302   ldadd = libgrubkern.a;
303   ldadd = grub-core/gnulib/libgnu.a;
304   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
305 };
306
307 program = {
308   name = grub-bios-setup;
309   installdir = sbin;
310   mansection = 8;
311   common = util/grub-setup.c;
312   common = util/lvm.c;
313   common = grub-core/kern/emu/argp_common.c;
314   common = grub-core/lib/reed_solomon.c;
315
316   ldadd = libgrubmods.a;
317   ldadd = libgrubkern.a;
318   ldadd = libgrubgcry.a;
319   ldadd = grub-core/gnulib/libgnu.a;
320   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
321   cppflags = '-DGRUB_SETUP_BIOS=1';
322 };
323
324 program = {
325   name = grub-sparc64-setup;
326   installdir = sbin;
327   mansection = 8;
328   common = util/grub-setup.c;
329   common = util/lvm.c;
330   common = grub-core/kern/emu/argp_common.c;
331   common = grub-core/lib/reed_solomon.c;
332   common = util/ieee1275/ofpath.c;
333
334   ldadd = libgrubmods.a;
335   ldadd = libgrubkern.a;
336   ldadd = libgrubgcry.a;
337   ldadd = grub-core/gnulib/libgnu.a;
338   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
339   cppflags = '-DGRUB_SETUP_SPARC64=1';
340 };
341
342 program = {
343   name = grub-ofpathname;
344   installdir = sbin;
345   mansection = 8;
346   common = util/ieee1275/grub-ofpathname.c;
347   common = util/ieee1275/ofpath.c;
348
349   ldadd = libgrubmods.a;
350   ldadd = libgrubgcry.a;
351   ldadd = libgrubkern.a;
352   ldadd = grub-core/gnulib/libgnu.a;
353   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
354 };
355
356 program = {
357   name = grub-mklayout;
358   mansection = 1;
359
360   common = util/grub-mklayout.c;
361   common = grub-core/kern/emu/argp_common.c;
362
363   ldadd = libgrubmods.a;
364   ldadd = libgrubgcry.a;
365   ldadd = libgrubkern.a;
366   ldadd = grub-core/gnulib/libgnu.a;
367   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
368 };
369
370 data = {
371   common = util/grub.d/README;
372   installdir = grubconf;
373 };
374
375 script = {
376   name = '00_header';
377   common = util/grub.d/00_header.in;
378   installdir = grubconf;
379 };
380
381 script = {
382   name = '10_windows';
383   common = util/grub.d/10_windows.in;
384   installdir = grubconf;
385   condition = COND_HOST_WINDOWS;
386 };
387
388 script = {
389   name = '10_hurd';
390   common = util/grub.d/10_hurd.in;
391   installdir = grubconf;
392   condition = COND_HOST_HURD;
393 };
394
395 script = {
396   name = '10_kfreebsd';
397   common = util/grub.d/10_kfreebsd.in;
398   installdir = grubconf;
399   condition = COND_HOST_KFREEBSD;
400 };
401
402 script = {
403   name = '10_illumos';
404   common = util/grub.d/10_illumos.in;
405   installdir = grubconf;
406   condition = COND_HOST_ILLUMOS;
407 };
408
409 script = {
410   name = '10_netbsd';
411   common = util/grub.d/10_netbsd.in;
412   installdir = grubconf;
413   condition = COND_HOST_NETBSD;
414 };
415
416 script = {
417   name = '10_linux';
418   common = util/grub.d/10_linux.in;
419   installdir = grubconf;
420   condition = COND_HOST_LINUX;
421 };
422
423 script = {
424   name = '10_xnu';
425   common = util/grub.d/10_xnu.in;
426   installdir = grubconf;
427   condition = COND_HOST_XNU;
428 };
429
430 script = {
431   name = '20_linux_xen';
432   common = util/grub.d/20_linux_xen.in;
433   installdir = grubconf;
434   condition = COND_HOST_LINUX;
435 };
436
437 script = {
438   name = '30_os-prober';
439   common = util/grub.d/30_os-prober.in;
440   installdir = grubconf;
441 };
442
443 script = {
444   name = '40_custom';
445   common = util/grub.d/40_custom.in;
446   installdir = grubconf;
447 };
448
449 script = {
450   name = '41_custom';
451   common = util/grub.d/41_custom.in;
452   installdir = grubconf;
453 };
454
455 script = {
456   mansection = 1;
457   name = grub-mkrescue;
458   x86 = util/grub-mkrescue.in;
459   mips_qemu_mips = util/grub-mkrescue.in;
460   mips_loongson = util/grub-mkrescue.in;
461   ia64_efi = util/grub-mkrescue.in;
462   powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
463   enable = i386_pc;
464   enable = i386_efi;
465   enable = x86_64_efi;
466   enable = i386_qemu;
467   enable = i386_multiboot;
468   enable = i386_coreboot;
469   enable = mips_qemu_mips;
470   enable = mips_loongson;
471   enable = ia64_efi;
472   enable = powerpc_ieee1275;
473 };
474
475 script = {
476   mansection = 1;
477   name = grub-mkstandalone;
478   common = util/grub-mkstandalone.in;
479 };
480
481 script = {
482   mansection = 8;
483   installdir = sbin;
484   name = grub-install;
485
486   common = util/grub-install.in;
487   enable = noemu;
488 };
489
490 script = {
491   mansection = 1;
492   installdir = bin;
493   name = grub-mknetdir;
494
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 = example_grub_script_test;
552   common = tests/example_grub_script_test.in;
553 };
554
555 script = {
556   testcase;
557   name = grub_script_echo1;
558   common = tests/grub_script_echo1.in;
559 };
560
561 script = {
562   testcase;
563   name = grub_script_leading_whitespace;
564   common = tests/grub_script_leading_whitespace.in;
565 };
566
567 script = {
568   testcase;
569   name = grub_script_echo_keywords;
570   common = tests/grub_script_echo_keywords.in;
571 };
572
573 script = {
574   testcase;
575   name = grub_script_vars1;
576   common = tests/grub_script_vars1.in;
577 };
578
579 script = {
580   testcase;
581   name = grub_script_for1;
582   common = tests/grub_script_for1.in;
583 };
584
585 script = {
586   testcase;
587   name = grub_script_while1;
588   common = tests/grub_script_while1.in;
589 };
590
591 script = {
592   testcase;
593   name = grub_script_if;
594   common = tests/grub_script_if.in;
595 };
596
597 script = {
598   testcase;
599   name = grub_script_blanklines;
600   common = tests/grub_script_blanklines.in;
601 };
602
603 script = {
604   testcase;
605   name = grub_script_final_semicolon;
606   common = tests/grub_script_final_semicolon.in;
607 };
608
609 script = {
610   testcase;
611   name = grub_script_dollar;
612   common = tests/grub_script_dollar.in;
613 };
614
615 script = {
616   testcase;
617   name = grub_script_comments;
618   common = tests/grub_script_comments.in;
619 };
620
621 script = {
622   testcase;
623   name = grub_script_functions;
624   common = tests/grub_script_functions.in;
625 };
626
627 script = {
628   testcase;
629   name = grub_script_break;
630   common = tests/grub_script_break.in;
631 };
632
633 script = {
634   testcase;
635   name = grub_script_continue;
636   common = tests/grub_script_continue.in;
637 };
638
639 script = {
640   testcase;
641   name = grub_script_shift;
642   common = tests/grub_script_shift.in;
643 };
644
645 script = {
646   testcase;
647   name = grub_script_blockarg;
648   common = tests/grub_script_blockarg.in;
649 };
650
651 script = {
652   testcase;
653   name = grub_script_setparams;
654   common = tests/grub_script_setparams.in;
655 };
656
657 script = {
658   testcase;
659   name = grub_script_return;
660   common = tests/grub_script_return.in;
661 };
662
663 script = {
664   testcase;
665   name = grub_cmd_regexp;
666   common = tests/grub_cmd_regexp.in;
667 };
668
669 script = {
670   testcase;
671   name = grub_script_expansion;
672   common = tests/grub_script_expansion.in;
673 };
674
675 script = {
676   testcase;
677   name = grub_script_not;
678   common = tests/grub_script_not.in;
679 };
680
681 script = {
682   testcase;
683   name = partmap_test;
684   common = tests/partmap_test.in;
685 };
686
687 script = {
688   testcase;
689   name = grub_cmd_echo;
690   common = tests/grub_cmd_echo.in;
691 };
692
693 script = {
694   testcase;
695   name = grub_script_gettext;
696   common = tests/grub_script_gettext.in;
697 };
698
699 script = {
700   testcase;
701   name = grub_script_strcmp;
702   common = tests/grub_script_strcmp.in;
703 };
704
705 program = {
706   testcase;
707   name = example_unit_test;
708   common = tests/example_unit_test.c;
709   common = tests/lib/unit_test.c;
710   common = grub-core/kern/list.c;
711   common = grub-core/kern/misc.c;
712   common = grub-core/tests/lib/test.c;
713   ldadd = libgrubmods.a;
714   ldadd = libgrubgcry.a;
715   ldadd = libgrubkern.a;
716   ldadd = grub-core/gnulib/libgnu.a;
717   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
718 };
719
720 program = {
721   testcase;
722   name = printf_test;
723   common = tests/printf_unit_test.c;
724   common = tests/lib/unit_test.c;
725   common = grub-core/kern/list.c;
726   common = grub-core/kern/misc.c;
727   common = grub-core/tests/lib/test.c;
728   ldadd = libgrubmods.a;
729   ldadd = libgrubgcry.a;
730   ldadd = libgrubkern.a;
731   ldadd = grub-core/gnulib/libgnu.a;
732   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
733 };
734
735 program = {
736   testcase;
737   name = cmp_test;
738   common = tests/cmp_unit_test.c;
739   common = tests/lib/unit_test.c;
740   common = grub-core/kern/list.c;
741   common = grub-core/kern/misc.c;
742   common = grub-core/tests/lib/test.c;
743   ldadd = libgrubmods.a;
744   ldadd = libgrubgcry.a;
745   ldadd = libgrubkern.a;
746   ldadd = grub-core/gnulib/libgnu.a;
747   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
748 };
749
750 program = {
751   name = grub-menulst2cfg;
752   mansection = 1;
753   common = util/grub-menulst2cfg.c;
754   common = grub-core/lib/legacy_parse.c;
755   common = grub-core/lib/i386/pc/vesa_modes_table.c;
756
757   ldadd = libgrubmods.a;
758   ldadd = libgrubgcry.a;
759   ldadd = libgrubkern.a;
760   ldadd = grub-core/gnulib/libgnu.a;
761   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
762 };