fs/erofs: Add tests for EROFS in grub-fs-tester
[grub.git] / Makefile.util.def
blob0f74a1680f130608010b2978cf8a6ba4007c7ee2
1 AutoGen definitions Makefile.tpl;
3 library = {
4 name = libgrubkern.a;
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json';
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 = grub-core/lib/disk.c;
13 common = util/getroot.c;
14 common = grub-core/osdep/unix/getroot.c;
15 common = grub-core/osdep/getroot.c;
16 common = grub-core/osdep/devmapper/getroot.c;
17 common = grub-core/osdep/relpath.c;
18 extra_dist = grub-core/kern/disk_common.c;
19 extra_dist = grub-core/osdep/unix/relpath.c;
20 extra_dist = grub-core/osdep/aros/relpath.c;
21 extra_dist = grub-core/osdep/windows/relpath.c;
22 common = grub-core/kern/emu/hostdisk.c;
23 common = grub-core/osdep/devmapper/hostdisk.c;
24 common = grub-core/osdep/hostdisk.c;
25 common = grub-core/osdep/unix/hostdisk.c;
26 common = grub-core/osdep/exec.c;
27 common = grub-core/osdep/sleep.c;
28 common = grub-core/osdep/password.c;
29 common = grub-core/kern/emu/misc.c;
30 common = grub-core/kern/emu/mm.c;
31 common = grub-core/kern/env.c;
32 common = grub-core/kern/err.c;
33 common = grub-core/kern/file.c;
34 common = grub-core/kern/fs.c;
35 common = grub-core/kern/list.c;
36 common = grub-core/kern/misc.c;
37 common = grub-core/kern/partition.c;
38 common = grub-core/lib/crypto.c;
39 common = grub-core/lib/json/json.c;
40 common = grub-core/disk/luks.c;
41 common = grub-core/disk/luks2.c;
42 common = grub-core/disk/geli.c;
43 common = grub-core/disk/cryptodisk.c;
44 common = grub-core/disk/AFSplitter.c;
45 common = grub-core/lib/pbkdf2.c;
46 common = grub-core/commands/extcmd.c;
47 common = grub-core/lib/arg.c;
48 common = grub-core/disk/ldm.c;
49 common = grub-core/disk/diskfilter.c;
50 common = grub-core/partmap/gpt.c;
51 common = grub-core/partmap/msdos.c;
52 common = grub-core/fs/proc.c;
53 common = grub-core/fs/archelp.c;
56 library = {
57 name = libgrubmods.a;
58 cflags = '-fno-builtin -Wno-undef -Wno-unused-but-set-variable';
59 cppflags = '-I$(srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -I$(srcdir)/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H';
61 common_nodist = grub_script.tab.c;
62 common_nodist = grub_script.yy.c;
63 common_nodist = libgrub_a_init.c;
64 common_nodist = grub_script.yy.h;
65 common_nodist = grub_script.tab.h;
67 common = grub-core/commands/blocklist.c;
68 common = grub-core/commands/macbless.c;
69 common = grub-core/commands/xnu_uuid.c;
70 common = grub-core/commands/testload.c;
71 common = grub-core/commands/ls.c;
72 common = grub-core/disk/dmraid_nvidia.c;
73 common = grub-core/disk/loopback.c;
74 common = grub-core/disk/lvm.c;
75 common = grub-core/disk/mdraid_linux.c;
76 common = grub-core/disk/mdraid_linux_be.c;
77 common = grub-core/disk/mdraid1x_linux.c;
78 common = grub-core/disk/raid5_recover.c;
79 common = grub-core/disk/raid6_recover.c;
80 common = grub-core/font/font.c;
81 common = grub-core/gfxmenu/font.c;
82 common = grub-core/normal/charset.c;
83 common = grub-core/video/fb/fbblit.c;
84 common = grub-core/video/fb/fbutil.c;
85 common = grub-core/video/fb/fbfill.c;
86 common = grub-core/video/fb/video_fb.c;
87 common = grub-core/video/video.c;
88 common = grub-core/video/capture.c;
89 common = grub-core/video/colors.c;
90 common = grub-core/unidata.c;
91 common = grub-core/io/bufio.c;
92 common = grub-core/fs/affs.c;
93 common = grub-core/fs/afs.c;
94 common = grub-core/fs/bfs.c;
95 common = grub-core/fs/btrfs.c;
96 common = grub-core/fs/cbfs.c;
97 common = grub-core/fs/cpio.c;
98 common = grub-core/fs/cpio_be.c;
99 common = grub-core/fs/odc.c;
100 common = grub-core/fs/newc.c;
101 common = grub-core/fs/erofs.c;
102 common = grub-core/fs/ext2.c;
103 common = grub-core/fs/fat.c;
104 common = grub-core/fs/exfat.c;
105 common = grub-core/fs/f2fs.c;
106 common = grub-core/fs/fshelp.c;
107 common = grub-core/fs/hfs.c;
108 common = grub-core/fs/hfsplus.c;
109 common = grub-core/fs/hfspluscomp.c;
110 common = grub-core/fs/iso9660.c;
111 common = grub-core/fs/jfs.c;
112 common = grub-core/fs/minix.c;
113 common = grub-core/fs/minix2.c;
114 common = grub-core/fs/minix3.c;
115 common = grub-core/fs/minix_be.c;
116 common = grub-core/fs/minix2_be.c;
117 common = grub-core/fs/minix3_be.c;
118 common = grub-core/fs/nilfs2.c;
119 common = grub-core/fs/ntfs.c;
120 common = grub-core/fs/ntfscomp.c;
121 common = grub-core/fs/reiserfs.c;
122 common = grub-core/fs/romfs.c;
123 common = grub-core/fs/sfs.c;
124 common = grub-core/fs/squash4.c;
125 common = grub-core/fs/tar.c;
126 common = grub-core/fs/udf.c;
127 common = grub-core/fs/ufs2.c;
128 common = grub-core/fs/ufs.c;
129 common = grub-core/fs/ufs_be.c;
130 common = grub-core/fs/xfs.c;
131 common = grub-core/fs/zfs/zfscrypt.c;
132 common = grub-core/fs/zfs/zfs.c;
133 common = grub-core/fs/zfs/zfsinfo.c;
134 common = grub-core/fs/zfs/zfs_lzjb.c;
135 common = grub-core/fs/zfs/zfs_lz4.c;
136 common = grub-core/fs/zfs/zfs_sha256.c;
137 common = grub-core/fs/zfs/zfs_fletcher.c;
138 common = grub-core/lib/envblk.c;
139 common = grub-core/lib/hexdump.c;
140 common = grub-core/lib/LzFind.c;
141 common = grub-core/lib/LzmaEnc.c;
142 common = grub-core/lib/crc.c;
143 common = grub-core/lib/adler32.c;
144 common = grub-core/lib/crc64.c;
145 common = grub-core/lib/datetime.c;
146 common = grub-core/normal/misc.c;
147 common = grub-core/partmap/acorn.c;
148 common = grub-core/partmap/amiga.c;
149 common = grub-core/partmap/apple.c;
150 common = grub-core/partmap/sun.c;
151 common = grub-core/partmap/plan.c;
152 common = grub-core/partmap/dvh.c;
153 common = grub-core/partmap/sunpc.c;
154 common = grub-core/partmap/bsdlabel.c;
155 common = grub-core/partmap/dfly.c;
156 common = grub-core/script/function.c;
157 common = grub-core/script/lexer.c;
158 common = grub-core/script/main.c;
159 common = grub-core/script/script.c;
160 common = grub-core/script/argv.c;
161 common = grub-core/io/gzio.c;
162 common = grub-core/io/xzio.c;
163 common = grub-core/io/lzopio.c;
164 common = grub-core/kern/ia64/dl_helper.c;
165 common = grub-core/kern/arm/dl_helper.c;
166 common = grub-core/kern/arm64/dl_helper.c;
167 common = grub-core/kern/loongarch64/dl_helper.c;
168 common = grub-core/lib/minilzo/minilzo.c;
169 common = grub-core/lib/xzembed/xz_dec_bcj.c;
170 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
171 common = grub-core/lib/xzembed/xz_dec_stream.c;
172 common = grub-core/lib/zstd/debug.c;
173 common = grub-core/lib/zstd/entropy_common.c;
174 common = grub-core/lib/zstd/error_private.c;
175 common = grub-core/lib/zstd/fse_decompress.c;
176 common = grub-core/lib/zstd/huf_decompress.c;
177 common = grub-core/lib/zstd/module.c;
178 common = grub-core/lib/zstd/xxhash.c;
179 common = grub-core/lib/zstd/zstd_common.c;
180 common = grub-core/lib/zstd/zstd_decompress.c;
183 program = {
184 name = grub-mkimage;
185 mansection = 1;
187 common = util/grub-mkimage.c;
188 common = util/mkimage.c;
189 common = util/grub-mkimage32.c;
190 common = util/grub-mkimage64.c;
191 common = util/resolve.c;
192 common = grub-core/kern/emu/argp_common.c;
193 common = grub-core/osdep/init.c;
194 common = grub-core/osdep/config.c;
195 extra_dist = grub-core/osdep/aros/config.c;
196 extra_dist = grub-core/osdep/windows/config.c;
197 extra_dist = grub-core/osdep/unix/config.c;
198 common = util/config.c;
200 extra_dist = util/grub-mkimagexx.c;
202 ldadd = libgrubmods.a;
203 ldadd = libgrubgcry.a;
204 ldadd = libgrubkern.a;
205 ldadd = grub-core/lib/gnulib/libgnu.a;
206 ldadd = '$(LIBLZMA)';
207 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
210 program = {
211 name = grub-mkrelpath;
212 mansection = 1;
214 common = util/grub-mkrelpath.c;
215 common = grub-core/kern/emu/argp_common.c;
216 common = grub-core/osdep/init.c;
218 ldadd = libgrubmods.a;
219 ldadd = libgrubgcry.a;
220 ldadd = libgrubkern.a;
221 ldadd = grub-core/lib/gnulib/libgnu.a;
222 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
225 program = {
226 name = grub-script-check;
227 mansection = 1;
229 common = util/grub-script-check.c;
230 common = grub-core/kern/emu/argp_common.c;
231 common = grub-core/osdep/init.c;
233 ldadd = libgrubmods.a;
234 ldadd = libgrubgcry.a;
235 ldadd = libgrubkern.a;
236 ldadd = grub-core/lib/gnulib/libgnu.a;
237 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
240 program = {
241 name = grub-editenv;
242 mansection = 1;
244 common = util/grub-editenv.c;
245 common = util/editenv.c;
246 common = util/grub-install-common.c;
247 common = grub-core/osdep/init.c;
248 common = grub-core/osdep/compress.c;
249 extra_dist = grub-core/osdep/unix/compress.c;
250 extra_dist = grub-core/osdep/basic/compress.c;
251 common = util/mkimage.c;
252 common = util/grub-mkimage32.c;
253 common = util/grub-mkimage64.c;
254 common = grub-core/osdep/config.c;
255 common = util/config.c;
256 common = util/resolve.c;
258 ldadd = '$(LIBLZMA)';
259 ldadd = libgrubmods.a;
260 ldadd = libgrubgcry.a;
261 ldadd = libgrubkern.a;
262 ldadd = grub-core/lib/gnulib/libgnu.a;
263 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
266 program = {
267 name = grub-mkpasswd-pbkdf2;
268 mansection = 1;
270 common = util/grub-mkpasswd-pbkdf2.c;
271 common = grub-core/kern/emu/argp_common.c;
272 common = grub-core/osdep/random.c;
273 common = grub-core/osdep/init.c;
275 ldadd = libgrubmods.a;
276 ldadd = libgrubgcry.a;
277 ldadd = libgrubkern.a;
278 ldadd = grub-core/lib/gnulib/libgnu.a;
279 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
282 program = {
283 name = grub-macho2img;
284 mansection = 1;
285 common = util/grub-macho2img.c;
286 condition = COND_APPLE_LINKER;
289 program = {
290 name = grub-fstest;
291 mansection = 1;
292 common_nodist = grub_fstest_init.c;
293 common = util/grub-fstest.c;
294 common = grub-core/kern/emu/hostfs.c;
295 common = grub-core/disk/host.c;
296 common = grub-core/osdep/init.c;
298 ldadd = libgrubmods.a;
299 ldadd = libgrubgcry.a;
300 ldadd = libgrubkern.a;
301 ldadd = grub-core/lib/gnulib/libgnu.a;
302 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
305 program = {
306 name = grub-mount;
307 mansection = 1;
308 common_nodist = grub_fstest_init.c;
309 common = util/grub-mount.c;
310 common = grub-core/kern/emu/hostfs.c;
311 common = grub-core/disk/host.c;
312 common = grub-core/osdep/init.c;
314 cflags = '$(FUSE_CFLAGS)';
316 ldadd = libgrubmods.a;
317 ldadd = libgrubgcry.a;
318 ldadd = libgrubkern.a;
319 ldadd = grub-core/lib/gnulib/libgnu.a;
320 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) $(FUSE_LIBS)';
321 condition = COND_GRUB_MOUNT;
324 program = {
325 name = grub-mkfont;
326 mansection = 1;
327 common = util/grub-mkfont.c;
328 common = grub-core/kern/emu/argp_common.c;
329 common = grub-core/osdep/init.c;
331 cflags = '$(FREETYPE_CFLAGS)';
332 cppflags = '-DGRUB_MKFONT=1';
334 ldadd = libgrubmods.a;
335 ldadd = libgrubgcry.a;
336 ldadd = libgrubkern.a;
337 ldadd = grub-core/lib/gnulib/libgnu.a;
338 ldadd = '$(FREETYPE_LIBS)';
339 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
340 condition = COND_GRUB_MKFONT;
343 program = {
344 name = grub-probe;
345 installdir = sbin;
346 mansection = 8;
347 common = util/grub-probe.c;
348 common = util/probe.c;
349 common = grub-core/osdep/ofpath.c;
350 common = grub-core/kern/emu/argp_common.c;
351 common = grub-core/osdep/init.c;
353 ldadd = libgrubmods.a;
354 ldadd = libgrubgcry.a;
355 ldadd = libgrubkern.a;
356 ldadd = grub-core/lib/gnulib/libgnu.a;
357 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
360 program = {
361 name = grub-bios-setup;
362 installdir = sbin;
363 mansection = 8;
364 common = util/grub-setup.c;
365 common = util/setup_bios.c;
366 extra_dist = util/setup.c;
367 common = grub-core/kern/emu/argp_common.c;
368 common = grub-core/lib/reed_solomon.c;
369 common = grub-core/osdep/blocklist.c;
370 extra_dist = grub-core/osdep/generic/blocklist.c;
371 extra_dist = grub-core/osdep/linux/blocklist.c;
372 extra_dist = grub-core/osdep/windows/blocklist.c;
373 common = grub-core/osdep/init.c;
375 ldadd = libgrubmods.a;
376 ldadd = libgrubkern.a;
377 ldadd = libgrubgcry.a;
378 ldadd = grub-core/lib/gnulib/libgnu.a;
379 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
380 cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
383 program = {
384 name = grub-sparc64-setup;
385 installdir = sbin;
386 mansection = 8;
387 common = util/grub-setup.c;
388 common = util/setup_sparc.c;
389 common = grub-core/kern/emu/argp_common.c;
390 common = grub-core/lib/reed_solomon.c;
391 common = grub-core/osdep/ofpath.c;
392 common = grub-core/osdep/blocklist.c;
393 common = grub-core/osdep/init.c;
395 ldadd = libgrubmods.a;
396 ldadd = libgrubkern.a;
397 ldadd = libgrubgcry.a;
398 ldadd = grub-core/lib/gnulib/libgnu.a;
399 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
400 cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
403 program = {
404 name = grub-ofpathname;
405 installdir = sbin;
406 mansection = 8;
407 common = util/ieee1275/grub-ofpathname.c;
408 common = grub-core/osdep/ofpath.c;
409 common = grub-core/osdep/init.c;
411 ldadd = libgrubmods.a;
412 ldadd = libgrubgcry.a;
413 ldadd = libgrubkern.a;
414 ldadd = grub-core/lib/gnulib/libgnu.a;
415 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
418 program = {
419 name = grub-mklayout;
420 mansection = 1;
422 common = util/grub-mklayout.c;
423 common = grub-core/kern/emu/argp_common.c;
424 common = grub-core/osdep/init.c;
426 ldadd = libgrubmods.a;
427 ldadd = libgrubgcry.a;
428 ldadd = libgrubkern.a;
429 ldadd = grub-core/lib/gnulib/libgnu.a;
430 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
433 program = {
434 name = grub-macbless;
435 installdir = sbin;
436 mansection = 8;
437 common = util/grub-macbless.c;
438 common = grub-core/osdep/init.c;
439 common = grub-core/kern/emu/argp_common.c;
441 ldadd = libgrubmods.a;
442 ldadd = libgrubgcry.a;
443 ldadd = libgrubkern.a;
444 ldadd = grub-core/lib/gnulib/libgnu.a;
445 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
448 data = {
449 common = util/grub.d/README;
450 installdir = grubconf;
453 script = {
454 name = '00_header';
455 common = util/grub.d/00_header.in;
456 installdir = grubconf;
459 script = {
460 name = '10_windows';
461 common = util/grub.d/10_windows.in;
462 installdir = grubconf;
463 condition = COND_HOST_WINDOWS;
466 script = {
467 name = '10_hurd';
468 common = util/grub.d/10_hurd.in;
469 installdir = grubconf;
470 condition = COND_HOST_HURD;
473 script = {
474 name = '10_kfreebsd';
475 common = util/grub.d/10_kfreebsd.in;
476 installdir = grubconf;
477 condition = COND_HOST_KFREEBSD;
480 script = {
481 name = '10_illumos';
482 common = util/grub.d/10_illumos.in;
483 installdir = grubconf;
484 condition = COND_HOST_ILLUMOS;
487 script = {
488 name = '10_netbsd';
489 common = util/grub.d/10_netbsd.in;
490 installdir = grubconf;
491 condition = COND_HOST_NETBSD;
494 script = {
495 name = '10_linux';
496 common = util/grub.d/10_linux.in;
497 installdir = grubconf;
498 condition = COND_HOST_LINUX;
501 script = {
502 name = '10_xnu';
503 common = util/grub.d/10_xnu.in;
504 installdir = grubconf;
505 condition = COND_HOST_XNU;
508 script = {
509 name = '20_linux_xen';
510 common = util/grub.d/20_linux_xen.in;
511 installdir = grubconf;
512 condition = COND_HOST_LINUX;
515 script = {
516 name = '25_bli';
517 common = util/grub.d/25_bli.in;
518 installdir = grubconf;
521 script = {
522 name = '30_os-prober';
523 common = util/grub.d/30_os-prober.in;
524 installdir = grubconf;
527 script = {
528 name = '30_uefi-firmware';
529 common = util/grub.d/30_uefi-firmware.in;
530 installdir = grubconf;
533 script = {
534 name = '40_custom';
535 common = util/grub.d/40_custom.in;
536 installdir = grubconf;
539 script = {
540 name = '41_custom';
541 common = util/grub.d/41_custom.in;
542 installdir = grubconf;
545 program = {
546 mansection = 1;
547 name = grub-mkrescue;
549 common = util/grub-mkrescue.c;
550 common = util/render-label.c;
551 common = util/glue-efi.c;
552 common = util/mkimage.c;
553 common = util/grub-mkimage32.c;
554 common = util/grub-mkimage64.c;
555 common = util/grub-install-common.c;
556 common = util/setup_bios.c;
557 common = util/setup_sparc.c;
558 common = grub-core/lib/reed_solomon.c;
559 common = grub-core/osdep/random.c;
560 common = grub-core/osdep/ofpath.c;
561 common = grub-core/osdep/platform.c;
562 common = grub-core/osdep/platform_unix.c;
563 common = grub-core/osdep/compress.c;
564 extra_dist = grub-core/osdep/unix/compress.c;
565 extra_dist = grub-core/osdep/basic/compress.c;
566 common = util/editenv.c;
567 common = grub-core/osdep/blocklist.c;
568 common = grub-core/osdep/config.c;
569 common = util/config.c;
571 common = grub-core/kern/emu/hostfs.c;
572 common = grub-core/disk/host.c;
574 common = util/resolve.c;
576 common = grub-core/kern/emu/argp_common.c;
577 common = grub-core/osdep/init.c;
579 ldadd = '$(LIBLZMA)';
580 ldadd = libgrubmods.a;
581 ldadd = libgrubgcry.a;
582 ldadd = libgrubkern.a;
583 ldadd = grub-core/lib/gnulib/libgnu.a;
584 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
586 condition = COND_HAVE_EXEC;
589 program = {
590 mansection = 1;
591 name = grub-mkstandalone;
592 common = util/grub-mkstandalone.c;
594 common = util/render-label.c;
595 common = util/glue-efi.c;
596 common = util/mkimage.c;
597 common = util/grub-mkimage32.c;
598 common = util/grub-mkimage64.c;
599 common = util/grub-install-common.c;
600 common = util/setup_bios.c;
601 common = util/setup_sparc.c;
602 common = grub-core/lib/reed_solomon.c;
603 common = grub-core/osdep/random.c;
604 common = grub-core/osdep/ofpath.c;
605 common = grub-core/osdep/platform.c;
606 common = grub-core/osdep/platform_unix.c;
607 extra_dist = grub-core/osdep/linux/platform.c;
608 extra_dist = grub-core/osdep/windows/platform.c;
609 extra_dist = grub-core/osdep/basic/platform.c;
610 extra_dist = grub-core/osdep/basic/no_platform.c;
611 extra_dist = grub-core/osdep/unix/platform.c;
612 common = grub-core/osdep/compress.c;
613 common = util/editenv.c;
614 common = grub-core/osdep/blocklist.c;
615 common = grub-core/osdep/config.c;
616 common = util/config.c;
618 common = grub-core/kern/emu/hostfs.c;
619 common = grub-core/disk/host.c;
621 common = util/resolve.c;
623 common = grub-core/kern/emu/argp_common.c;
624 common = grub-core/osdep/init.c;
626 ldadd = '$(LIBLZMA)';
627 ldadd = libgrubmods.a;
628 ldadd = libgrubgcry.a;
629 ldadd = libgrubkern.a;
630 ldadd = grub-core/lib/gnulib/libgnu.a;
631 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
634 program = {
635 mansection = 8;
636 installdir = sbin;
637 name = grub-install;
639 common = util/grub-install.c;
640 common = util/probe.c;
641 common = util/mkimage.c;
642 common = util/grub-mkimage32.c;
643 common = util/grub-mkimage64.c;
644 common = util/grub-install-common.c;
645 common = util/setup_bios.c;
646 common = util/setup_sparc.c;
647 common = grub-core/lib/reed_solomon.c;
648 common = grub-core/osdep/random.c;
649 common = grub-core/osdep/ofpath.c;
650 common = grub-core/osdep/platform.c;
651 common = grub-core/osdep/platform_unix.c;
652 common = grub-core/osdep/compress.c;
653 common = util/editenv.c;
654 common = grub-core/osdep/blocklist.c;
655 common = grub-core/osdep/config.c;
656 common = util/config.c;
657 common = util/render-label.c;
658 common = grub-core/kern/emu/hostfs.c;
659 common = grub-core/disk/host.c;
661 common = util/resolve.c;
662 common = grub-core/kern/emu/argp_common.c;
663 common = grub-core/osdep/init.c;
665 ldadd = '$(LIBLZMA)';
666 ldadd = libgrubmods.a;
667 ldadd = libgrubgcry.a;
668 ldadd = libgrubkern.a;
669 ldadd = grub-core/lib/gnulib/libgnu.a;
670 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
673 program = {
674 mansection = 1;
675 installdir = bin;
676 name = grub-mknetdir;
678 common = util/grub-mknetdir.c;
680 common = util/mkimage.c;
681 common = util/grub-mkimage32.c;
682 common = util/grub-mkimage64.c;
683 common = util/grub-install-common.c;
684 common = util/setup_bios.c;
685 common = util/setup_sparc.c;
686 common = grub-core/lib/reed_solomon.c;
687 common = grub-core/osdep/random.c;
688 common = grub-core/osdep/ofpath.c;
689 common = grub-core/osdep/platform.c;
690 common = grub-core/osdep/platform_unix.c;
691 common = grub-core/osdep/compress.c;
692 common = util/editenv.c;
693 common = grub-core/osdep/blocklist.c;
694 common = grub-core/osdep/config.c;
695 common = util/config.c;
697 common = util/resolve.c;
698 common = grub-core/kern/emu/argp_common.c;
699 common = grub-core/osdep/init.c;
701 ldadd = '$(LIBLZMA)';
702 ldadd = libgrubmods.a;
703 ldadd = libgrubgcry.a;
704 ldadd = libgrubkern.a;
705 ldadd = grub-core/lib/gnulib/libgnu.a;
706 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
709 script = {
710 name = grub-mkconfig;
711 common = util/grub-mkconfig.in;
712 mansection = 8;
713 installdir = sbin;
716 script = {
717 name = grub-set-default;
718 common = util/grub-set-default.in;
719 mansection = 8;
720 installdir = sbin;
723 script = {
724 name = grub-reboot;
725 common = util/grub-reboot.in;
726 mansection = 8;
727 installdir = sbin;
730 script = {
731 name = grub-mkconfig_lib;
732 common = util/grub-mkconfig_lib.in;
733 installdir = noinst;
736 script = {
737 name = grub-kbdcomp;
738 common = util/grub-kbdcomp.in;
739 mansection = 1;
742 script = {
743 name = grub-shell;
744 common = tests/util/grub-shell.in;
745 installdir = noinst;
748 script = {
749 name = grub-shell-tester;
750 common = tests/util/grub-shell-tester.in;
751 installdir = noinst;
754 script = {
755 name = grub-shell-luks-tester;
756 common = tests/util/grub-shell-luks-tester.in;
757 installdir = noinst;
760 script = {
761 name = grub-fs-tester;
762 common = tests/util/grub-fs-tester.in;
763 installdir = noinst;
764 dependencies = 'garbage-gen$(BUILD_EXEEXT)';
767 script = {
768 testcase = native;
769 name = erofs_test;
770 common = tests/erofs_test.in;
773 script = {
774 testcase = native;
775 name = ext234_test;
776 common = tests/ext234_test.in;
779 script = {
780 testcase = native;
781 name = squashfs_test;
782 common = tests/squashfs_test.in;
785 script = {
786 testcase = native;
787 name = iso9660_test;
788 common = tests/iso9660_test.in;
791 script = {
792 testcase = native;
793 name = hfsplus_test;
794 common = tests/hfsplus_test.in;
797 script = {
798 testcase = native;
799 name = ntfs_test;
800 common = tests/ntfs_test.in;
803 script = {
804 testcase = native;
805 name = reiserfs_test;
806 common = tests/reiserfs_test.in;
809 script = {
810 testcase = native;
811 name = fat_test;
812 common = tests/fat_test.in;
815 script = {
816 testcase = native;
817 name = minixfs_test;
818 common = tests/minixfs_test.in;
821 script = {
822 testcase = native;
823 name = xfs_test;
824 common = tests/xfs_test.in;
827 script = {
828 testcase = native;
829 name = f2fs_test;
830 common = tests/f2fs_test.in;
833 script = {
834 testcase = native;
835 name = nilfs2_test;
836 common = tests/nilfs2_test.in;
839 script = {
840 testcase = native;
841 name = romfs_test;
842 common = tests/romfs_test.in;
845 script = {
846 testcase = native;
847 name = exfat_test;
848 common = tests/exfat_test.in;
851 script = {
852 testcase = native;
853 name = tar_test;
854 common = tests/tar_test.in;
857 script = {
858 testcase = native;
859 name = udf_test;
860 common = tests/udf_test.in;
863 script = {
864 testcase = native;
865 name = hfs_test;
866 common = tests/hfs_test.in;
869 script = {
870 testcase = native;
871 name = jfs_test;
872 common = tests/jfs_test.in;
875 script = {
876 testcase = native;
877 name = btrfs_test;
878 common = tests/btrfs_test.in;
881 script = {
882 testcase = native;
883 name = zfs_test;
884 common = tests/zfs_test.in;
887 script = {
888 testcase = native;
889 name = cpio_test;
890 common = tests/cpio_test.in;
893 script = {
894 testcase = native;
895 name = example_scripted_test;
896 common = tests/example_scripted_test.in;
899 script = {
900 testcase = native;
901 name = gettext_strings_test;
902 common = tests/gettext_strings_test.in;
903 extra_dist = po/exclude.pot;
906 script = {
907 testcase = nonnative;
908 name = pata_test;
909 common = tests/pata_test.in;
912 script = {
913 testcase = nonnative;
914 name = ahci_test;
915 common = tests/ahci_test.in;
918 script = {
919 testcase = nonnative;
920 name = uhci_test;
921 common = tests/uhci_test.in;
924 script = {
925 testcase = nonnative;
926 name = ohci_test;
927 common = tests/ohci_test.in;
930 script = {
931 testcase = nonnative;
932 name = ehci_test;
933 common = tests/ehci_test.in;
936 script = {
937 testcase = nonnative;
938 name = example_grub_script_test;
939 common = tests/example_grub_script_test.in;
942 script = {
943 testcase = nonnative;
944 name = grub_script_eval;
945 common = tests/grub_script_eval.in;
948 script = {
949 testcase = nonnative;
950 name = grub_script_test;
951 common = tests/grub_script_test.in;
954 script = {
955 testcase = nonnative;
956 name = grub_script_echo1;
957 common = tests/grub_script_echo1.in;
960 script = {
961 testcase = nonnative;
962 name = grub_script_leading_whitespace;
963 common = tests/grub_script_leading_whitespace.in;
966 script = {
967 testcase = nonnative;
968 name = grub_script_echo_keywords;
969 common = tests/grub_script_echo_keywords.in;
972 script = {
973 testcase = nonnative;
974 name = grub_script_vars1;
975 common = tests/grub_script_vars1.in;
978 script = {
979 testcase = nonnative;
980 name = grub_script_for1;
981 common = tests/grub_script_for1.in;
984 script = {
985 testcase = nonnative;
986 name = grub_script_while1;
987 common = tests/grub_script_while1.in;
990 script = {
991 testcase = nonnative;
992 name = grub_script_if;
993 common = tests/grub_script_if.in;
996 script = {
997 testcase = native;
998 name = grub_script_blanklines;
999 common = tests/grub_script_blanklines.in;
1002 script = {
1003 testcase = native;
1004 name = grub_script_final_semicolon;
1005 common = tests/grub_script_final_semicolon.in;
1008 script = {
1009 testcase = native;
1010 name = grub_script_dollar;
1011 common = tests/grub_script_dollar.in;
1014 script = {
1015 testcase = nonnative;
1016 name = grub_script_comments;
1017 common = tests/grub_script_comments.in;
1020 script = {
1021 testcase = nonnative;
1022 name = grub_script_functions;
1023 common = tests/grub_script_functions.in;
1026 script = {
1027 testcase = nonnative;
1028 name = grub_script_break;
1029 common = tests/grub_script_break.in;
1032 script = {
1033 testcase = nonnative;
1034 name = grub_script_continue;
1035 common = tests/grub_script_continue.in;
1038 script = {
1039 testcase = nonnative;
1040 name = grub_script_shift;
1041 common = tests/grub_script_shift.in;
1044 script = {
1045 testcase = nonnative;
1046 name = grub_script_blockarg;
1047 common = tests/grub_script_blockarg.in;
1050 script = {
1051 testcase = nonnative;
1052 name = grub_script_setparams;
1053 common = tests/grub_script_setparams.in;
1056 script = {
1057 testcase = nonnative;
1058 name = grub_script_return;
1059 common = tests/grub_script_return.in;
1062 script = {
1063 testcase = nonnative;
1064 name = grub_cmd_cryptomount;
1065 common = tests/grub_cmd_cryptomount.in;
1068 script = {
1069 testcase = nonnative;
1070 name = grub_cmd_regexp;
1071 common = tests/grub_cmd_regexp.in;
1074 script = {
1075 testcase = nonnative;
1076 name = grub_cmd_date;
1077 common = tests/grub_cmd_date.in;
1080 script = {
1081 testcase = nonnative;
1082 name = grub_cmd_set_date;
1083 common = tests/grub_cmd_set_date.in;
1086 script = {
1087 testcase = nonnative;
1088 name = grub_cmd_sleep;
1089 common = tests/grub_cmd_sleep.in;
1092 script = {
1093 testcase = nonnative;
1094 name = grub_script_expansion;
1095 common = tests/grub_script_expansion.in;
1098 script = {
1099 testcase = nonnative;
1100 name = grub_script_not;
1101 common = tests/grub_script_not.in;
1104 script = {
1105 testcase = native;
1106 name = grub_script_no_commands;
1107 common = tests/grub_script_no_commands.in;
1110 script = {
1111 testcase = nonnative;
1112 name = partmap_test;
1113 common = tests/partmap_test.in;
1116 script = {
1117 testcase = nonnative;
1118 name = hddboot_test;
1119 common = tests/hddboot_test.in;
1122 script = {
1123 testcase = nonnative;
1124 name = fddboot_test;
1125 common = tests/fddboot_test.in;
1128 script = {
1129 testcase = nonnative;
1130 name = cdboot_test;
1131 common = tests/cdboot_test.in;
1134 script = {
1135 testcase = nonnative;
1136 name = netboot_test;
1137 common = tests/netboot_test.in;
1140 script = {
1141 testcase = nonnative;
1142 name = serial_test;
1143 common = tests/serial_test.in;
1146 script = {
1147 testcase = nonnative;
1148 name = pseries_test;
1149 common = tests/pseries_test.in;
1152 script = {
1153 testcase = nonnative;
1154 name = core_compress_test;
1155 common = tests/core_compress_test.in;
1158 script = {
1159 testcase = nonnative;
1160 name = xzcompress_test;
1161 common = tests/xzcompress_test.in;
1164 script = {
1165 testcase = nonnative;
1166 name = gzcompress_test;
1167 common = tests/gzcompress_test.in;
1170 script = {
1171 testcase = nonnative;
1172 name = lzocompress_test;
1173 common = tests/lzocompress_test.in;
1176 script = {
1177 testcase = nonnative;
1178 name = grub_cmd_echo;
1179 common = tests/grub_cmd_echo.in;
1182 script = {
1183 testcase = nonnative;
1184 name = help_test;
1185 common = tests/help_test.in;
1188 script = {
1189 testcase = nonnative;
1190 name = grub_script_gettext;
1191 common = tests/grub_script_gettext.in;
1194 script = {
1195 testcase = nonnative;
1196 name = grub_script_escape_comma;
1197 common = tests/grub_script_escape_comma.in;
1200 script = {
1201 testcase = nonnative;
1202 name = grub_script_strcmp;
1203 common = tests/grub_script_strcmp.in;
1206 script = {
1207 testcase = nonnative;
1208 name = test_sha512sum;
1209 common = tests/test_sha512sum.in;
1212 script = {
1213 testcase = nonnative;
1214 name = test_unset;
1215 common = tests/test_unset.in;
1218 script = {
1219 testcase = nonnative;
1220 name = grub_func_test;
1221 common = tests/grub_func_test.in;
1224 script = {
1225 testcase = nonnative;
1226 name = grub_cmd_tr;
1227 common = tests/grub_cmd_tr.in;
1230 script = {
1231 testcase = nonnative;
1232 name = file_filter_test;
1233 common = tests/file_filter_test.in;
1236 script = {
1237 testcase = nonnative;
1238 name = grub_cmd_test;
1239 common = tests/grub_cmd_test.in;
1242 script = {
1243 testcase = native;
1244 name = syslinux_test;
1245 common = tests/syslinux_test.in;
1248 script = {
1249 testcase = native;
1250 name = luks1_test;
1251 common = tests/luks1_test.in;
1254 script = {
1255 testcase = native;
1256 name = luks2_test;
1257 common = tests/luks2_test.in;
1260 program = {
1261 testcase = native;
1262 name = example_unit_test;
1263 common = tests/example_unit_test.c;
1264 common = tests/lib/unit_test.c;
1265 common = grub-core/kern/list.c;
1266 common = grub-core/kern/misc.c;
1267 common = grub-core/tests/lib/test.c;
1268 ldadd = libgrubmods.a;
1269 ldadd = libgrubgcry.a;
1270 ldadd = libgrubkern.a;
1271 ldadd = grub-core/lib/gnulib/libgnu.a;
1272 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1275 program = {
1276 testcase = native;
1277 name = printf_test;
1278 common = tests/printf_unit_test.c;
1279 common = tests/lib/unit_test.c;
1280 common = grub-core/kern/list.c;
1281 common = grub-core/kern/misc.c;
1282 common = grub-core/tests/lib/test.c;
1283 ldadd = libgrubmods.a;
1284 ldadd = libgrubgcry.a;
1285 ldadd = libgrubkern.a;
1286 ldadd = grub-core/lib/gnulib/libgnu.a;
1287 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1290 program = {
1291 testcase = native;
1292 name = date_test;
1293 common = tests/date_unit_test.c;
1294 common = tests/lib/unit_test.c;
1295 common = grub-core/kern/list.c;
1296 common = grub-core/kern/misc.c;
1297 common = grub-core/tests/lib/test.c;
1298 ldadd = libgrubmods.a;
1299 ldadd = libgrubgcry.a;
1300 ldadd = libgrubkern.a;
1301 ldadd = grub-core/lib/gnulib/libgnu.a;
1302 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1305 program = {
1306 testcase = native;
1307 name = priority_queue_unit_test;
1308 common = tests/priority_queue_unit_test.cc;
1309 common = tests/lib/unit_test.c;
1310 common = grub-core/kern/list.c;
1311 common = grub-core/kern/misc.c;
1312 common = grub-core/tests/lib/test.c;
1313 common = grub-core/lib/priority_queue.c;
1314 ldadd = libgrubmods.a;
1315 ldadd = libgrubgcry.a;
1316 ldadd = libgrubkern.a;
1317 ldadd = grub-core/lib/gnulib/libgnu.a;
1318 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1319 condition = COND_HAVE_CXX;
1322 program = {
1323 testcase = native;
1324 name = cmp_test;
1325 common = tests/cmp_unit_test.c;
1326 common = tests/lib/unit_test.c;
1327 common = grub-core/kern/list.c;
1328 common = grub-core/kern/misc.c;
1329 common = grub-core/tests/lib/test.c;
1330 ldadd = libgrubmods.a;
1331 ldadd = libgrubgcry.a;
1332 ldadd = libgrubkern.a;
1333 ldadd = grub-core/lib/gnulib/libgnu.a;
1334 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1337 program = {
1338 name = grub-menulst2cfg;
1339 mansection = 1;
1340 common = util/grub-menulst2cfg.c;
1341 common = grub-core/lib/legacy_parse.c;
1342 common = grub-core/lib/i386/pc/vesa_modes_table.c;
1343 common = grub-core/osdep/init.c;
1345 ldadd = libgrubmods.a;
1346 ldadd = libgrubgcry.a;
1347 ldadd = libgrubkern.a;
1348 ldadd = grub-core/lib/gnulib/libgnu.a;
1349 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1352 program = {
1353 name = grub-syslinux2cfg;
1354 mansection = 1;
1355 common = util/grub-syslinux2cfg.c;
1356 common = grub-core/lib/syslinux_parse.c;
1357 common = grub-core/lib/getline.c;
1358 common = grub-core/osdep/init.c;
1359 common = grub-core/kern/emu/hostfs.c;
1360 common = grub-core/disk/host.c;
1361 common = grub-core/kern/emu/argp_common.c;
1363 ldadd = libgrubmods.a;
1364 ldadd = libgrubgcry.a;
1365 ldadd = libgrubkern.a;
1366 ldadd = grub-core/lib/gnulib/libgnu.a;
1367 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1370 program = {
1371 name = grub-glue-efi;
1372 mansection = 1;
1374 common = util/grub-glue-efi.c;
1375 common = util/glue-efi.c;
1376 common = grub-core/kern/emu/argp_common.c;
1377 common = grub-core/osdep/init.c;
1379 ldadd = libgrubmods.a;
1380 ldadd = libgrubgcry.a;
1381 ldadd = libgrubkern.a;
1382 ldadd = grub-core/lib/gnulib/libgnu.a;
1383 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1386 program = {
1387 name = grub-render-label;
1388 mansection = 1;
1390 common = util/grub-render-label.c;
1391 common = util/render-label.c;
1392 common = grub-core/kern/emu/argp_common.c;
1393 common = grub-core/kern/emu/hostfs.c;
1394 common = grub-core/disk/host.c;
1395 common = grub-core/osdep/init.c;
1397 ldadd = libgrubmods.a;
1398 ldadd = libgrubgcry.a;
1399 ldadd = libgrubkern.a;
1400 ldadd = grub-core/lib/gnulib/libgnu.a;
1401 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1404 program = {
1405 name = grub-file;
1406 mansection = 1;
1408 common = util/grub-file.c;
1409 common = util/render-label.c;
1410 common = grub-core/commands/file.c;
1411 common = grub-core/commands/file32.c;
1412 common = grub-core/commands/file64.c;
1413 common = grub-core/loader/i386/xen_file.c;
1414 common = grub-core/loader/i386/xen_file32.c;
1415 common = grub-core/loader/i386/xen_file64.c;
1416 common = grub-core/io/offset.c;
1417 common = grub-core/kern/elf.c;
1418 common = grub-core/loader/lzss.c;
1419 common = grub-core/loader/macho.c;
1420 common = grub-core/loader/macho32.c;
1421 common = grub-core/loader/macho64.c;
1422 common = grub-core/kern/emu/hostfs.c;
1423 common = grub-core/disk/host.c;
1424 common = grub-core/osdep/init.c;
1426 ldadd = libgrubmods.a;
1427 ldadd = libgrubgcry.a;
1428 ldadd = libgrubkern.a;
1429 ldadd = grub-core/lib/gnulib/libgnu.a;
1430 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';