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