]> git.proxmox.com Git - grub2.git/blame - Makefile.util.def
Add few new tests.
[grub2.git] / Makefile.util.def
CommitLineData
8c411768
BC
1AutoGen definitions Makefile.tpl;
2
4b2047e2 3library = {
38631371 4 name = libgrubkern.a;
4b2047e2
BC
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB)';
7
8 common = util/misc.c;
38631371
BC
9 common = grub-core/kern/command.c;
10 common = grub-core/kern/device.c;
11 common = grub-core/kern/disk.c;
2e418de6
VS
12 common = util/getroot.c;
13 common = util/raid.c;
38631371
BC
14 common = grub-core/kern/emu/hostdisk.c;
15 common = grub-core/kern/emu/misc.c;
16 common = grub-core/kern/emu/mm.c;
4b2047e2 17 common = grub-core/kern/env.c;
38631371
BC
18 common = grub-core/kern/err.c;
19 common = grub-core/kern/file.c;
20 common = grub-core/kern/fs.c;
4b2047e2
BC
21 common = grub-core/kern/list.c;
22 common = grub-core/kern/misc.c;
4b2047e2 23 common = grub-core/kern/partition.c;
dcd73ec0
VS
24 common = grub-core/lib/crypto.c;
25 common = grub-core/disk/luks.c;
1a1f408f 26 common = grub-core/disk/geli.c;
8585e54b 27 common = grub-core/disk/cryptodisk.c;
dcd73ec0
VS
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;
076e7c0f
VS
32 common = grub-core/disk/ldm.c;
33 common = grub-core/disk/diskfilter.c;
34 common = grub-core/partmap/gpt.c;
b7b78edb 35 common = grub-core/partmap/msdos.c;
ce50dbd7 36 common = grub-core/fs/proc.c;
4b2047e2
BC
37};
38
8c411768 39library = {
38631371 40 name = libgrubmods.a;
8e56f870 41 cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
c029da8a 42 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
8c411768 43
8427685f
BC
44 common_nodist = grub_script.tab.c;
45 common_nodist = grub_script.yy.c;
46 common_nodist = libgrub_a_init.c;
47 common_nodist = grub_script.yy.h;
48 common_nodist = grub_script.tab.h;
49
8427685f 50 common = grub-core/commands/blocklist.c;
3be82e10 51 common = grub-core/commands/xnu_uuid.c;
77ba5392 52 common = grub-core/commands/testload.c;
8427685f
BC
53 common = grub-core/commands/ls.c;
54 common = grub-core/disk/dmraid_nvidia.c;
8427685f
BC
55 common = grub-core/disk/loopback.c;
56 common = grub-core/disk/lvm.c;
57 common = grub-core/disk/mdraid_linux.c;
22e6a774 58 common = grub-core/disk/mdraid_linux_be.c;
1e8d555b 59 common = grub-core/disk/mdraid1x_linux.c;
8427685f
BC
60 common = grub-core/disk/raid5_recover.c;
61 common = grub-core/disk/raid6_recover.c;
a79b8a15
VS
62 common = grub-core/font/font.c;
63 common = grub-core/gfxmenu/font.c;
64 common = grub-core/normal/charset.c;
65 common = grub-core/video/fb/fbblit.c;
66 common = grub-core/video/fb/fbutil.c;
67 common = grub-core/video/fb/fbfill.c;
68 common = grub-core/video/fb/video_fb.c;
69 common = grub-core/video/video.c;
70 common = grub-core/video/colors.c;
71 common = grub-core/unidata.c;
72 common = grub-core/io/bufio.c;
8427685f 73 common = grub-core/fs/affs.c;
8427685f 74 common = grub-core/fs/afs.c;
5825b379 75 common = grub-core/fs/bfs.c;
4dfbc574 76 common = grub-core/fs/btrfs.c;
8427685f 77 common = grub-core/fs/cpio.c;
a1a8b1b9
VS
78 common = grub-core/fs/cpio_be.c;
79 common = grub-core/fs/odc.c;
80 common = grub-core/fs/newc.c;
8427685f
BC
81 common = grub-core/fs/ext2.c;
82 common = grub-core/fs/fat.c;
48fe18dc 83 common = grub-core/fs/exfat.c;
8427685f
BC
84 common = grub-core/fs/fshelp.c;
85 common = grub-core/fs/hfs.c;
86 common = grub-core/fs/hfsplus.c;
87 common = grub-core/fs/iso9660.c;
88 common = grub-core/fs/jfs.c;
89 common = grub-core/fs/minix.c;
b4a0c915 90 common = grub-core/fs/minix2.c;
8fc88523 91 common = grub-core/fs/minix3.c;
ac66b453
VS
92 common = grub-core/fs/minix_be.c;
93 common = grub-core/fs/minix2_be.c;
94 common = grub-core/fs/minix3_be.c;
8427685f
BC
95 common = grub-core/fs/nilfs2.c;
96 common = grub-core/fs/ntfs.c;
97 common = grub-core/fs/ntfscomp.c;
98 common = grub-core/fs/reiserfs.c;
29184e93 99 common = grub-core/fs/romfs.c;
8427685f 100 common = grub-core/fs/sfs.c;
332fa368 101 common = grub-core/fs/squash4.c;
8427685f
BC
102 common = grub-core/fs/tar.c;
103 common = grub-core/fs/udf.c;
104 common = grub-core/fs/ufs2.c;
105 common = grub-core/fs/ufs.c;
d9c48c7b 106 common = grub-core/fs/ufs_be.c;
8427685f 107 common = grub-core/fs/xfs.c;
f003a8c5 108 common = grub-core/fs/zfs/zfscrypt.c;
bf78d5b2 109 common = grub-core/fs/zfs/zfs.c;
fdfde32a 110 common = grub-core/fs/zfs/zfsinfo.c;
bf78d5b2
RM
111 common = grub-core/fs/zfs/zfs_lzjb.c;
112 common = grub-core/fs/zfs/zfs_sha256.c;
113 common = grub-core/fs/zfs/zfs_fletcher.c;
8427685f
BC
114 common = grub-core/lib/envblk.c;
115 common = grub-core/lib/hexdump.c;
8427685f
BC
116 common = grub-core/lib/LzFind.c;
117 common = grub-core/lib/LzmaEnc.c;
3836e89d 118 common = grub-core/lib/crc.c;
9a8d32a2 119 common = grub-core/lib/adler32.c;
158dc1ea 120 common = grub-core/lib/crc64.c;
8427685f
BC
121 common = grub-core/normal/datetime.c;
122 common = grub-core/normal/misc.c;
123 common = grub-core/partmap/acorn.c;
124 common = grub-core/partmap/amiga.c;
125 common = grub-core/partmap/apple.c;
8427685f 126 common = grub-core/partmap/sun.c;
ac9ef7ee 127 common = grub-core/partmap/plan.c;
fb25a861 128 common = grub-core/partmap/dvh.c;
ad717fae 129 common = grub-core/partmap/sunpc.c;
56a4b23d 130 common = grub-core/partmap/bsdlabel.c;
8427685f
BC
131 common = grub-core/script/function.c;
132 common = grub-core/script/lexer.c;
133 common = grub-core/script/main.c;
134 common = grub-core/script/script.c;
135 common = grub-core/script/argv.c;
3be8e5ea 136 common = grub-core/io/gzio.c;
ec543969 137 common = grub-core/io/lzopio.c;
5452733f 138 common = grub-core/kern/ia64/dl_helper.c;
095f077e 139 common = grub-core/lib/minilzo/minilzo.c;
c029da8a
VS
140 common = grub-core/lib/xzembed/xz_dec_bcj.c;
141 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
142 common = grub-core/lib/xzembed/xz_dec_stream.c;
8c411768
BC
143};
144
145program = {
146 name = grub-bin2h;
8427685f 147 common = util/bin2h.c;
38631371 148 ldadd = libgrubmods.a;
7efb5c9e 149 ldadd = libgrubgcry.a;
38631371 150 ldadd = libgrubkern.a;
15c69261 151 ldadd = grub-core/gnulib/libgnu.a;
4b2047e2 152 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
24c9143a 153 installdir = noinst;
8c411768
BC
154};
155
156program = {
157 name = grub-mkimage;
158 mansection = 1;
159
8427685f
BC
160 common = util/grub-mkimage.c;
161 common = util/resolve.c;
6a656b0e 162 common = grub-core/kern/emu/argp_common.c;
c76899a0 163
a60f6ee1 164 extra_dist = util/grub-mkimagexx.c;
8c411768 165
38631371 166 ldadd = libgrubmods.a;
dcd73ec0 167 ldadd = libgrubgcry.a;
38631371 168 ldadd = libgrubkern.a;
4b2047e2 169 ldadd = grub-core/gnulib/libgnu.a;
2c44e493 170 ldadd = '$(LIBLZMA)';
f4727da9 171 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8151bc82 172 cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
8c411768
BC
173};
174
175program = {
176 name = grub-mkrelpath;
177 mansection = 1;
178
8427685f 179 common = util/grub-mkrelpath.c;
6a656b0e 180 common = grub-core/kern/emu/argp_common.c;
8c411768 181
38631371 182 ldadd = libgrubmods.a;
7efb5c9e 183 ldadd = libgrubgcry.a;
38631371 184 ldadd = libgrubkern.a;
15c69261 185 ldadd = grub-core/gnulib/libgnu.a;
20fd15f9 186 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
187};
188
189program = {
190 name = grub-script-check;
191 mansection = 1;
192
8427685f 193 common = util/grub-script-check.c;
6a656b0e 194 common = grub-core/kern/emu/argp_common.c;
8c411768 195
38631371 196 ldadd = libgrubmods.a;
7efb5c9e 197 ldadd = libgrubgcry.a;
38631371 198 ldadd = libgrubkern.a;
15c69261 199 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 200 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
201};
202
203program = {
204 name = grub-editenv;
205 mansection = 1;
206
8427685f 207 common = util/grub-editenv.c;
8c411768 208
38631371 209 ldadd = libgrubmods.a;
7efb5c9e 210 ldadd = libgrubgcry.a;
38631371 211 ldadd = libgrubkern.a;
15c69261 212 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 213 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
214};
215
216program = {
217 name = grub-mkpasswd-pbkdf2;
218 mansection = 1;
219
8427685f 220 common = util/grub-mkpasswd-pbkdf2.c;
6a656b0e 221 common = grub-core/kern/emu/argp_common.c;
8c411768 222
38631371 223 ldadd = libgrubmods.a;
dcd73ec0 224 ldadd = libgrubgcry.a;
38631371 225 ldadd = libgrubkern.a;
15c69261 226 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 227 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
228};
229
230program = {
231 name = grub-macho2img;
232 mansection = 1;
8427685f 233 common = util/grub-macho2img.c;
911bd640 234 condition = COND_APPLE_CC;
8c411768
BC
235};
236
237program = {
238 name = grub-pe2elf;
239 mansection = 1;
8427685f 240 common = util/grub-pe2elf.c;
8c411768 241
38631371 242 ldadd = libgrubmods.a;
7efb5c9e 243 ldadd = libgrubgcry.a;
38631371 244 ldadd = libgrubkern.a;
15c69261 245 ldadd = grub-core/gnulib/libgnu.a;
4b2047e2 246 ldadd = '$(LIBINTL)';
911bd640 247 condition = COND_GRUB_PE2ELF;
8c411768
BC
248};
249
250program = {
251 name = grub-fstest;
252 mansection = 1;
905f7773 253 common_nodist = grub_fstest_init.c;
8427685f 254 common = util/grub-fstest.c;
b6a690ee
CW
255 common = grub-core/kern/emu/hostfs.c;
256 common = grub-core/disk/host.c;
8c411768 257
38631371 258 ldadd = libgrubmods.a;
dcd73ec0 259 ldadd = libgrubgcry.a;
38631371 260 ldadd = libgrubkern.a;
15c69261 261 ldadd = grub-core/gnulib/libgnu.a;
20fd15f9 262 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
263};
264
92bb0786 265program = {
89644ef1 266 name = grub-mount;
92bb0786
VS
267 mansection = 1;
268 common_nodist = grub_fstest_init.c;
89644ef1 269 common = util/grub-mount.c;
92bb0786
VS
270 common = grub-core/kern/emu/hostfs.c;
271 common = grub-core/disk/host.c;
272
273 ldadd = libgrubmods.a;
f1f233ba 274 ldadd = libgrubgcry.a;
92bb0786
VS
275 ldadd = libgrubkern.a;
276 ldadd = grub-core/gnulib/libgnu.a;
794c8c33 277 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
897e6207 278 condition = COND_GRUB_MOUNT;
8c411768
BC
279};
280
281program = {
282 name = grub-mkfont;
283 mansection = 1;
8427685f
BC
284 common = util/grub-mkfont.c;
285 common = grub-core/unidata.c;
6a656b0e 286 common = grub-core/kern/emu/argp_common.c;
8c411768 287
8c411768 288 cflags = '$(freetype_cflags)';
2d465fb0 289
38631371 290 ldadd = libgrubmods.a;
7efb5c9e 291 ldadd = libgrubgcry.a;
38631371 292 ldadd = libgrubkern.a;
15c69261 293 ldadd = grub-core/gnulib/libgnu.a;
a7363f53 294 ldadd = '$(freetype_libs)';
f4727da9 295 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
911bd640 296 condition = COND_GRUB_MKFONT;
8c411768
BC
297};
298
8c411768
BC
299program = {
300 name = grub-probe;
301 installdir = sbin;
302 mansection = 8;
8427685f 303 common = util/grub-probe.c;
6babad5e 304 common = util/ieee1275/ofpath.c;
6a656b0e 305 common = grub-core/kern/emu/argp_common.c;
8c411768 306
38631371 307 ldadd = libgrubmods.a;
dcd73ec0 308 ldadd = libgrubgcry.a;
38631371 309 ldadd = libgrubkern.a;
15c69261 310 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 311 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
312};
313
314program = {
c36e5cd1 315 name = grub-bios-setup;
8c411768
BC
316 installdir = sbin;
317 mansection = 8;
d2ea4551 318 common = util/grub-setup.c;
d2ea4551 319 common = util/lvm.c;
6a656b0e 320 common = grub-core/kern/emu/argp_common.c;
419cbeb0 321 common = grub-core/lib/reed_solomon.c;
8c411768 322
38631371
BC
323 ldadd = libgrubmods.a;
324 ldadd = libgrubkern.a;
7efb5c9e 325 ldadd = libgrubgcry.a;
15c69261 326 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 327 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
c36e5cd1
VS
328 cppflags = '-DGRUB_SETUP_BIOS=1';
329};
911bd640 330
c36e5cd1
VS
331program = {
332 name = grub-sparc64-setup;
333 installdir = sbin;
334 mansection = 8;
335 common = util/grub-setup.c;
336 common = util/lvm.c;
337 common = grub-core/kern/emu/argp_common.c;
338 common = grub-core/lib/reed_solomon.c;
339 common = util/ieee1275/ofpath.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';
8c411768
BC
347};
348
349program = {
350 name = grub-ofpathname;
351 installdir = sbin;
63e3eea9 352 mansection = 8;
6c21f5d7
VS
353 common = util/ieee1275/grub-ofpathname.c;
354 common = util/ieee1275/ofpath.c;
8c411768 355
38631371 356 ldadd = libgrubmods.a;
7efb5c9e 357 ldadd = libgrubgcry.a;
38631371 358 ldadd = libgrubkern.a;
15c69261 359 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 360 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
8c411768
BC
361};
362
5aaf2c18
VS
363program = {
364 name = grub-mklayout;
365 mansection = 1;
366
367 common = util/grub-mklayout.c;
6a656b0e 368 common = grub-core/kern/emu/argp_common.c;
5aaf2c18 369
38631371 370 ldadd = libgrubmods.a;
7efb5c9e 371 ldadd = libgrubgcry.a;
38631371 372 ldadd = libgrubkern.a;
15c69261 373 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 374 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
5aaf2c18
VS
375};
376
8c411768 377data = {
8427685f 378 common = util/grub.d/README;
8c411768 379 installdir = grubconf;
8c411768
BC
380};
381
382script = {
383 name = '00_header';
8427685f 384 common = util/grub.d/00_header.in;
8c411768 385 installdir = grubconf;
8c411768
BC
386};
387
388script = {
389 name = '10_windows';
8427685f 390 common = util/grub.d/10_windows.in;
8c411768 391 installdir = grubconf;
f7711f5e 392 condition = COND_HOST_WINDOWS;
8c411768
BC
393};
394
395script = {
396 name = '10_hurd';
8427685f 397 common = util/grub.d/10_hurd.in;
8c411768 398 installdir = grubconf;
f7711f5e 399 condition = COND_HOST_HURD;
5815f2c1
BC
400};
401
402script = {
f51c98c4 403 name = '10_kfreebsd';
5815f2c1
BC
404 common = util/grub.d/10_kfreebsd.in;
405 installdir = grubconf;
f7711f5e 406 condition = COND_HOST_KFREEBSD;
5815f2c1
BC
407};
408
958ee221
VS
409script = {
410 name = '10_illumos';
411 common = util/grub.d/10_illumos.in;
412 installdir = grubconf;
413 condition = COND_HOST_ILLUMOS;
414};
415
5815f2c1 416script = {
f51c98c4 417 name = '10_netbsd';
5815f2c1
BC
418 common = util/grub.d/10_netbsd.in;
419 installdir = grubconf;
f7711f5e 420 condition = COND_HOST_NETBSD;
8c411768
BC
421};
422
423script = {
424 name = '10_linux';
8427685f 425 common = util/grub.d/10_linux.in;
8c411768 426 installdir = grubconf;
f7711f5e
BC
427 condition = COND_HOST_LINUX;
428};
429
b105df76
VS
430script = {
431 name = '10_xnu';
432 common = util/grub.d/10_xnu.in;
433 installdir = grubconf;
434 condition = COND_HOST_XNU;
435};
436
f7711f5e
BC
437script = {
438 name = '20_linux_xen';
439 common = util/grub.d/20_linux_xen.in;
440 installdir = grubconf;
441 condition = COND_HOST_LINUX;
8c411768
BC
442};
443
444script = {
445 name = '30_os-prober';
8427685f 446 common = util/grub.d/30_os-prober.in;
8c411768 447 installdir = grubconf;
8c411768
BC
448};
449
450script = {
451 name = '40_custom';
8427685f 452 common = util/grub.d/40_custom.in;
8c411768 453 installdir = grubconf;
8c411768
BC
454};
455
297f0c2b
BC
456script = {
457 name = '41_custom';
8427685f 458 common = util/grub.d/41_custom.in;
297f0c2b 459 installdir = grubconf;
297f0c2b
BC
460};
461
8c411768
BC
462script = {
463 mansection = 1;
464 name = grub-mkrescue;
a79b8a15
VS
465 common = util/grub-install_header;
466 common = util/grub-mkrescue.in;
ab1440bd 467 enable = noemu;
8c411768
BC
468};
469
41aa28ea
VS
470script = {
471 mansection = 1;
472 name = grub-mkstandalone;
aa428238 473 common = util/grub-install_header;
41aa28ea
VS
474 common = util/grub-mkstandalone.in;
475};
476
8c411768
BC
477script = {
478 mansection = 8;
479 installdir = sbin;
480 name = grub-install;
8427685f 481
aa428238 482 common = util/grub-install_header;
6c2111e9 483 common = util/grub-install.in;
eefe8abd 484 enable = noemu;
8c411768
BC
485};
486
8395034b 487script = {
288c757d
CW
488 mansection = 1;
489 installdir = bin;
8395034b
VS
490 name = grub-mknetdir;
491
aa428238 492 common = util/grub-install_header;
8395034b
VS
493 common = util/grub-mknetdir.in;
494};
495
8c411768
BC
496script = {
497 name = grub-mkconfig;
8427685f 498 common = util/grub-mkconfig.in;
8c411768
BC
499 mansection = 8;
500 installdir = sbin;
8c411768
BC
501};
502
503script = {
504 name = grub-set-default;
8427685f 505 common = util/grub-set-default.in;
8c411768
BC
506 mansection = 8;
507 installdir = sbin;
8c411768
BC
508};
509
510script = {
511 name = grub-reboot;
8427685f 512 common = util/grub-reboot.in;
8c411768
BC
513 mansection = 8;
514 installdir = sbin;
8c411768
BC
515};
516
517script = {
518 name = grub-mkconfig_lib;
8427685f 519 common = util/grub-mkconfig_lib.in;
f7711f5e 520 installdir = noinst;
8c411768
BC
521};
522
5aaf2c18
VS
523script = {
524 name = grub-kbdcomp;
525 common = util/grub-kbdcomp.in;
c76899a0 526 mansection = 1;
5aaf2c18
VS
527};
528
911bd640 529script = {
8c411768 530 name = grub-shell;
8427685f 531 common = tests/util/grub-shell.in;
f7711f5e 532 installdir = noinst;
8c411768
BC
533};
534
911bd640 535script = {
8c411768 536 name = grub-shell-tester;
8427685f 537 common = tests/util/grub-shell-tester.in;
f7711f5e 538 installdir = noinst;
8c411768
BC
539};
540
911bd640
BC
541script = {
542 testcase;
8c411768 543 name = example_scripted_test;
8427685f 544 common = tests/example_scripted_test.in;
8c411768
BC
545};
546
f7457fb2
VS
547script = {
548 testcase;
549 name = pata_test;
550 common = tests/pata_test.in;
551};
552
553script = {
554 testcase;
555 name = ahci_test;
556 common = tests/ahci_test.in;
557};
558
559script = {
560 testcase;
561 name = uhci_test;
562 common = tests/uhci_test.in;
563};
564
565script = {
566 testcase;
567 name = ohci_test;
568 common = tests/ohci_test.in;
569};
570
571script = {
572 testcase;
573 name = ehci_test;
574 common = tests/ehci_test.in;
575};
576
911bd640
BC
577script = {
578 testcase;
8c411768 579 name = example_grub_script_test;
8427685f 580 common = tests/example_grub_script_test.in;
8c411768
BC
581};
582
911bd640
BC
583script = {
584 testcase;
8c411768 585 name = grub_script_echo1;
8427685f 586 common = tests/grub_script_echo1.in;
8c411768
BC
587};
588
ac6fd218
VS
589script = {
590 testcase;
591 name = grub_script_leading_whitespace;
592 common = tests/grub_script_leading_whitespace.in;
593};
594
911bd640
BC
595script = {
596 testcase;
8c411768 597 name = grub_script_echo_keywords;
8427685f 598 common = tests/grub_script_echo_keywords.in;
8c411768
BC
599};
600
911bd640
BC
601script = {
602 testcase;
8c411768 603 name = grub_script_vars1;
8427685f 604 common = tests/grub_script_vars1.in;
8c411768
BC
605};
606
911bd640
BC
607script = {
608 testcase;
8c411768 609 name = grub_script_for1;
8427685f 610 common = tests/grub_script_for1.in;
8c411768
BC
611};
612
911bd640
BC
613script = {
614 testcase;
8c411768 615 name = grub_script_while1;
8427685f 616 common = tests/grub_script_while1.in;
8c411768
BC
617};
618
911bd640
BC
619script = {
620 testcase;
8c411768 621 name = grub_script_if;
8427685f 622 common = tests/grub_script_if.in;
8c411768
BC
623};
624
911bd640
BC
625script = {
626 testcase;
8c411768 627 name = grub_script_blanklines;
8427685f 628 common = tests/grub_script_blanklines.in;
8c411768
BC
629};
630
911bd640
BC
631script = {
632 testcase;
8c411768 633 name = grub_script_final_semicolon;
8427685f 634 common = tests/grub_script_final_semicolon.in;
8c411768
BC
635};
636
911bd640
BC
637script = {
638 testcase;
8c411768 639 name = grub_script_dollar;
8427685f 640 common = tests/grub_script_dollar.in;
8c411768
BC
641};
642
911bd640
BC
643script = {
644 testcase;
8c411768 645 name = grub_script_comments;
8427685f 646 common = tests/grub_script_comments.in;
8c411768
BC
647};
648
16c7cb32
BC
649script = {
650 testcase;
651 name = grub_script_functions;
8427685f 652 common = tests/grub_script_functions.in;
16c7cb32
BC
653};
654
655script = {
656 testcase;
657 name = grub_script_break;
8427685f 658 common = tests/grub_script_break.in;
16c7cb32
BC
659};
660
661script = {
662 testcase;
663 name = grub_script_continue;
8427685f 664 common = tests/grub_script_continue.in;
16c7cb32
BC
665};
666
667script = {
668 testcase;
669 name = grub_script_shift;
8427685f 670 common = tests/grub_script_shift.in;
16c7cb32
BC
671};
672
928bad47
BC
673script = {
674 testcase;
675 name = grub_script_blockarg;
676 common = tests/grub_script_blockarg.in;
677};
678
47b4c2c3
BC
679script = {
680 testcase;
681 name = grub_script_setparams;
682 common = tests/grub_script_setparams.in;
683};
684
aa5cd41a
BC
685script = {
686 testcase;
687 name = grub_script_return;
688 common = tests/grub_script_return.in;
689};
690
ab8629d2
BC
691script = {
692 testcase;
693 name = grub_cmd_regexp;
694 common = tests/grub_cmd_regexp.in;
695};
696
e3734b84
VS
697script = {
698 testcase;
699 name = grub_cmd_date;
700 common = tests/grub_cmd_date.in;
701};
702
8fdefb92
BC
703script = {
704 testcase;
705 name = grub_script_expansion;
706 common = tests/grub_script_expansion.in;
707};
708
1bce65c7
BC
709script = {
710 testcase;
711 name = grub_script_not;
712 common = tests/grub_script_not.in;
713};
714
56672f4a 715script = {
716 testcase;
717 name = partmap_test;
718 common = tests/partmap_test.in;
719};
720
f93e89ef
VS
721script = {
722 testcase;
723 name = hddboot_test;
724 common = tests/hddboot_test.in;
725};
726
727script = {
728 testcase;
729 name = fddboot_test;
730 common = tests/fddboot_test.in;
731};
732
733script = {
734 testcase;
735 name = cdboot_test;
736 common = tests/cdboot_test.in;
737};
738
739script = {
740 testcase;
741 name = netboot_test;
742 common = tests/netboot_test.in;
743};
744
745script = {
746 testcase;
747 name = pseries_test;
748 common = tests/pseries_test.in;
749};
750
e7b8fd08
VS
751script = {
752 testcase;
753 name = core_compress_test;
754 common = tests/core_compress_test.in;
755};
756
f93e89ef
VS
757script = {
758 testcase;
759 name = xzcompress_test;
760 common = tests/xzcompress_test.in;
761};
762
763script = {
764 testcase;
765 name = gzcompress_test;
766 common = tests/gzcompress_test.in;
767};
768
769script = {
770 testcase;
771 name = lzocompress_test;
772 common = tests/lzocompress_test.in;
773};
774
79c93b42
BC
775script = {
776 testcase;
777 name = grub_cmd_echo;
778 common = tests/grub_cmd_echo.in;
779};
780
f7457fb2
VS
781script = {
782 testcase;
783 name = help_test;
784 common = tests/help_test.in;
785};
786
546fbe9b
VS
787script = {
788 testcase;
789 name = grub_script_gettext;
790 common = tests/grub_script_gettext.in;
791};
792
f7457fb2
VS
793script = {
794 testcase;
795 name = grub_script_escape_comma;
796 common = tests/grub_script_escape_comma.in;
797};
798
ce41ab7a
VS
799script = {
800 testcase;
801 name = grub_script_strcmp;
802 common = tests/grub_script_strcmp.in;
803};
804
911bd640
BC
805program = {
806 testcase;
8c411768 807 name = example_unit_test;
8427685f
BC
808 common = tests/example_unit_test.c;
809 common = tests/lib/unit_test.c;
810 common = grub-core/kern/list.c;
811 common = grub-core/kern/misc.c;
812 common = grub-core/tests/lib/test.c;
38631371 813 ldadd = libgrubmods.a;
7efb5c9e 814 ldadd = libgrubgcry.a;
38631371 815 ldadd = libgrubkern.a;
dd363028 816 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 817 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 818};
fff175c7 819
12d4f965
VS
820program = {
821 testcase;
822 name = printf_test;
823 common = tests/printf_unit_test.c;
824 common = tests/lib/unit_test.c;
825 common = grub-core/kern/list.c;
826 common = grub-core/kern/misc.c;
827 common = grub-core/tests/lib/test.c;
828 ldadd = libgrubmods.a;
829 ldadd = libgrubgcry.a;
38631371 830 ldadd = libgrubkern.a;
dd363028 831 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 832 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 833};
fff175c7 834
ce41ab7a
VS
835program = {
836 testcase;
837 name = cmp_test;
838 common = tests/cmp_unit_test.c;
839 common = tests/lib/unit_test.c;
840 common = grub-core/kern/list.c;
841 common = grub-core/kern/misc.c;
842 common = grub-core/tests/lib/test.c;
843 ldadd = libgrubmods.a;
844 ldadd = libgrubgcry.a;
845 ldadd = libgrubkern.a;
846 ldadd = grub-core/gnulib/libgnu.a;
847 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
848};
849
fff175c7
VS
850program = {
851 name = grub-menulst2cfg;
852 mansection = 1;
853 common = util/grub-menulst2cfg.c;
854 common = grub-core/lib/legacy_parse.c;
e31bb619
VS
855 common = grub-core/lib/i386/pc/vesa_modes_table.c;
856
38631371 857 ldadd = libgrubmods.a;
7efb5c9e 858 ldadd = libgrubgcry.a;
38631371 859 ldadd = libgrubkern.a;
15c69261 860 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 861 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
fff175c7 862};
a79b8a15 863
67ab8353
VS
864program = {
865 name = grub-glue-efi;
866 mansection = 1;
867
868 common = util/grub-glue-efi.c;
869 common = grub-core/kern/emu/argp_common.c;
870
871 ldadd = libgrubmods.a;
872 ldadd = libgrubgcry.a;
873 ldadd = libgrubkern.a;
874 ldadd = grub-core/gnulib/libgnu.a;
875 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
876};
877
a79b8a15
VS
878program = {
879 name = grub-render-label;
880 mansection = 1;
881
882 common = util/grub-render-label.c;
883 common = grub-core/kern/emu/argp_common.c;
884 common = grub-core/kern/emu/hostfs.c;
885 common = grub-core/disk/host.c;
886
887 ldadd = libgrubmods.a;
888 ldadd = libgrubgcry.a;
889 ldadd = libgrubkern.a;
890 ldadd = grub-core/gnulib/libgnu.a;
891 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
892};