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