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