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