]> git.proxmox.com Git - grub2.git/blame - Makefile.util.def
Move sleep routines to grub-core/osdep.
[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 12 common = util/getroot.c;
672fa55e
VS
13 common = grub-core/osdep/unix/getroot.c;
14 common = grub-core/osdep/getroot.c;
15 common = grub-core/osdep/devmapper/getroot.c;
38631371 16 common = grub-core/kern/emu/hostdisk.c;
672fa55e
VS
17 common = grub-core/osdep/devmapper/hostdisk.c;
18 common = grub-core/osdep/hostdisk.c;
19 common = grub-core/osdep/unix/hostdisk.c;
c1ca4244 20 common = grub-core/osdep/sleep.c;
38631371
BC
21 common = grub-core/kern/emu/misc.c;
22 common = grub-core/kern/emu/mm.c;
4b2047e2 23 common = grub-core/kern/env.c;
38631371
BC
24 common = grub-core/kern/err.c;
25 common = grub-core/kern/file.c;
26 common = grub-core/kern/fs.c;
4b2047e2
BC
27 common = grub-core/kern/list.c;
28 common = grub-core/kern/misc.c;
4b2047e2 29 common = grub-core/kern/partition.c;
dcd73ec0
VS
30 common = grub-core/lib/crypto.c;
31 common = grub-core/disk/luks.c;
1a1f408f 32 common = grub-core/disk/geli.c;
8585e54b 33 common = grub-core/disk/cryptodisk.c;
dcd73ec0
VS
34 common = grub-core/disk/AFSplitter.c;
35 common = grub-core/lib/pbkdf2.c;
36 common = grub-core/commands/extcmd.c;
37 common = grub-core/lib/arg.c;
076e7c0f
VS
38 common = grub-core/disk/ldm.c;
39 common = grub-core/disk/diskfilter.c;
40 common = grub-core/partmap/gpt.c;
b7b78edb 41 common = grub-core/partmap/msdos.c;
ce50dbd7 42 common = grub-core/fs/proc.c;
4b2047e2
BC
43};
44
8c411768 45library = {
38631371 46 name = libgrubmods.a;
efa68bfa 47 cflags = '-fno-builtin -Wno-undef';
c029da8a 48 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
8c411768 49
8427685f
BC
50 common_nodist = grub_script.tab.c;
51 common_nodist = grub_script.yy.c;
52 common_nodist = libgrub_a_init.c;
53 common_nodist = grub_script.yy.h;
54 common_nodist = grub_script.tab.h;
55
8427685f 56 common = grub-core/commands/blocklist.c;
3be82e10 57 common = grub-core/commands/xnu_uuid.c;
77ba5392 58 common = grub-core/commands/testload.c;
8427685f
BC
59 common = grub-core/commands/ls.c;
60 common = grub-core/disk/dmraid_nvidia.c;
8427685f
BC
61 common = grub-core/disk/loopback.c;
62 common = grub-core/disk/lvm.c;
63 common = grub-core/disk/mdraid_linux.c;
22e6a774 64 common = grub-core/disk/mdraid_linux_be.c;
1e8d555b 65 common = grub-core/disk/mdraid1x_linux.c;
8427685f
BC
66 common = grub-core/disk/raid5_recover.c;
67 common = grub-core/disk/raid6_recover.c;
a79b8a15
VS
68 common = grub-core/font/font.c;
69 common = grub-core/gfxmenu/font.c;
70 common = grub-core/normal/charset.c;
71 common = grub-core/video/fb/fbblit.c;
72 common = grub-core/video/fb/fbutil.c;
73 common = grub-core/video/fb/fbfill.c;
74 common = grub-core/video/fb/video_fb.c;
75 common = grub-core/video/video.c;
50361660 76 common = grub-core/video/capture.c;
a79b8a15
VS
77 common = grub-core/video/colors.c;
78 common = grub-core/unidata.c;
79 common = grub-core/io/bufio.c;
8427685f 80 common = grub-core/fs/affs.c;
8427685f 81 common = grub-core/fs/afs.c;
5825b379 82 common = grub-core/fs/bfs.c;
4dfbc574 83 common = grub-core/fs/btrfs.c;
5027af38
VS
84 common = grub-core/fs/cbfs.c;
85 common = grub-core/fs/archelp.c;
8427685f 86 common = grub-core/fs/cpio.c;
a1a8b1b9
VS
87 common = grub-core/fs/cpio_be.c;
88 common = grub-core/fs/odc.c;
89 common = grub-core/fs/newc.c;
8427685f
BC
90 common = grub-core/fs/ext2.c;
91 common = grub-core/fs/fat.c;
48fe18dc 92 common = grub-core/fs/exfat.c;
8427685f
BC
93 common = grub-core/fs/fshelp.c;
94 common = grub-core/fs/hfs.c;
95 common = grub-core/fs/hfsplus.c;
8098f655 96 common = grub-core/fs/hfspluscomp.c;
8427685f
BC
97 common = grub-core/fs/iso9660.c;
98 common = grub-core/fs/jfs.c;
99 common = grub-core/fs/minix.c;
b4a0c915 100 common = grub-core/fs/minix2.c;
8fc88523 101 common = grub-core/fs/minix3.c;
ac66b453
VS
102 common = grub-core/fs/minix_be.c;
103 common = grub-core/fs/minix2_be.c;
104 common = grub-core/fs/minix3_be.c;
8427685f
BC
105 common = grub-core/fs/nilfs2.c;
106 common = grub-core/fs/ntfs.c;
107 common = grub-core/fs/ntfscomp.c;
108 common = grub-core/fs/reiserfs.c;
29184e93 109 common = grub-core/fs/romfs.c;
8427685f 110 common = grub-core/fs/sfs.c;
332fa368 111 common = grub-core/fs/squash4.c;
8427685f
BC
112 common = grub-core/fs/tar.c;
113 common = grub-core/fs/udf.c;
114 common = grub-core/fs/ufs2.c;
115 common = grub-core/fs/ufs.c;
d9c48c7b 116 common = grub-core/fs/ufs_be.c;
8427685f 117 common = grub-core/fs/xfs.c;
f003a8c5 118 common = grub-core/fs/zfs/zfscrypt.c;
bf78d5b2 119 common = grub-core/fs/zfs/zfs.c;
fdfde32a 120 common = grub-core/fs/zfs/zfsinfo.c;
bf78d5b2 121 common = grub-core/fs/zfs/zfs_lzjb.c;
038016f4 122 common = grub-core/fs/zfs/zfs_lz4.c;
bf78d5b2
RM
123 common = grub-core/fs/zfs/zfs_sha256.c;
124 common = grub-core/fs/zfs/zfs_fletcher.c;
8427685f
BC
125 common = grub-core/lib/envblk.c;
126 common = grub-core/lib/hexdump.c;
8427685f
BC
127 common = grub-core/lib/LzFind.c;
128 common = grub-core/lib/LzmaEnc.c;
3836e89d 129 common = grub-core/lib/crc.c;
9a8d32a2 130 common = grub-core/lib/adler32.c;
158dc1ea 131 common = grub-core/lib/crc64.c;
8427685f
BC
132 common = grub-core/normal/datetime.c;
133 common = grub-core/normal/misc.c;
134 common = grub-core/partmap/acorn.c;
135 common = grub-core/partmap/amiga.c;
136 common = grub-core/partmap/apple.c;
8427685f 137 common = grub-core/partmap/sun.c;
ac9ef7ee 138 common = grub-core/partmap/plan.c;
fb25a861 139 common = grub-core/partmap/dvh.c;
ad717fae 140 common = grub-core/partmap/sunpc.c;
56a4b23d 141 common = grub-core/partmap/bsdlabel.c;
1e908b34 142 common = grub-core/partmap/dfly.c;
8427685f
BC
143 common = grub-core/script/function.c;
144 common = grub-core/script/lexer.c;
145 common = grub-core/script/main.c;
146 common = grub-core/script/script.c;
147 common = grub-core/script/argv.c;
3be8e5ea 148 common = grub-core/io/gzio.c;
ec543969 149 common = grub-core/io/lzopio.c;
5452733f 150 common = grub-core/kern/ia64/dl_helper.c;
095f077e 151 common = grub-core/lib/minilzo/minilzo.c;
c029da8a
VS
152 common = grub-core/lib/xzembed/xz_dec_bcj.c;
153 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
154 common = grub-core/lib/xzembed/xz_dec_stream.c;
8c411768
BC
155};
156
8c411768
BC
157program = {
158 name = grub-mkimage;
159 mansection = 1;
160
8427685f
BC
161 common = util/grub-mkimage.c;
162 common = util/resolve.c;
6a656b0e 163 common = grub-core/kern/emu/argp_common.c;
c76899a0 164
854f383c 165 common = grub-core/kern/arm/dl_helper.c;
389b31cd 166
a60f6ee1 167 extra_dist = util/grub-mkimagexx.c;
8c411768 168
38631371 169 ldadd = libgrubmods.a;
dcd73ec0 170 ldadd = libgrubgcry.a;
38631371 171 ldadd = libgrubkern.a;
4b2047e2 172 ldadd = grub-core/gnulib/libgnu.a;
2c44e493 173 ldadd = '$(LIBLZMA)';
f4727da9 174 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8151bc82 175 cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
8c411768
BC
176};
177
178program = {
179 name = grub-mkrelpath;
180 mansection = 1;
181
8427685f 182 common = util/grub-mkrelpath.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;
20fd15f9 189 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
190};
191
192program = {
193 name = grub-script-check;
194 mansection = 1;
195
8427685f 196 common = util/grub-script-check.c;
6a656b0e 197 common = grub-core/kern/emu/argp_common.c;
8c411768 198
38631371 199 ldadd = libgrubmods.a;
7efb5c9e 200 ldadd = libgrubgcry.a;
38631371 201 ldadd = libgrubkern.a;
15c69261 202 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 203 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
204};
205
206program = {
207 name = grub-editenv;
208 mansection = 1;
209
8427685f 210 common = util/grub-editenv.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;
f4727da9 216 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
217};
218
219program = {
220 name = grub-mkpasswd-pbkdf2;
221 mansection = 1;
222
8427685f 223 common = util/grub-mkpasswd-pbkdf2.c;
6a656b0e 224 common = grub-core/kern/emu/argp_common.c;
672fa55e 225 common = grub-core/osdep/random.c;
8c411768 226
38631371 227 ldadd = libgrubmods.a;
dcd73ec0 228 ldadd = libgrubgcry.a;
38631371 229 ldadd = libgrubkern.a;
15c69261 230 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 231 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
232};
233
234program = {
235 name = grub-macho2img;
236 mansection = 1;
8427685f 237 common = util/grub-macho2img.c;
911bd640 238 condition = COND_APPLE_CC;
8c411768
BC
239};
240
8c411768
BC
241program = {
242 name = grub-fstest;
243 mansection = 1;
905f7773 244 common_nodist = grub_fstest_init.c;
8427685f 245 common = util/grub-fstest.c;
b6a690ee
CW
246 common = grub-core/kern/emu/hostfs.c;
247 common = grub-core/disk/host.c;
8c411768 248
38631371 249 ldadd = libgrubmods.a;
dcd73ec0 250 ldadd = libgrubgcry.a;
38631371 251 ldadd = libgrubkern.a;
15c69261 252 ldadd = grub-core/gnulib/libgnu.a;
20fd15f9 253 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
254};
255
92bb0786 256program = {
89644ef1 257 name = grub-mount;
92bb0786
VS
258 mansection = 1;
259 common_nodist = grub_fstest_init.c;
89644ef1 260 common = util/grub-mount.c;
92bb0786
VS
261 common = grub-core/kern/emu/hostfs.c;
262 common = grub-core/disk/host.c;
263
264 ldadd = libgrubmods.a;
f1f233ba 265 ldadd = libgrubgcry.a;
92bb0786
VS
266 ldadd = libgrubkern.a;
267 ldadd = grub-core/gnulib/libgnu.a;
794c8c33 268 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
897e6207 269 condition = COND_GRUB_MOUNT;
8c411768
BC
270};
271
272program = {
273 name = grub-mkfont;
274 mansection = 1;
8427685f
BC
275 common = util/grub-mkfont.c;
276 common = grub-core/unidata.c;
6a656b0e 277 common = grub-core/kern/emu/argp_common.c;
7c9d0c39
VS
278 common = grub-core/kern/emu/misc.c;
279 common = util/misc.c;
280 common = grub-core/gnulib/progname.c;
8c411768 281
8c411768 282 cflags = '$(freetype_cflags)';
7c9d0c39 283 cppflags = '-DGRUB_MKFONT=1';
2d465fb0 284
32af299a 285 ldadd = grub-core/gnulib/libgnu.a;
a7363f53 286 ldadd = '$(freetype_libs)';
7c9d0c39 287 ldadd = '$(LIBINTL)';
911bd640 288 condition = COND_GRUB_MKFONT;
8c411768
BC
289};
290
8c411768
BC
291program = {
292 name = grub-probe;
293 installdir = sbin;
294 mansection = 8;
8427685f 295 common = util/grub-probe.c;
6babad5e 296 common = util/ieee1275/ofpath.c;
6a656b0e 297 common = grub-core/kern/emu/argp_common.c;
8c411768 298
38631371 299 ldadd = libgrubmods.a;
dcd73ec0 300 ldadd = libgrubgcry.a;
38631371 301 ldadd = libgrubkern.a;
15c69261 302 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 303 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768
BC
304};
305
306program = {
c36e5cd1 307 name = grub-bios-setup;
8c411768
BC
308 installdir = sbin;
309 mansection = 8;
d2ea4551 310 common = util/grub-setup.c;
6a656b0e 311 common = grub-core/kern/emu/argp_common.c;
419cbeb0 312 common = grub-core/lib/reed_solomon.c;
8c411768 313
38631371
BC
314 ldadd = libgrubmods.a;
315 ldadd = libgrubkern.a;
7efb5c9e 316 ldadd = libgrubgcry.a;
15c69261 317 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 318 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
c36e5cd1
VS
319 cppflags = '-DGRUB_SETUP_BIOS=1';
320};
911bd640 321
c36e5cd1
VS
322program = {
323 name = grub-sparc64-setup;
324 installdir = sbin;
325 mansection = 8;
326 common = util/grub-setup.c;
c36e5cd1
VS
327 common = grub-core/kern/emu/argp_common.c;
328 common = grub-core/lib/reed_solomon.c;
329 common = util/ieee1275/ofpath.c;
330
331 ldadd = libgrubmods.a;
332 ldadd = libgrubkern.a;
333 ldadd = libgrubgcry.a;
334 ldadd = grub-core/gnulib/libgnu.a;
335 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
336 cppflags = '-DGRUB_SETUP_SPARC64=1';
8c411768
BC
337};
338
339program = {
340 name = grub-ofpathname;
341 installdir = sbin;
63e3eea9 342 mansection = 8;
6c21f5d7
VS
343 common = util/ieee1275/grub-ofpathname.c;
344 common = util/ieee1275/ofpath.c;
8c411768 345
38631371 346 ldadd = libgrubmods.a;
7efb5c9e 347 ldadd = libgrubgcry.a;
38631371 348 ldadd = libgrubkern.a;
15c69261 349 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 350 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
8c411768
BC
351};
352
5aaf2c18
VS
353program = {
354 name = grub-mklayout;
355 mansection = 1;
356
357 common = util/grub-mklayout.c;
6a656b0e 358 common = grub-core/kern/emu/argp_common.c;
5aaf2c18 359
38631371 360 ldadd = libgrubmods.a;
7efb5c9e 361 ldadd = libgrubgcry.a;
38631371 362 ldadd = libgrubkern.a;
15c69261 363 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 364 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
5aaf2c18
VS
365};
366
8c411768 367data = {
8427685f 368 common = util/grub.d/README;
8c411768 369 installdir = grubconf;
8c411768
BC
370};
371
372script = {
373 name = '00_header';
8427685f 374 common = util/grub.d/00_header.in;
8c411768 375 installdir = grubconf;
8c411768
BC
376};
377
378script = {
379 name = '10_windows';
8427685f 380 common = util/grub.d/10_windows.in;
8c411768 381 installdir = grubconf;
f7711f5e 382 condition = COND_HOST_WINDOWS;
8c411768
BC
383};
384
385script = {
386 name = '10_hurd';
8427685f 387 common = util/grub.d/10_hurd.in;
8c411768 388 installdir = grubconf;
f7711f5e 389 condition = COND_HOST_HURD;
5815f2c1
BC
390};
391
392script = {
f51c98c4 393 name = '10_kfreebsd';
5815f2c1
BC
394 common = util/grub.d/10_kfreebsd.in;
395 installdir = grubconf;
f7711f5e 396 condition = COND_HOST_KFREEBSD;
5815f2c1
BC
397};
398
958ee221
VS
399script = {
400 name = '10_illumos';
401 common = util/grub.d/10_illumos.in;
402 installdir = grubconf;
403 condition = COND_HOST_ILLUMOS;
404};
405
5815f2c1 406script = {
f51c98c4 407 name = '10_netbsd';
5815f2c1
BC
408 common = util/grub.d/10_netbsd.in;
409 installdir = grubconf;
f7711f5e 410 condition = COND_HOST_NETBSD;
8c411768
BC
411};
412
413script = {
414 name = '10_linux';
8427685f 415 common = util/grub.d/10_linux.in;
8c411768 416 installdir = grubconf;
f7711f5e
BC
417 condition = COND_HOST_LINUX;
418};
419
b105df76
VS
420script = {
421 name = '10_xnu';
422 common = util/grub.d/10_xnu.in;
423 installdir = grubconf;
424 condition = COND_HOST_XNU;
425};
426
f7711f5e
BC
427script = {
428 name = '20_linux_xen';
429 common = util/grub.d/20_linux_xen.in;
430 installdir = grubconf;
431 condition = COND_HOST_LINUX;
8c411768
BC
432};
433
434script = {
435 name = '30_os-prober';
8427685f 436 common = util/grub.d/30_os-prober.in;
8c411768 437 installdir = grubconf;
8c411768
BC
438};
439
440script = {
441 name = '40_custom';
8427685f 442 common = util/grub.d/40_custom.in;
8c411768 443 installdir = grubconf;
8c411768
BC
444};
445
297f0c2b
BC
446script = {
447 name = '41_custom';
8427685f 448 common = util/grub.d/41_custom.in;
297f0c2b 449 installdir = grubconf;
297f0c2b
BC
450};
451
8c411768
BC
452script = {
453 mansection = 1;
454 name = grub-mkrescue;
a79b8a15
VS
455 common = util/grub-install_header;
456 common = util/grub-mkrescue.in;
ab1440bd 457 enable = noemu;
8c411768
BC
458};
459
41aa28ea
VS
460script = {
461 mansection = 1;
462 name = grub-mkstandalone;
aa428238 463 common = util/grub-install_header;
41aa28ea
VS
464 common = util/grub-mkstandalone.in;
465};
466
8c411768
BC
467script = {
468 mansection = 8;
469 installdir = sbin;
470 name = grub-install;
8427685f 471
aa428238 472 common = util/grub-install_header;
6c2111e9 473 common = util/grub-install.in;
eefe8abd 474 enable = noemu;
8c411768
BC
475};
476
8395034b 477script = {
288c757d
CW
478 mansection = 1;
479 installdir = bin;
8395034b
VS
480 name = grub-mknetdir;
481
aa428238 482 common = util/grub-install_header;
8395034b
VS
483 common = util/grub-mknetdir.in;
484};
485
8c411768
BC
486script = {
487 name = grub-mkconfig;
8427685f 488 common = util/grub-mkconfig.in;
8c411768
BC
489 mansection = 8;
490 installdir = sbin;
8c411768
BC
491};
492
493script = {
494 name = grub-set-default;
8427685f 495 common = util/grub-set-default.in;
8c411768
BC
496 mansection = 8;
497 installdir = sbin;
8c411768
BC
498};
499
500script = {
501 name = grub-reboot;
8427685f 502 common = util/grub-reboot.in;
8c411768
BC
503 mansection = 8;
504 installdir = sbin;
8c411768
BC
505};
506
507script = {
508 name = grub-mkconfig_lib;
8427685f 509 common = util/grub-mkconfig_lib.in;
f7711f5e 510 installdir = noinst;
8c411768
BC
511};
512
5aaf2c18
VS
513script = {
514 name = grub-kbdcomp;
515 common = util/grub-kbdcomp.in;
c76899a0 516 mansection = 1;
5aaf2c18
VS
517};
518
911bd640 519script = {
8c411768 520 name = grub-shell;
8427685f 521 common = tests/util/grub-shell.in;
f7711f5e 522 installdir = noinst;
8c411768
BC
523};
524
911bd640 525script = {
8c411768 526 name = grub-shell-tester;
8427685f 527 common = tests/util/grub-shell-tester.in;
f7711f5e 528 installdir = noinst;
8c411768
BC
529};
530
911bd640
BC
531script = {
532 testcase;
8c411768 533 name = example_scripted_test;
8427685f 534 common = tests/example_scripted_test.in;
8c411768
BC
535};
536
43fe02cb
VS
537script = {
538 testcase;
539 name = gettext_strings_test;
540 common = tests/gettext_strings_test.in;
62b15edf 541 extra_dist = po/exclude.pot;
43fe02cb
VS
542};
543
f7457fb2
VS
544script = {
545 testcase;
546 name = pata_test;
547 common = tests/pata_test.in;
548};
549
550script = {
551 testcase;
552 name = ahci_test;
553 common = tests/ahci_test.in;
554};
555
556script = {
557 testcase;
558 name = uhci_test;
559 common = tests/uhci_test.in;
560};
561
562script = {
563 testcase;
564 name = ohci_test;
565 common = tests/ohci_test.in;
566};
567
568script = {
569 testcase;
570 name = ehci_test;
571 common = tests/ehci_test.in;
572};
573
911bd640
BC
574script = {
575 testcase;
8c411768 576 name = example_grub_script_test;
8427685f 577 common = tests/example_grub_script_test.in;
8c411768
BC
578};
579
3d84cb17
VS
580script = {
581 testcase;
582 name = grub_script_eval;
583 common = tests/grub_script_eval.in;
584};
585
daf01d61
VS
586script = {
587 testcase;
588 name = grub_script_test;
589 common = tests/grub_script_test.in;
590};
591
911bd640
BC
592script = {
593 testcase;
8c411768 594 name = grub_script_echo1;
8427685f 595 common = tests/grub_script_echo1.in;
8c411768
BC
596};
597
ac6fd218
VS
598script = {
599 testcase;
600 name = grub_script_leading_whitespace;
601 common = tests/grub_script_leading_whitespace.in;
602};
603
911bd640
BC
604script = {
605 testcase;
8c411768 606 name = grub_script_echo_keywords;
8427685f 607 common = tests/grub_script_echo_keywords.in;
8c411768
BC
608};
609
911bd640
BC
610script = {
611 testcase;
8c411768 612 name = grub_script_vars1;
8427685f 613 common = tests/grub_script_vars1.in;
8c411768
BC
614};
615
911bd640
BC
616script = {
617 testcase;
8c411768 618 name = grub_script_for1;
8427685f 619 common = tests/grub_script_for1.in;
8c411768
BC
620};
621
911bd640
BC
622script = {
623 testcase;
8c411768 624 name = grub_script_while1;
8427685f 625 common = tests/grub_script_while1.in;
8c411768
BC
626};
627
911bd640
BC
628script = {
629 testcase;
8c411768 630 name = grub_script_if;
8427685f 631 common = tests/grub_script_if.in;
8c411768
BC
632};
633
911bd640
BC
634script = {
635 testcase;
8c411768 636 name = grub_script_blanklines;
8427685f 637 common = tests/grub_script_blanklines.in;
8c411768
BC
638};
639
911bd640
BC
640script = {
641 testcase;
8c411768 642 name = grub_script_final_semicolon;
8427685f 643 common = tests/grub_script_final_semicolon.in;
8c411768
BC
644};
645
911bd640
BC
646script = {
647 testcase;
8c411768 648 name = grub_script_dollar;
8427685f 649 common = tests/grub_script_dollar.in;
8c411768
BC
650};
651
911bd640
BC
652script = {
653 testcase;
8c411768 654 name = grub_script_comments;
8427685f 655 common = tests/grub_script_comments.in;
8c411768
BC
656};
657
16c7cb32
BC
658script = {
659 testcase;
660 name = grub_script_functions;
8427685f 661 common = tests/grub_script_functions.in;
16c7cb32
BC
662};
663
664script = {
665 testcase;
666 name = grub_script_break;
8427685f 667 common = tests/grub_script_break.in;
16c7cb32
BC
668};
669
670script = {
671 testcase;
672 name = grub_script_continue;
8427685f 673 common = tests/grub_script_continue.in;
16c7cb32
BC
674};
675
676script = {
677 testcase;
678 name = grub_script_shift;
8427685f 679 common = tests/grub_script_shift.in;
16c7cb32
BC
680};
681
928bad47
BC
682script = {
683 testcase;
684 name = grub_script_blockarg;
685 common = tests/grub_script_blockarg.in;
686};
687
47b4c2c3
BC
688script = {
689 testcase;
690 name = grub_script_setparams;
691 common = tests/grub_script_setparams.in;
692};
693
aa5cd41a
BC
694script = {
695 testcase;
696 name = grub_script_return;
697 common = tests/grub_script_return.in;
698};
699
ab8629d2
BC
700script = {
701 testcase;
702 name = grub_cmd_regexp;
703 common = tests/grub_cmd_regexp.in;
704};
705
e3734b84
VS
706script = {
707 testcase;
708 name = grub_cmd_date;
709 common = tests/grub_cmd_date.in;
710};
711
3f9634e5
VS
712script = {
713 testcase;
714 name = grub_cmd_set_date;
715 common = tests/grub_cmd_set_date.in;
716};
717
718script = {
719 testcase;
720 name = grub_cmd_sleep;
721 common = tests/grub_cmd_sleep.in;
722};
723
8fdefb92
BC
724script = {
725 testcase;
726 name = grub_script_expansion;
727 common = tests/grub_script_expansion.in;
728};
729
1bce65c7
BC
730script = {
731 testcase;
732 name = grub_script_not;
733 common = tests/grub_script_not.in;
734};
735
e639c204
CW
736script = {
737 testcase;
738 name = grub_script_no_commands;
739 common = tests/grub_script_no_commands.in;
740};
741
56672f4a 742script = {
743 testcase;
744 name = partmap_test;
745 common = tests/partmap_test.in;
746};
747
f93e89ef
VS
748script = {
749 testcase;
750 name = hddboot_test;
751 common = tests/hddboot_test.in;
752};
753
754script = {
755 testcase;
756 name = fddboot_test;
757 common = tests/fddboot_test.in;
758};
759
760script = {
761 testcase;
762 name = cdboot_test;
763 common = tests/cdboot_test.in;
764};
765
766script = {
767 testcase;
768 name = netboot_test;
769 common = tests/netboot_test.in;
770};
771
772script = {
773 testcase;
774 name = pseries_test;
775 common = tests/pseries_test.in;
776};
777
e7b8fd08
VS
778script = {
779 testcase;
780 name = core_compress_test;
781 common = tests/core_compress_test.in;
782};
783
f93e89ef
VS
784script = {
785 testcase;
786 name = xzcompress_test;
787 common = tests/xzcompress_test.in;
788};
789
790script = {
791 testcase;
792 name = gzcompress_test;
793 common = tests/gzcompress_test.in;
794};
795
796script = {
797 testcase;
798 name = lzocompress_test;
799 common = tests/lzocompress_test.in;
800};
801
79c93b42
BC
802script = {
803 testcase;
804 name = grub_cmd_echo;
805 common = tests/grub_cmd_echo.in;
806};
807
f7457fb2
VS
808script = {
809 testcase;
810 name = help_test;
811 common = tests/help_test.in;
812};
813
546fbe9b
VS
814script = {
815 testcase;
816 name = grub_script_gettext;
817 common = tests/grub_script_gettext.in;
818};
819
f7457fb2
VS
820script = {
821 testcase;
822 name = grub_script_escape_comma;
823 common = tests/grub_script_escape_comma.in;
824};
825
ce41ab7a
VS
826script = {
827 testcase;
828 name = grub_script_strcmp;
829 common = tests/grub_script_strcmp.in;
830};
831
50361660
VS
832script = {
833 testcase;
834 name = grub_func_test;
835 common = tests/grub_func_test.in;
836};
837
911bd640
BC
838program = {
839 testcase;
8c411768 840 name = example_unit_test;
8427685f
BC
841 common = tests/example_unit_test.c;
842 common = tests/lib/unit_test.c;
843 common = grub-core/kern/list.c;
844 common = grub-core/kern/misc.c;
845 common = grub-core/tests/lib/test.c;
38631371 846 ldadd = libgrubmods.a;
7efb5c9e 847 ldadd = libgrubgcry.a;
38631371 848 ldadd = libgrubkern.a;
dd363028 849 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 850 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 851};
fff175c7 852
12d4f965
VS
853program = {
854 testcase;
855 name = printf_test;
856 common = tests/printf_unit_test.c;
857 common = tests/lib/unit_test.c;
858 common = grub-core/kern/list.c;
859 common = grub-core/kern/misc.c;
860 common = grub-core/tests/lib/test.c;
861 ldadd = libgrubmods.a;
862 ldadd = libgrubgcry.a;
38631371 863 ldadd = libgrubkern.a;
dd363028 864 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 865 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 866};
fff175c7 867
1eed0e6e
VS
868program = {
869 testcase;
870 name = priority_queue_unit_test;
871 common = tests/priority_queue_unit_test.cc;
872 common = tests/lib/unit_test.c;
873 common = grub-core/kern/list.c;
874 common = grub-core/kern/misc.c;
875 common = grub-core/tests/lib/test.c;
876 common = grub-core/lib/priority_queue.c;
877 ldadd = libgrubmods.a;
878 ldadd = libgrubgcry.a;
879 ldadd = libgrubkern.a;
880 ldadd = grub-core/gnulib/libgnu.a;
881 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
882 condition = COND_HAVE_CXX;
883};
884
ce41ab7a
VS
885program = {
886 testcase;
887 name = cmp_test;
888 common = tests/cmp_unit_test.c;
889 common = tests/lib/unit_test.c;
890 common = grub-core/kern/list.c;
891 common = grub-core/kern/misc.c;
892 common = grub-core/tests/lib/test.c;
893 ldadd = libgrubmods.a;
894 ldadd = libgrubgcry.a;
895 ldadd = libgrubkern.a;
896 ldadd = grub-core/gnulib/libgnu.a;
897 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
898};
899
fff175c7
VS
900program = {
901 name = grub-menulst2cfg;
902 mansection = 1;
903 common = util/grub-menulst2cfg.c;
904 common = grub-core/lib/legacy_parse.c;
e31bb619
VS
905 common = grub-core/lib/i386/pc/vesa_modes_table.c;
906
38631371 907 ldadd = libgrubmods.a;
7efb5c9e 908 ldadd = libgrubgcry.a;
38631371 909 ldadd = libgrubkern.a;
15c69261 910 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 911 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
fff175c7 912};
a79b8a15 913
67ab8353
VS
914program = {
915 name = grub-glue-efi;
916 mansection = 1;
917
918 common = util/grub-glue-efi.c;
919 common = grub-core/kern/emu/argp_common.c;
920
921 ldadd = libgrubmods.a;
922 ldadd = libgrubgcry.a;
923 ldadd = libgrubkern.a;
924 ldadd = grub-core/gnulib/libgnu.a;
925 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
926};
927
a79b8a15
VS
928program = {
929 name = grub-render-label;
930 mansection = 1;
931
932 common = util/grub-render-label.c;
933 common = grub-core/kern/emu/argp_common.c;
934 common = grub-core/kern/emu/hostfs.c;
935 common = grub-core/disk/host.c;
936
937 ldadd = libgrubmods.a;
938 ldadd = libgrubgcry.a;
939 ldadd = libgrubkern.a;
940 ldadd = grub-core/gnulib/libgnu.a;
941 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
942};