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