]> git.proxmox.com Git - grub2.git/blame - Makefile.util.def
Allow compilation with mingw64 albeit with warnings due to lack of
[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;
c06c7520 320 common = util/setup_bios.c;
6a656b0e 321 common = grub-core/kern/emu/argp_common.c;
419cbeb0 322 common = grub-core/lib/reed_solomon.c;
5a869940
VS
323 common = grub-core/osdep/blocklist.c;
324 extra_dist = grub-core/osdep/generic/blocklist.c;
325 extra_dist = grub-core/osdep/linux/blocklist.c;
326 extra_dist = grub-core/osdep/windows/blocklist.c;
ae5540d3 327 common = grub-core/osdep/init.c;
8c411768 328
38631371
BC
329 ldadd = libgrubmods.a;
330 ldadd = libgrubkern.a;
7efb5c9e 331 ldadd = libgrubgcry.a;
15c69261 332 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 333 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
c06c7520 334 cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
c36e5cd1 335};
911bd640 336
c36e5cd1
VS
337program = {
338 name = grub-sparc64-setup;
339 installdir = sbin;
340 mansection = 8;
341 common = util/grub-setup.c;
c06c7520 342 common = util/setup_sparc.c;
c36e5cd1
VS
343 common = grub-core/kern/emu/argp_common.c;
344 common = grub-core/lib/reed_solomon.c;
9a2c903f 345 common = grub-core/osdep/ofpath.c;
5a869940 346 common = grub-core/osdep/blocklist.c;
ae5540d3 347 common = grub-core/osdep/init.c;
c36e5cd1
VS
348
349 ldadd = libgrubmods.a;
350 ldadd = libgrubkern.a;
351 ldadd = libgrubgcry.a;
352 ldadd = grub-core/gnulib/libgnu.a;
353 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
c06c7520 354 cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
8c411768
BC
355};
356
357program = {
358 name = grub-ofpathname;
359 installdir = sbin;
63e3eea9 360 mansection = 8;
6c21f5d7 361 common = util/ieee1275/grub-ofpathname.c;
9a2c903f 362 common = grub-core/osdep/ofpath.c;
ae5540d3 363 common = grub-core/osdep/init.c;
8c411768 364
38631371 365 ldadd = libgrubmods.a;
7efb5c9e 366 ldadd = libgrubgcry.a;
38631371 367 ldadd = libgrubkern.a;
15c69261 368 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 369 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
8c411768
BC
370};
371
5aaf2c18
VS
372program = {
373 name = grub-mklayout;
374 mansection = 1;
375
376 common = util/grub-mklayout.c;
6a656b0e 377 common = grub-core/kern/emu/argp_common.c;
ae5540d3 378 common = grub-core/osdep/init.c;
5aaf2c18 379
38631371 380 ldadd = libgrubmods.a;
7efb5c9e 381 ldadd = libgrubgcry.a;
38631371 382 ldadd = libgrubkern.a;
15c69261 383 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 384 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
5aaf2c18
VS
385};
386
8c411768 387data = {
8427685f 388 common = util/grub.d/README;
8c411768 389 installdir = grubconf;
8c411768
BC
390};
391
392script = {
393 name = '00_header';
8427685f 394 common = util/grub.d/00_header.in;
8c411768 395 installdir = grubconf;
8c411768
BC
396};
397
398script = {
399 name = '10_windows';
8427685f 400 common = util/grub.d/10_windows.in;
8c411768 401 installdir = grubconf;
f7711f5e 402 condition = COND_HOST_WINDOWS;
8c411768
BC
403};
404
405script = {
406 name = '10_hurd';
8427685f 407 common = util/grub.d/10_hurd.in;
8c411768 408 installdir = grubconf;
f7711f5e 409 condition = COND_HOST_HURD;
5815f2c1
BC
410};
411
412script = {
f51c98c4 413 name = '10_kfreebsd';
5815f2c1
BC
414 common = util/grub.d/10_kfreebsd.in;
415 installdir = grubconf;
f7711f5e 416 condition = COND_HOST_KFREEBSD;
5815f2c1
BC
417};
418
958ee221
VS
419script = {
420 name = '10_illumos';
421 common = util/grub.d/10_illumos.in;
422 installdir = grubconf;
423 condition = COND_HOST_ILLUMOS;
424};
425
5815f2c1 426script = {
f51c98c4 427 name = '10_netbsd';
5815f2c1
BC
428 common = util/grub.d/10_netbsd.in;
429 installdir = grubconf;
f7711f5e 430 condition = COND_HOST_NETBSD;
8c411768
BC
431};
432
433script = {
434 name = '10_linux';
8427685f 435 common = util/grub.d/10_linux.in;
8c411768 436 installdir = grubconf;
f7711f5e
BC
437 condition = COND_HOST_LINUX;
438};
439
b105df76
VS
440script = {
441 name = '10_xnu';
442 common = util/grub.d/10_xnu.in;
443 installdir = grubconf;
444 condition = COND_HOST_XNU;
445};
446
f7711f5e
BC
447script = {
448 name = '20_linux_xen';
449 common = util/grub.d/20_linux_xen.in;
450 installdir = grubconf;
451 condition = COND_HOST_LINUX;
8c411768
BC
452};
453
454script = {
455 name = '30_os-prober';
8427685f 456 common = util/grub.d/30_os-prober.in;
8c411768 457 installdir = grubconf;
8c411768
BC
458};
459
460script = {
461 name = '40_custom';
8427685f 462 common = util/grub.d/40_custom.in;
8c411768 463 installdir = grubconf;
8c411768
BC
464};
465
297f0c2b
BC
466script = {
467 name = '41_custom';
8427685f 468 common = util/grub.d/41_custom.in;
297f0c2b 469 installdir = grubconf;
297f0c2b
BC
470};
471
8c411768
BC
472script = {
473 mansection = 1;
474 name = grub-mkrescue;
a79b8a15
VS
475 common = util/grub-install_header;
476 common = util/grub-mkrescue.in;
ab1440bd 477 enable = noemu;
8c411768
BC
478};
479
41aa28ea
VS
480script = {
481 mansection = 1;
482 name = grub-mkstandalone;
aa428238 483 common = util/grub-install_header;
41aa28ea
VS
484 common = util/grub-mkstandalone.in;
485};
486
8c411768
BC
487script = {
488 mansection = 8;
489 installdir = sbin;
490 name = grub-install;
8427685f 491
aa428238 492 common = util/grub-install_header;
6c2111e9 493 common = util/grub-install.in;
eefe8abd 494 enable = noemu;
8c411768
BC
495};
496
8395034b 497script = {
288c757d
CW
498 mansection = 1;
499 installdir = bin;
8395034b
VS
500 name = grub-mknetdir;
501
aa428238 502 common = util/grub-install_header;
8395034b
VS
503 common = util/grub-mknetdir.in;
504};
505
8c411768
BC
506script = {
507 name = grub-mkconfig;
8427685f 508 common = util/grub-mkconfig.in;
8c411768
BC
509 mansection = 8;
510 installdir = sbin;
8c411768
BC
511};
512
513script = {
514 name = grub-set-default;
8427685f 515 common = util/grub-set-default.in;
8c411768
BC
516 mansection = 8;
517 installdir = sbin;
8c411768
BC
518};
519
520script = {
521 name = grub-reboot;
8427685f 522 common = util/grub-reboot.in;
8c411768
BC
523 mansection = 8;
524 installdir = sbin;
8c411768
BC
525};
526
527script = {
528 name = grub-mkconfig_lib;
8427685f 529 common = util/grub-mkconfig_lib.in;
f7711f5e 530 installdir = noinst;
8c411768
BC
531};
532
5aaf2c18
VS
533script = {
534 name = grub-kbdcomp;
535 common = util/grub-kbdcomp.in;
c76899a0 536 mansection = 1;
5aaf2c18
VS
537};
538
911bd640 539script = {
8c411768 540 name = grub-shell;
8427685f 541 common = tests/util/grub-shell.in;
f7711f5e 542 installdir = noinst;
8c411768
BC
543};
544
911bd640 545script = {
8c411768 546 name = grub-shell-tester;
8427685f 547 common = tests/util/grub-shell-tester.in;
f7711f5e 548 installdir = noinst;
8c411768
BC
549};
550
911bd640
BC
551script = {
552 testcase;
8c411768 553 name = example_scripted_test;
8427685f 554 common = tests/example_scripted_test.in;
8c411768
BC
555};
556
43fe02cb
VS
557script = {
558 testcase;
559 name = gettext_strings_test;
560 common = tests/gettext_strings_test.in;
62b15edf 561 extra_dist = po/exclude.pot;
43fe02cb
VS
562};
563
f7457fb2
VS
564script = {
565 testcase;
566 name = pata_test;
567 common = tests/pata_test.in;
568};
569
570script = {
571 testcase;
572 name = ahci_test;
573 common = tests/ahci_test.in;
574};
575
576script = {
577 testcase;
578 name = uhci_test;
579 common = tests/uhci_test.in;
580};
581
582script = {
583 testcase;
584 name = ohci_test;
585 common = tests/ohci_test.in;
586};
587
588script = {
589 testcase;
590 name = ehci_test;
591 common = tests/ehci_test.in;
592};
593
911bd640
BC
594script = {
595 testcase;
8c411768 596 name = example_grub_script_test;
8427685f 597 common = tests/example_grub_script_test.in;
8c411768
BC
598};
599
3d84cb17
VS
600script = {
601 testcase;
602 name = grub_script_eval;
603 common = tests/grub_script_eval.in;
604};
605
daf01d61
VS
606script = {
607 testcase;
608 name = grub_script_test;
609 common = tests/grub_script_test.in;
610};
611
911bd640
BC
612script = {
613 testcase;
8c411768 614 name = grub_script_echo1;
8427685f 615 common = tests/grub_script_echo1.in;
8c411768
BC
616};
617
ac6fd218
VS
618script = {
619 testcase;
620 name = grub_script_leading_whitespace;
621 common = tests/grub_script_leading_whitespace.in;
622};
623
911bd640
BC
624script = {
625 testcase;
8c411768 626 name = grub_script_echo_keywords;
8427685f 627 common = tests/grub_script_echo_keywords.in;
8c411768
BC
628};
629
911bd640
BC
630script = {
631 testcase;
8c411768 632 name = grub_script_vars1;
8427685f 633 common = tests/grub_script_vars1.in;
8c411768
BC
634};
635
911bd640
BC
636script = {
637 testcase;
8c411768 638 name = grub_script_for1;
8427685f 639 common = tests/grub_script_for1.in;
8c411768
BC
640};
641
911bd640
BC
642script = {
643 testcase;
8c411768 644 name = grub_script_while1;
8427685f 645 common = tests/grub_script_while1.in;
8c411768
BC
646};
647
911bd640
BC
648script = {
649 testcase;
8c411768 650 name = grub_script_if;
8427685f 651 common = tests/grub_script_if.in;
8c411768
BC
652};
653
911bd640
BC
654script = {
655 testcase;
8c411768 656 name = grub_script_blanklines;
8427685f 657 common = tests/grub_script_blanklines.in;
8c411768
BC
658};
659
911bd640
BC
660script = {
661 testcase;
8c411768 662 name = grub_script_final_semicolon;
8427685f 663 common = tests/grub_script_final_semicolon.in;
8c411768
BC
664};
665
911bd640
BC
666script = {
667 testcase;
8c411768 668 name = grub_script_dollar;
8427685f 669 common = tests/grub_script_dollar.in;
8c411768
BC
670};
671
911bd640
BC
672script = {
673 testcase;
8c411768 674 name = grub_script_comments;
8427685f 675 common = tests/grub_script_comments.in;
8c411768
BC
676};
677
16c7cb32
BC
678script = {
679 testcase;
680 name = grub_script_functions;
8427685f 681 common = tests/grub_script_functions.in;
16c7cb32
BC
682};
683
684script = {
685 testcase;
686 name = grub_script_break;
8427685f 687 common = tests/grub_script_break.in;
16c7cb32
BC
688};
689
690script = {
691 testcase;
692 name = grub_script_continue;
8427685f 693 common = tests/grub_script_continue.in;
16c7cb32
BC
694};
695
696script = {
697 testcase;
698 name = grub_script_shift;
8427685f 699 common = tests/grub_script_shift.in;
16c7cb32
BC
700};
701
928bad47
BC
702script = {
703 testcase;
704 name = grub_script_blockarg;
705 common = tests/grub_script_blockarg.in;
706};
707
47b4c2c3
BC
708script = {
709 testcase;
710 name = grub_script_setparams;
711 common = tests/grub_script_setparams.in;
712};
713
aa5cd41a
BC
714script = {
715 testcase;
716 name = grub_script_return;
717 common = tests/grub_script_return.in;
718};
719
ab8629d2
BC
720script = {
721 testcase;
722 name = grub_cmd_regexp;
723 common = tests/grub_cmd_regexp.in;
724};
725
e3734b84
VS
726script = {
727 testcase;
728 name = grub_cmd_date;
729 common = tests/grub_cmd_date.in;
730};
731
3f9634e5
VS
732script = {
733 testcase;
734 name = grub_cmd_set_date;
735 common = tests/grub_cmd_set_date.in;
736};
737
738script = {
739 testcase;
740 name = grub_cmd_sleep;
741 common = tests/grub_cmd_sleep.in;
742};
743
8fdefb92
BC
744script = {
745 testcase;
746 name = grub_script_expansion;
747 common = tests/grub_script_expansion.in;
748};
749
1bce65c7
BC
750script = {
751 testcase;
752 name = grub_script_not;
753 common = tests/grub_script_not.in;
754};
755
e639c204
CW
756script = {
757 testcase;
758 name = grub_script_no_commands;
759 common = tests/grub_script_no_commands.in;
760};
761
56672f4a 762script = {
763 testcase;
764 name = partmap_test;
765 common = tests/partmap_test.in;
766};
767
f93e89ef
VS
768script = {
769 testcase;
770 name = hddboot_test;
771 common = tests/hddboot_test.in;
772};
773
774script = {
775 testcase;
776 name = fddboot_test;
777 common = tests/fddboot_test.in;
778};
779
780script = {
781 testcase;
782 name = cdboot_test;
783 common = tests/cdboot_test.in;
784};
785
786script = {
787 testcase;
788 name = netboot_test;
789 common = tests/netboot_test.in;
790};
791
792script = {
793 testcase;
794 name = pseries_test;
795 common = tests/pseries_test.in;
796};
797
e7b8fd08
VS
798script = {
799 testcase;
800 name = core_compress_test;
801 common = tests/core_compress_test.in;
802};
803
f93e89ef
VS
804script = {
805 testcase;
806 name = xzcompress_test;
807 common = tests/xzcompress_test.in;
808};
809
810script = {
811 testcase;
812 name = gzcompress_test;
813 common = tests/gzcompress_test.in;
814};
815
816script = {
817 testcase;
818 name = lzocompress_test;
819 common = tests/lzocompress_test.in;
820};
821
79c93b42
BC
822script = {
823 testcase;
824 name = grub_cmd_echo;
825 common = tests/grub_cmd_echo.in;
826};
827
f7457fb2
VS
828script = {
829 testcase;
830 name = help_test;
831 common = tests/help_test.in;
832};
833
546fbe9b
VS
834script = {
835 testcase;
836 name = grub_script_gettext;
837 common = tests/grub_script_gettext.in;
838};
839
f7457fb2
VS
840script = {
841 testcase;
842 name = grub_script_escape_comma;
843 common = tests/grub_script_escape_comma.in;
844};
845
ce41ab7a
VS
846script = {
847 testcase;
848 name = grub_script_strcmp;
849 common = tests/grub_script_strcmp.in;
850};
851
50361660
VS
852script = {
853 testcase;
854 name = grub_func_test;
855 common = tests/grub_func_test.in;
856};
857
911bd640
BC
858program = {
859 testcase;
8c411768 860 name = example_unit_test;
8427685f
BC
861 common = tests/example_unit_test.c;
862 common = tests/lib/unit_test.c;
863 common = grub-core/kern/list.c;
864 common = grub-core/kern/misc.c;
865 common = grub-core/tests/lib/test.c;
38631371 866 ldadd = libgrubmods.a;
7efb5c9e 867 ldadd = libgrubgcry.a;
38631371 868 ldadd = libgrubkern.a;
dd363028 869 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 870 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 871};
fff175c7 872
12d4f965
VS
873program = {
874 testcase;
875 name = printf_test;
876 common = tests/printf_unit_test.c;
877 common = tests/lib/unit_test.c;
878 common = grub-core/kern/list.c;
879 common = grub-core/kern/misc.c;
880 common = grub-core/tests/lib/test.c;
881 ldadd = libgrubmods.a;
882 ldadd = libgrubgcry.a;
38631371 883 ldadd = libgrubkern.a;
dd363028 884 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 885 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
8c411768 886};
fff175c7 887
1eed0e6e
VS
888program = {
889 testcase;
890 name = priority_queue_unit_test;
891 common = tests/priority_queue_unit_test.cc;
892 common = tests/lib/unit_test.c;
893 common = grub-core/kern/list.c;
894 common = grub-core/kern/misc.c;
895 common = grub-core/tests/lib/test.c;
896 common = grub-core/lib/priority_queue.c;
897 ldadd = libgrubmods.a;
898 ldadd = libgrubgcry.a;
899 ldadd = libgrubkern.a;
900 ldadd = grub-core/gnulib/libgnu.a;
901 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
902 condition = COND_HAVE_CXX;
903};
904
ce41ab7a
VS
905program = {
906 testcase;
907 name = cmp_test;
908 common = tests/cmp_unit_test.c;
909 common = tests/lib/unit_test.c;
910 common = grub-core/kern/list.c;
911 common = grub-core/kern/misc.c;
912 common = grub-core/tests/lib/test.c;
913 ldadd = libgrubmods.a;
914 ldadd = libgrubgcry.a;
915 ldadd = libgrubkern.a;
916 ldadd = grub-core/gnulib/libgnu.a;
917 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
918};
919
fff175c7
VS
920program = {
921 name = grub-menulst2cfg;
922 mansection = 1;
923 common = util/grub-menulst2cfg.c;
924 common = grub-core/lib/legacy_parse.c;
e31bb619 925 common = grub-core/lib/i386/pc/vesa_modes_table.c;
ae5540d3 926 common = grub-core/osdep/init.c;
e31bb619 927
38631371 928 ldadd = libgrubmods.a;
7efb5c9e 929 ldadd = libgrubgcry.a;
38631371 930 ldadd = libgrubkern.a;
15c69261 931 ldadd = grub-core/gnulib/libgnu.a;
f4727da9 932 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
fff175c7 933};
a79b8a15 934
67ab8353
VS
935program = {
936 name = grub-glue-efi;
937 mansection = 1;
938
939 common = util/grub-glue-efi.c;
940 common = grub-core/kern/emu/argp_common.c;
ae5540d3 941 common = grub-core/osdep/init.c;
67ab8353
VS
942
943 ldadd = libgrubmods.a;
944 ldadd = libgrubgcry.a;
945 ldadd = libgrubkern.a;
946 ldadd = grub-core/gnulib/libgnu.a;
947 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
948};
949
a79b8a15
VS
950program = {
951 name = grub-render-label;
952 mansection = 1;
953
954 common = util/grub-render-label.c;
955 common = grub-core/kern/emu/argp_common.c;
956 common = grub-core/kern/emu/hostfs.c;
957 common = grub-core/disk/host.c;
ae5540d3 958 common = grub-core/osdep/init.c;
a79b8a15
VS
959
960 ldadd = libgrubmods.a;
961 ldadd = libgrubgcry.a;
962 ldadd = libgrubkern.a;
963 ldadd = grub-core/gnulib/libgnu.a;
964 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
965};