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