]> git.proxmox.com Git - grub2.git/blob - Makefile.util.def
xfs: Accept filesystem with sparse inodes
[grub2.git] / Makefile.util.def
1 AutoGen definitions Makefile.tpl;
2
3 library = {
4 name = libgrubkern.a;
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB)';
7
8 common = util/misc.c;
9 common = grub-core/kern/command.c;
10 common = grub-core/kern/device.c;
11 common = grub-core/kern/disk.c;
12 common = grub-core/lib/disk.c;
13 common = util/getroot.c;
14 common = grub-core/osdep/unix/getroot.c;
15 common = grub-core/osdep/getroot.c;
16 common = grub-core/osdep/devmapper/getroot.c;
17 common = grub-core/osdep/relpath.c;
18 extra_dist = grub-core/kern/disk_common.c;
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;
22 common = grub-core/kern/emu/hostdisk.c;
23 common = grub-core/osdep/devmapper/hostdisk.c;
24 common = grub-core/osdep/hostdisk.c;
25 common = grub-core/osdep/unix/hostdisk.c;
26 common = grub-core/osdep/exec.c;
27 common = grub-core/osdep/sleep.c;
28 common = grub-core/osdep/password.c;
29 common = grub-core/kern/emu/misc.c;
30 common = grub-core/kern/emu/mm.c;
31 common = grub-core/kern/env.c;
32 common = grub-core/kern/err.c;
33 common = grub-core/kern/file.c;
34 common = grub-core/kern/fs.c;
35 common = grub-core/kern/list.c;
36 common = grub-core/kern/misc.c;
37 common = grub-core/kern/partition.c;
38 common = grub-core/lib/crypto.c;
39 common = grub-core/disk/luks.c;
40 common = grub-core/disk/geli.c;
41 common = grub-core/disk/cryptodisk.c;
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;
46 common = grub-core/disk/ldm.c;
47 common = grub-core/disk/diskfilter.c;
48 common = grub-core/partmap/gpt.c;
49 common = grub-core/partmap/msdos.c;
50 common = grub-core/fs/proc.c;
51 common = grub-core/fs/archelp.c;
52 };
53
54 library = {
55 name = libgrubmods.a;
56 cflags = '-fno-builtin -Wno-undef';
57 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
58
59 common_nodist = grub_script.tab.c;
60 common_nodist = grub_script.yy.c;
61 common_nodist = libgrub_a_init.c;
62 common_nodist = grub_script.yy.h;
63 common_nodist = grub_script.tab.h;
64
65 common = grub-core/commands/blocklist.c;
66 common = grub-core/commands/macbless.c;
67 common = grub-core/commands/xnu_uuid.c;
68 common = grub-core/commands/testload.c;
69 common = grub-core/commands/ls.c;
70 common = grub-core/disk/dmraid_nvidia.c;
71 common = grub-core/disk/loopback.c;
72 common = grub-core/disk/lvm.c;
73 common = grub-core/disk/mdraid_linux.c;
74 common = grub-core/disk/mdraid_linux_be.c;
75 common = grub-core/disk/mdraid1x_linux.c;
76 common = grub-core/disk/raid5_recover.c;
77 common = grub-core/disk/raid6_recover.c;
78 common = grub-core/font/font.c;
79 common = grub-core/gfxmenu/font.c;
80 common = grub-core/normal/charset.c;
81 common = grub-core/video/fb/fbblit.c;
82 common = grub-core/video/fb/fbutil.c;
83 common = grub-core/video/fb/fbfill.c;
84 common = grub-core/video/fb/video_fb.c;
85 common = grub-core/video/video.c;
86 common = grub-core/video/capture.c;
87 common = grub-core/video/colors.c;
88 common = grub-core/unidata.c;
89 common = grub-core/io/bufio.c;
90 common = grub-core/fs/affs.c;
91 common = grub-core/fs/afs.c;
92 common = grub-core/fs/bfs.c;
93 common = grub-core/fs/btrfs.c;
94 common = grub-core/fs/cbfs.c;
95 common = grub-core/fs/cpio.c;
96 common = grub-core/fs/cpio_be.c;
97 common = grub-core/fs/odc.c;
98 common = grub-core/fs/newc.c;
99 common = grub-core/fs/ext2.c;
100 common = grub-core/fs/fat.c;
101 common = grub-core/fs/exfat.c;
102 common = grub-core/fs/f2fs.c;
103 common = grub-core/fs/fshelp.c;
104 common = grub-core/fs/hfs.c;
105 common = grub-core/fs/hfsplus.c;
106 common = grub-core/fs/hfspluscomp.c;
107 common = grub-core/fs/iso9660.c;
108 common = grub-core/fs/jfs.c;
109 common = grub-core/fs/minix.c;
110 common = grub-core/fs/minix2.c;
111 common = grub-core/fs/minix3.c;
112 common = grub-core/fs/minix_be.c;
113 common = grub-core/fs/minix2_be.c;
114 common = grub-core/fs/minix3_be.c;
115 common = grub-core/fs/nilfs2.c;
116 common = grub-core/fs/ntfs.c;
117 common = grub-core/fs/ntfscomp.c;
118 common = grub-core/fs/reiserfs.c;
119 common = grub-core/fs/romfs.c;
120 common = grub-core/fs/sfs.c;
121 common = grub-core/fs/squash4.c;
122 common = grub-core/fs/tar.c;
123 common = grub-core/fs/udf.c;
124 common = grub-core/fs/ufs2.c;
125 common = grub-core/fs/ufs.c;
126 common = grub-core/fs/ufs_be.c;
127 common = grub-core/fs/xfs.c;
128 common = grub-core/fs/zfs/zfscrypt.c;
129 common = grub-core/fs/zfs/zfs.c;
130 common = grub-core/fs/zfs/zfsinfo.c;
131 common = grub-core/fs/zfs/zfs_lzjb.c;
132 common = grub-core/fs/zfs/zfs_lz4.c;
133 common = grub-core/fs/zfs/zfs_sha256.c;
134 common = grub-core/fs/zfs/zfs_fletcher.c;
135 common = grub-core/lib/envblk.c;
136 common = grub-core/lib/hexdump.c;
137 common = grub-core/lib/LzFind.c;
138 common = grub-core/lib/LzmaEnc.c;
139 common = grub-core/lib/crc.c;
140 common = grub-core/lib/adler32.c;
141 common = grub-core/lib/crc64.c;
142 common = grub-core/normal/datetime.c;
143 common = grub-core/normal/misc.c;
144 common = grub-core/partmap/acorn.c;
145 common = grub-core/partmap/amiga.c;
146 common = grub-core/partmap/apple.c;
147 common = grub-core/partmap/sun.c;
148 common = grub-core/partmap/plan.c;
149 common = grub-core/partmap/dvh.c;
150 common = grub-core/partmap/sunpc.c;
151 common = grub-core/partmap/bsdlabel.c;
152 common = grub-core/partmap/dfly.c;
153 common = grub-core/script/function.c;
154 common = grub-core/script/lexer.c;
155 common = grub-core/script/main.c;
156 common = grub-core/script/script.c;
157 common = grub-core/script/argv.c;
158 common = grub-core/io/gzio.c;
159 common = grub-core/io/xzio.c;
160 common = grub-core/io/lzopio.c;
161 common = grub-core/kern/ia64/dl_helper.c;
162 common = grub-core/kern/arm/dl_helper.c;
163 common = grub-core/kern/arm64/dl_helper.c;
164 common = grub-core/lib/minilzo/minilzo.c;
165 common = grub-core/lib/xzembed/xz_dec_bcj.c;
166 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
167 common = grub-core/lib/xzembed/xz_dec_stream.c;
168 };
169
170 program = {
171 name = grub-mkimage;
172 mansection = 1;
173
174 common = util/grub-mkimage.c;
175 common = util/mkimage.c;
176 common = util/grub-mkimage32.c;
177 common = util/grub-mkimage64.c;
178 common = util/resolve.c;
179 common = grub-core/kern/emu/argp_common.c;
180 common = grub-core/osdep/init.c;
181 common = grub-core/osdep/config.c;
182 extra_dist = grub-core/osdep/aros/config.c;
183 extra_dist = grub-core/osdep/windows/config.c;
184 extra_dist = grub-core/osdep/unix/config.c;
185 common = util/config.c;
186
187 extra_dist = util/grub-mkimagexx.c;
188
189 ldadd = libgrubmods.a;
190 ldadd = libgrubgcry.a;
191 ldadd = libgrubkern.a;
192 ldadd = grub-core/gnulib/libgnu.a;
193 ldadd = '$(LIBLZMA)';
194 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
195 cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
196 };
197
198 program = {
199 name = grub-mkrelpath;
200 mansection = 1;
201
202 common = util/grub-mkrelpath.c;
203 common = grub-core/kern/emu/argp_common.c;
204 common = grub-core/osdep/init.c;
205
206 ldadd = libgrubmods.a;
207 ldadd = libgrubgcry.a;
208 ldadd = libgrubkern.a;
209 ldadd = grub-core/gnulib/libgnu.a;
210 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
211 };
212
213 program = {
214 name = grub-script-check;
215 mansection = 1;
216
217 common = util/grub-script-check.c;
218 common = grub-core/kern/emu/argp_common.c;
219 common = grub-core/osdep/init.c;
220
221 ldadd = libgrubmods.a;
222 ldadd = libgrubgcry.a;
223 ldadd = libgrubkern.a;
224 ldadd = grub-core/gnulib/libgnu.a;
225 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
226 };
227
228 program = {
229 name = grub-editenv;
230 mansection = 1;
231
232 common = util/grub-editenv.c;
233 common = util/editenv.c;
234 common = grub-core/osdep/init.c;
235
236 ldadd = libgrubmods.a;
237 ldadd = libgrubgcry.a;
238 ldadd = libgrubkern.a;
239 ldadd = grub-core/gnulib/libgnu.a;
240 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
241 };
242
243 program = {
244 name = grub-mkpasswd-pbkdf2;
245 mansection = 1;
246
247 common = util/grub-mkpasswd-pbkdf2.c;
248 common = grub-core/kern/emu/argp_common.c;
249 common = grub-core/osdep/random.c;
250 common = grub-core/osdep/init.c;
251
252 ldadd = libgrubmods.a;
253 ldadd = libgrubgcry.a;
254 ldadd = libgrubkern.a;
255 ldadd = grub-core/gnulib/libgnu.a;
256 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
257 };
258
259 program = {
260 name = grub-macho2img;
261 mansection = 1;
262 common = util/grub-macho2img.c;
263 condition = COND_APPLE_LINKER;
264 };
265
266 program = {
267 name = grub-fstest;
268 mansection = 1;
269 common_nodist = grub_fstest_init.c;
270 common = util/grub-fstest.c;
271 common = grub-core/kern/emu/hostfs.c;
272 common = grub-core/disk/host.c;
273 common = grub-core/osdep/init.c;
274
275 ldadd = libgrubmods.a;
276 ldadd = libgrubgcry.a;
277 ldadd = libgrubkern.a;
278 ldadd = grub-core/gnulib/libgnu.a;
279 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
280 };
281
282 program = {
283 name = grub-mount;
284 mansection = 1;
285 common_nodist = grub_fstest_init.c;
286 common = util/grub-mount.c;
287 common = grub-core/kern/emu/hostfs.c;
288 common = grub-core/disk/host.c;
289 common = grub-core/osdep/init.c;
290
291 ldadd = libgrubmods.a;
292 ldadd = libgrubgcry.a;
293 ldadd = libgrubkern.a;
294 ldadd = grub-core/gnulib/libgnu.a;
295 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
296 condition = COND_GRUB_MOUNT;
297 };
298
299 program = {
300 name = grub-mkfont;
301 mansection = 1;
302 common = util/grub-mkfont.c;
303 common = grub-core/kern/emu/argp_common.c;
304 common = grub-core/osdep/init.c;
305
306 cflags = '$(freetype_cflags)';
307 cppflags = '-DGRUB_MKFONT=1';
308
309 ldadd = libgrubmods.a;
310 ldadd = libgrubgcry.a;
311 ldadd = libgrubkern.a;
312 ldadd = grub-core/gnulib/libgnu.a;
313 ldadd = '$(freetype_libs)';
314 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
315 condition = COND_GRUB_MKFONT;
316 };
317
318 program = {
319 name = grub-probe;
320 installdir = sbin;
321 mansection = 8;
322 common = util/grub-probe.c;
323 common = util/probe.c;
324 common = grub-core/osdep/ofpath.c;
325 common = grub-core/kern/emu/argp_common.c;
326 common = grub-core/osdep/init.c;
327
328 ldadd = libgrubmods.a;
329 ldadd = libgrubgcry.a;
330 ldadd = libgrubkern.a;
331 ldadd = grub-core/gnulib/libgnu.a;
332 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
333 };
334
335 program = {
336 name = grub-bios-setup;
337 installdir = sbin;
338 mansection = 8;
339 common = util/grub-setup.c;
340 common = util/setup_bios.c;
341 extra_dist = util/setup.c;
342 common = grub-core/kern/emu/argp_common.c;
343 common = grub-core/lib/reed_solomon.c;
344 common = grub-core/osdep/blocklist.c;
345 extra_dist = grub-core/osdep/generic/blocklist.c;
346 extra_dist = grub-core/osdep/linux/blocklist.c;
347 extra_dist = grub-core/osdep/windows/blocklist.c;
348 common = grub-core/osdep/init.c;
349
350 ldadd = libgrubmods.a;
351 ldadd = libgrubkern.a;
352 ldadd = libgrubgcry.a;
353 ldadd = grub-core/gnulib/libgnu.a;
354 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
355 cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
356 };
357
358 program = {
359 name = grub-sparc64-setup;
360 installdir = sbin;
361 mansection = 8;
362 common = util/grub-setup.c;
363 common = util/setup_sparc.c;
364 common = grub-core/kern/emu/argp_common.c;
365 common = grub-core/lib/reed_solomon.c;
366 common = grub-core/osdep/ofpath.c;
367 common = grub-core/osdep/blocklist.c;
368 common = grub-core/osdep/init.c;
369
370 ldadd = libgrubmods.a;
371 ldadd = libgrubkern.a;
372 ldadd = libgrubgcry.a;
373 ldadd = grub-core/gnulib/libgnu.a;
374 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
375 cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
376 };
377
378 program = {
379 name = grub-ofpathname;
380 installdir = sbin;
381 mansection = 8;
382 common = util/ieee1275/grub-ofpathname.c;
383 common = grub-core/osdep/ofpath.c;
384 common = grub-core/osdep/init.c;
385
386 ldadd = libgrubmods.a;
387 ldadd = libgrubgcry.a;
388 ldadd = libgrubkern.a;
389 ldadd = grub-core/gnulib/libgnu.a;
390 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
391 };
392
393 program = {
394 name = grub-mklayout;
395 mansection = 1;
396
397 common = util/grub-mklayout.c;
398 common = grub-core/kern/emu/argp_common.c;
399 common = grub-core/osdep/init.c;
400
401 ldadd = libgrubmods.a;
402 ldadd = libgrubgcry.a;
403 ldadd = libgrubkern.a;
404 ldadd = grub-core/gnulib/libgnu.a;
405 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
406 };
407
408 program = {
409 name = grub-macbless;
410 installdir = sbin;
411 mansection = 8;
412 common = util/grub-macbless.c;
413 common = grub-core/osdep/init.c;
414 common = grub-core/kern/emu/argp_common.c;
415
416 ldadd = libgrubmods.a;
417 ldadd = libgrubgcry.a;
418 ldadd = libgrubkern.a;
419 ldadd = grub-core/gnulib/libgnu.a;
420 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
421 };
422
423 data = {
424 common = util/grub.d/README;
425 installdir = grubconf;
426 };
427
428 script = {
429 name = '00_header';
430 common = util/grub.d/00_header.in;
431 installdir = grubconf;
432 };
433
434 script = {
435 name = '10_windows';
436 common = util/grub.d/10_windows.in;
437 installdir = grubconf;
438 condition = COND_HOST_WINDOWS;
439 };
440
441 script = {
442 name = '10_hurd';
443 common = util/grub.d/10_hurd.in;
444 installdir = grubconf;
445 condition = COND_HOST_HURD;
446 };
447
448 script = {
449 name = '10_kfreebsd';
450 common = util/grub.d/10_kfreebsd.in;
451 installdir = grubconf;
452 condition = COND_HOST_KFREEBSD;
453 };
454
455 script = {
456 name = '10_illumos';
457 common = util/grub.d/10_illumos.in;
458 installdir = grubconf;
459 condition = COND_HOST_ILLUMOS;
460 };
461
462 script = {
463 name = '10_netbsd';
464 common = util/grub.d/10_netbsd.in;
465 installdir = grubconf;
466 condition = COND_HOST_NETBSD;
467 };
468
469 script = {
470 name = '10_linux';
471 common = util/grub.d/10_linux.in;
472 installdir = grubconf;
473 condition = COND_HOST_LINUX;
474 };
475
476 script = {
477 name = '10_xnu';
478 common = util/grub.d/10_xnu.in;
479 installdir = grubconf;
480 condition = COND_HOST_XNU;
481 };
482
483 script = {
484 name = '20_linux_xen';
485 common = util/grub.d/20_linux_xen.in;
486 installdir = grubconf;
487 condition = COND_HOST_LINUX;
488 };
489
490 script = {
491 name = '30_os-prober';
492 common = util/grub.d/30_os-prober.in;
493 installdir = grubconf;
494 };
495
496 script = {
497 name = '40_custom';
498 common = util/grub.d/40_custom.in;
499 installdir = grubconf;
500 };
501
502 script = {
503 name = '41_custom';
504 common = util/grub.d/41_custom.in;
505 installdir = grubconf;
506 };
507
508 program = {
509 mansection = 1;
510 name = grub-mkrescue;
511
512 common = util/grub-mkrescue.c;
513 common = util/render-label.c;
514 common = util/glue-efi.c;
515 common = util/mkimage.c;
516 common = util/grub-mkimage32.c;
517 common = util/grub-mkimage64.c;
518 common = util/grub-install-common.c;
519 common = util/setup_bios.c;
520 common = util/setup_sparc.c;
521 common = grub-core/lib/reed_solomon.c;
522 common = grub-core/osdep/random.c;
523 common = grub-core/osdep/ofpath.c;
524 common = grub-core/osdep/platform.c;
525 common = grub-core/osdep/platform_unix.c;
526 common = grub-core/osdep/compress.c;
527 extra_dist = grub-core/osdep/unix/compress.c;
528 extra_dist = grub-core/osdep/basic/compress.c;
529 common = util/editenv.c;
530 common = grub-core/osdep/blocklist.c;
531 common = grub-core/osdep/config.c;
532 common = util/config.c;
533
534 common = grub-core/kern/emu/hostfs.c;
535 common = grub-core/disk/host.c;
536
537 common = util/resolve.c;
538
539 common = grub-core/kern/emu/argp_common.c;
540 common = grub-core/osdep/init.c;
541
542 ldadd = '$(LIBLZMA)';
543 ldadd = libgrubmods.a;
544 ldadd = libgrubgcry.a;
545 ldadd = libgrubkern.a;
546 ldadd = grub-core/gnulib/libgnu.a;
547 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
548
549 condition = COND_HAVE_EXEC;
550 };
551
552 program = {
553 mansection = 1;
554 name = grub-mkstandalone;
555 common = util/grub-mkstandalone.c;
556
557 common = util/render-label.c;
558 common = util/glue-efi.c;
559 common = util/mkimage.c;
560 common = util/grub-mkimage32.c;
561 common = util/grub-mkimage64.c;
562 common = util/grub-install-common.c;
563 common = util/setup_bios.c;
564 common = util/setup_sparc.c;
565 common = grub-core/lib/reed_solomon.c;
566 common = grub-core/osdep/random.c;
567 common = grub-core/osdep/ofpath.c;
568 common = grub-core/osdep/platform.c;
569 common = grub-core/osdep/platform_unix.c;
570 extra_dist = grub-core/osdep/linux/platform.c;
571 extra_dist = grub-core/osdep/windows/platform.c;
572 extra_dist = grub-core/osdep/basic/platform.c;
573 extra_dist = grub-core/osdep/basic/no_platform.c;
574 extra_dist = grub-core/osdep/unix/platform.c;
575 common = grub-core/osdep/compress.c;
576 common = util/editenv.c;
577 common = grub-core/osdep/blocklist.c;
578 common = grub-core/osdep/config.c;
579 common = util/config.c;
580
581 common = grub-core/kern/emu/hostfs.c;
582 common = grub-core/disk/host.c;
583
584 common = util/resolve.c;
585
586 common = grub-core/kern/emu/argp_common.c;
587 common = grub-core/osdep/init.c;
588
589 ldadd = '$(LIBLZMA)';
590 ldadd = libgrubmods.a;
591 ldadd = libgrubgcry.a;
592 ldadd = libgrubkern.a;
593 ldadd = grub-core/gnulib/libgnu.a;
594 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
595 };
596
597 program = {
598 mansection = 8;
599 installdir = sbin;
600 name = grub-install;
601
602 common = util/grub-install.c;
603 common = util/probe.c;
604 common = util/mkimage.c;
605 common = util/grub-mkimage32.c;
606 common = util/grub-mkimage64.c;
607 common = util/grub-install-common.c;
608 common = util/setup_bios.c;
609 common = util/setup_sparc.c;
610 common = grub-core/lib/reed_solomon.c;
611 common = grub-core/osdep/random.c;
612 common = grub-core/osdep/ofpath.c;
613 common = grub-core/osdep/platform.c;
614 common = grub-core/osdep/platform_unix.c;
615 common = grub-core/osdep/compress.c;
616 common = util/editenv.c;
617 common = grub-core/osdep/blocklist.c;
618 common = grub-core/osdep/config.c;
619 common = util/config.c;
620 common = util/render-label.c;
621 common = grub-core/kern/emu/hostfs.c;
622 common = grub-core/disk/host.c;
623
624 common = util/resolve.c;
625 common = grub-core/kern/emu/argp_common.c;
626 common = grub-core/osdep/init.c;
627
628 ldadd = '$(LIBLZMA)';
629 ldadd = libgrubmods.a;
630 ldadd = libgrubgcry.a;
631 ldadd = libgrubkern.a;
632 ldadd = grub-core/gnulib/libgnu.a;
633 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
634 };
635
636 program = {
637 mansection = 1;
638 installdir = bin;
639 name = grub-mknetdir;
640
641 common = util/grub-mknetdir.c;
642
643 common = util/mkimage.c;
644 common = util/grub-mkimage32.c;
645 common = util/grub-mkimage64.c;
646 common = util/grub-install-common.c;
647 common = util/setup_bios.c;
648 common = util/setup_sparc.c;
649 common = grub-core/lib/reed_solomon.c;
650 common = grub-core/osdep/random.c;
651 common = grub-core/osdep/ofpath.c;
652 common = grub-core/osdep/platform.c;
653 common = grub-core/osdep/platform_unix.c;
654 common = grub-core/osdep/compress.c;
655 common = util/editenv.c;
656 common = grub-core/osdep/blocklist.c;
657 common = grub-core/osdep/config.c;
658 common = util/config.c;
659
660 common = util/resolve.c;
661 common = grub-core/kern/emu/argp_common.c;
662 common = grub-core/osdep/init.c;
663
664 ldadd = '$(LIBLZMA)';
665 ldadd = libgrubmods.a;
666 ldadd = libgrubgcry.a;
667 ldadd = libgrubkern.a;
668 ldadd = grub-core/gnulib/libgnu.a;
669 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
670 };
671
672 script = {
673 name = grub-mkconfig;
674 common = util/grub-mkconfig.in;
675 mansection = 8;
676 installdir = sbin;
677 };
678
679 script = {
680 name = grub-set-default;
681 common = util/grub-set-default.in;
682 mansection = 8;
683 installdir = sbin;
684 };
685
686 script = {
687 name = grub-reboot;
688 common = util/grub-reboot.in;
689 mansection = 8;
690 installdir = sbin;
691 };
692
693 script = {
694 name = grub-mkconfig_lib;
695 common = util/grub-mkconfig_lib.in;
696 installdir = noinst;
697 };
698
699 script = {
700 name = grub-kbdcomp;
701 common = util/grub-kbdcomp.in;
702 mansection = 1;
703 };
704
705 script = {
706 name = grub-shell;
707 common = tests/util/grub-shell.in;
708 installdir = noinst;
709 };
710
711 script = {
712 name = grub-shell-tester;
713 common = tests/util/grub-shell-tester.in;
714 installdir = noinst;
715 };
716
717 script = {
718 name = grub-fs-tester;
719 common = tests/util/grub-fs-tester.in;
720 installdir = noinst;
721 dependencies = 'garbage-gen$(BUILD_EXEEXT)';
722 };
723
724 script = {
725 testcase;
726 name = ext234_test;
727 common = tests/ext234_test.in;
728 };
729
730 script = {
731 testcase;
732 name = squashfs_test;
733 common = tests/squashfs_test.in;
734 };
735
736 script = {
737 testcase;
738 name = iso9660_test;
739 common = tests/iso9660_test.in;
740 };
741
742 script = {
743 testcase;
744 name = hfsplus_test;
745 common = tests/hfsplus_test.in;
746 };
747
748 script = {
749 testcase;
750 name = ntfs_test;
751 common = tests/ntfs_test.in;
752 };
753
754 script = {
755 testcase;
756 name = reiserfs_test;
757 common = tests/reiserfs_test.in;
758 };
759
760 script = {
761 testcase;
762 name = fat_test;
763 common = tests/fat_test.in;
764 };
765
766 script = {
767 testcase;
768 name = minixfs_test;
769 common = tests/minixfs_test.in;
770 };
771
772 script = {
773 testcase;
774 name = xfs_test;
775 common = tests/xfs_test.in;
776 };
777
778 script = {
779 testcase;
780 name = f2fs_test;
781 common = tests/f2fs_test.in;
782 };
783
784 script = {
785 testcase;
786 name = nilfs2_test;
787 common = tests/nilfs2_test.in;
788 };
789
790 script = {
791 testcase;
792 name = romfs_test;
793 common = tests/romfs_test.in;
794 };
795
796 script = {
797 testcase;
798 name = exfat_test;
799 common = tests/exfat_test.in;
800 };
801
802 script = {
803 testcase;
804 name = tar_test;
805 common = tests/tar_test.in;
806 };
807
808 script = {
809 testcase;
810 name = udf_test;
811 common = tests/udf_test.in;
812 };
813
814 script = {
815 testcase;
816 name = hfs_test;
817 common = tests/hfs_test.in;
818 };
819
820 script = {
821 testcase;
822 name = jfs_test;
823 common = tests/jfs_test.in;
824 };
825
826 script = {
827 testcase;
828 name = btrfs_test;
829 common = tests/btrfs_test.in;
830 };
831
832 script = {
833 testcase;
834 name = zfs_test;
835 common = tests/zfs_test.in;
836 };
837
838 script = {
839 testcase;
840 name = cpio_test;
841 common = tests/cpio_test.in;
842 };
843
844 script = {
845 testcase;
846 name = example_scripted_test;
847 common = tests/example_scripted_test.in;
848 };
849
850 script = {
851 testcase;
852 name = gettext_strings_test;
853 common = tests/gettext_strings_test.in;
854 extra_dist = po/exclude.pot;
855 };
856
857 script = {
858 testcase;
859 name = pata_test;
860 common = tests/pata_test.in;
861 };
862
863 script = {
864 testcase;
865 name = ahci_test;
866 common = tests/ahci_test.in;
867 };
868
869 script = {
870 testcase;
871 name = uhci_test;
872 common = tests/uhci_test.in;
873 };
874
875 script = {
876 testcase;
877 name = ohci_test;
878 common = tests/ohci_test.in;
879 };
880
881 script = {
882 testcase;
883 name = ehci_test;
884 common = tests/ehci_test.in;
885 };
886
887 script = {
888 testcase;
889 name = example_grub_script_test;
890 common = tests/example_grub_script_test.in;
891 };
892
893 script = {
894 testcase;
895 name = grub_script_eval;
896 common = tests/grub_script_eval.in;
897 };
898
899 script = {
900 testcase;
901 name = grub_script_test;
902 common = tests/grub_script_test.in;
903 };
904
905 script = {
906 testcase;
907 name = grub_script_echo1;
908 common = tests/grub_script_echo1.in;
909 };
910
911 script = {
912 testcase;
913 name = grub_script_leading_whitespace;
914 common = tests/grub_script_leading_whitespace.in;
915 };
916
917 script = {
918 testcase;
919 name = grub_script_echo_keywords;
920 common = tests/grub_script_echo_keywords.in;
921 };
922
923 script = {
924 testcase;
925 name = grub_script_vars1;
926 common = tests/grub_script_vars1.in;
927 };
928
929 script = {
930 testcase;
931 name = grub_script_for1;
932 common = tests/grub_script_for1.in;
933 };
934
935 script = {
936 testcase;
937 name = grub_script_while1;
938 common = tests/grub_script_while1.in;
939 };
940
941 script = {
942 testcase;
943 name = grub_script_if;
944 common = tests/grub_script_if.in;
945 };
946
947 script = {
948 testcase;
949 name = grub_script_blanklines;
950 common = tests/grub_script_blanklines.in;
951 };
952
953 script = {
954 testcase;
955 name = grub_script_final_semicolon;
956 common = tests/grub_script_final_semicolon.in;
957 };
958
959 script = {
960 testcase;
961 name = grub_script_dollar;
962 common = tests/grub_script_dollar.in;
963 };
964
965 script = {
966 testcase;
967 name = grub_script_comments;
968 common = tests/grub_script_comments.in;
969 };
970
971 script = {
972 testcase;
973 name = grub_script_functions;
974 common = tests/grub_script_functions.in;
975 };
976
977 script = {
978 testcase;
979 name = grub_script_break;
980 common = tests/grub_script_break.in;
981 };
982
983 script = {
984 testcase;
985 name = grub_script_continue;
986 common = tests/grub_script_continue.in;
987 };
988
989 script = {
990 testcase;
991 name = grub_script_shift;
992 common = tests/grub_script_shift.in;
993 };
994
995 script = {
996 testcase;
997 name = grub_script_blockarg;
998 common = tests/grub_script_blockarg.in;
999 };
1000
1001 script = {
1002 testcase;
1003 name = grub_script_setparams;
1004 common = tests/grub_script_setparams.in;
1005 };
1006
1007 script = {
1008 testcase;
1009 name = grub_script_return;
1010 common = tests/grub_script_return.in;
1011 };
1012
1013 script = {
1014 testcase;
1015 name = grub_cmd_regexp;
1016 common = tests/grub_cmd_regexp.in;
1017 };
1018
1019 script = {
1020 testcase;
1021 name = grub_cmd_date;
1022 common = tests/grub_cmd_date.in;
1023 };
1024
1025 script = {
1026 testcase;
1027 name = grub_cmd_set_date;
1028 common = tests/grub_cmd_set_date.in;
1029 };
1030
1031 script = {
1032 testcase;
1033 name = grub_cmd_sleep;
1034 common = tests/grub_cmd_sleep.in;
1035 };
1036
1037 script = {
1038 testcase;
1039 name = grub_script_expansion;
1040 common = tests/grub_script_expansion.in;
1041 };
1042
1043 script = {
1044 testcase;
1045 name = grub_script_not;
1046 common = tests/grub_script_not.in;
1047 };
1048
1049 script = {
1050 testcase;
1051 name = grub_script_no_commands;
1052 common = tests/grub_script_no_commands.in;
1053 };
1054
1055 script = {
1056 testcase;
1057 name = partmap_test;
1058 common = tests/partmap_test.in;
1059 };
1060
1061 script = {
1062 testcase;
1063 name = hddboot_test;
1064 common = tests/hddboot_test.in;
1065 };
1066
1067 script = {
1068 testcase;
1069 name = fddboot_test;
1070 common = tests/fddboot_test.in;
1071 };
1072
1073 script = {
1074 testcase;
1075 name = cdboot_test;
1076 common = tests/cdboot_test.in;
1077 };
1078
1079 script = {
1080 testcase;
1081 name = netboot_test;
1082 common = tests/netboot_test.in;
1083 };
1084
1085 script = {
1086 testcase;
1087 name = pseries_test;
1088 common = tests/pseries_test.in;
1089 };
1090
1091 script = {
1092 testcase;
1093 name = core_compress_test;
1094 common = tests/core_compress_test.in;
1095 };
1096
1097 script = {
1098 testcase;
1099 name = xzcompress_test;
1100 common = tests/xzcompress_test.in;
1101 };
1102
1103 script = {
1104 testcase;
1105 name = gzcompress_test;
1106 common = tests/gzcompress_test.in;
1107 };
1108
1109 script = {
1110 testcase;
1111 name = lzocompress_test;
1112 common = tests/lzocompress_test.in;
1113 };
1114
1115 script = {
1116 testcase;
1117 name = grub_cmd_echo;
1118 common = tests/grub_cmd_echo.in;
1119 };
1120
1121 script = {
1122 testcase;
1123 name = help_test;
1124 common = tests/help_test.in;
1125 };
1126
1127 script = {
1128 testcase;
1129 name = grub_script_gettext;
1130 common = tests/grub_script_gettext.in;
1131 };
1132
1133 script = {
1134 testcase;
1135 name = grub_script_escape_comma;
1136 common = tests/grub_script_escape_comma.in;
1137 };
1138
1139 script = {
1140 testcase;
1141 name = grub_script_strcmp;
1142 common = tests/grub_script_strcmp.in;
1143 };
1144
1145 script = {
1146 testcase;
1147 name = test_sha512sum;
1148 common = tests/test_sha512sum.in;
1149 };
1150
1151 script = {
1152 testcase;
1153 name = test_unset;
1154 common = tests/test_unset.in;
1155 };
1156
1157 script = {
1158 testcase;
1159 name = grub_func_test;
1160 common = tests/grub_func_test.in;
1161 };
1162
1163 script = {
1164 testcase;
1165 name = grub_cmd_tr;
1166 common = tests/grub_cmd_tr.in;
1167 };
1168
1169 script = {
1170 testcase;
1171 name = file_filter_test;
1172 common = tests/file_filter_test.in;
1173 };
1174
1175 script = {
1176 testcase;
1177 name = grub_cmd_test;
1178 common = tests/grub_cmd_test.in;
1179 };
1180
1181 script = {
1182 testcase;
1183 name = syslinux_test;
1184 common = tests/syslinux_test.in;
1185 };
1186
1187 program = {
1188 testcase;
1189 name = example_unit_test;
1190 common = tests/example_unit_test.c;
1191 common = tests/lib/unit_test.c;
1192 common = grub-core/kern/list.c;
1193 common = grub-core/kern/misc.c;
1194 common = grub-core/tests/lib/test.c;
1195 ldadd = libgrubmods.a;
1196 ldadd = libgrubgcry.a;
1197 ldadd = libgrubkern.a;
1198 ldadd = grub-core/gnulib/libgnu.a;
1199 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1200 };
1201
1202 program = {
1203 testcase;
1204 name = printf_test;
1205 common = tests/printf_unit_test.c;
1206 common = tests/lib/unit_test.c;
1207 common = grub-core/kern/list.c;
1208 common = grub-core/kern/misc.c;
1209 common = grub-core/tests/lib/test.c;
1210 ldadd = libgrubmods.a;
1211 ldadd = libgrubgcry.a;
1212 ldadd = libgrubkern.a;
1213 ldadd = grub-core/gnulib/libgnu.a;
1214 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1215 };
1216
1217 program = {
1218 testcase;
1219 name = date_test;
1220 common = tests/date_unit_test.c;
1221 common = tests/lib/unit_test.c;
1222 common = grub-core/kern/list.c;
1223 common = grub-core/kern/misc.c;
1224 common = grub-core/tests/lib/test.c;
1225 ldadd = libgrubmods.a;
1226 ldadd = libgrubgcry.a;
1227 ldadd = libgrubkern.a;
1228 ldadd = grub-core/gnulib/libgnu.a;
1229 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1230 };
1231
1232 program = {
1233 testcase;
1234 name = priority_queue_unit_test;
1235 common = tests/priority_queue_unit_test.cc;
1236 common = tests/lib/unit_test.c;
1237 common = grub-core/kern/list.c;
1238 common = grub-core/kern/misc.c;
1239 common = grub-core/tests/lib/test.c;
1240 common = grub-core/lib/priority_queue.c;
1241 ldadd = libgrubmods.a;
1242 ldadd = libgrubgcry.a;
1243 ldadd = libgrubkern.a;
1244 ldadd = grub-core/gnulib/libgnu.a;
1245 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1246 condition = COND_HAVE_CXX;
1247 };
1248
1249 program = {
1250 testcase;
1251 name = cmp_test;
1252 common = tests/cmp_unit_test.c;
1253 common = tests/lib/unit_test.c;
1254 common = grub-core/kern/list.c;
1255 common = grub-core/kern/misc.c;
1256 common = grub-core/tests/lib/test.c;
1257 ldadd = libgrubmods.a;
1258 ldadd = libgrubgcry.a;
1259 ldadd = libgrubkern.a;
1260 ldadd = grub-core/gnulib/libgnu.a;
1261 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1262 };
1263
1264 program = {
1265 name = grub-menulst2cfg;
1266 mansection = 1;
1267 common = util/grub-menulst2cfg.c;
1268 common = grub-core/lib/legacy_parse.c;
1269 common = grub-core/lib/i386/pc/vesa_modes_table.c;
1270 common = grub-core/osdep/init.c;
1271
1272 ldadd = libgrubmods.a;
1273 ldadd = libgrubgcry.a;
1274 ldadd = libgrubkern.a;
1275 ldadd = grub-core/gnulib/libgnu.a;
1276 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1277 };
1278
1279 program = {
1280 name = grub-syslinux2cfg;
1281 mansection = 1;
1282 common = util/grub-syslinux2cfg.c;
1283 common = grub-core/lib/syslinux_parse.c;
1284 common = grub-core/lib/getline.c;
1285 common = grub-core/osdep/init.c;
1286 common = grub-core/kern/emu/hostfs.c;
1287 common = grub-core/disk/host.c;
1288 common = grub-core/kern/emu/argp_common.c;
1289
1290 ldadd = libgrubmods.a;
1291 ldadd = libgrubgcry.a;
1292 ldadd = libgrubkern.a;
1293 ldadd = grub-core/gnulib/libgnu.a;
1294 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1295 };
1296
1297 program = {
1298 name = grub-glue-efi;
1299 mansection = 1;
1300
1301 common = util/grub-glue-efi.c;
1302 common = util/glue-efi.c;
1303 common = grub-core/kern/emu/argp_common.c;
1304 common = grub-core/osdep/init.c;
1305
1306 ldadd = libgrubmods.a;
1307 ldadd = libgrubgcry.a;
1308 ldadd = libgrubkern.a;
1309 ldadd = grub-core/gnulib/libgnu.a;
1310 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1311 };
1312
1313 program = {
1314 name = grub-render-label;
1315 mansection = 1;
1316
1317 common = util/grub-render-label.c;
1318 common = util/render-label.c;
1319 common = grub-core/kern/emu/argp_common.c;
1320 common = grub-core/kern/emu/hostfs.c;
1321 common = grub-core/disk/host.c;
1322 common = grub-core/osdep/init.c;
1323
1324 ldadd = libgrubmods.a;
1325 ldadd = libgrubgcry.a;
1326 ldadd = libgrubkern.a;
1327 ldadd = grub-core/gnulib/libgnu.a;
1328 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1329 };
1330
1331 program = {
1332 name = grub-file;
1333 mansection = 1;
1334
1335 common = util/grub-file.c;
1336 common = util/render-label.c;
1337 common = grub-core/commands/file.c;
1338 common = grub-core/commands/file32.c;
1339 common = grub-core/commands/file64.c;
1340 common = grub-core/loader/i386/xen_file.c;
1341 common = grub-core/loader/i386/xen_file32.c;
1342 common = grub-core/loader/i386/xen_file64.c;
1343 common = grub-core/io/offset.c;
1344 common = grub-core/kern/elf.c;
1345 common = grub-core/loader/lzss.c;
1346 common = grub-core/loader/macho.c;
1347 common = grub-core/loader/macho32.c;
1348 common = grub-core/loader/macho64.c;
1349 common = grub-core/kern/emu/hostfs.c;
1350 common = grub-core/disk/host.c;
1351 common = grub-core/osdep/init.c;
1352
1353 ldadd = libgrubmods.a;
1354 ldadd = libgrubgcry.a;
1355 ldadd = libgrubkern.a;
1356 ldadd = grub-core/gnulib/libgnu.a;
1357 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1358 };