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