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