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