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