Makefile.util.def 30.3 KB
Newer Older
1 2
AutoGen definitions Makefile.tpl;

BVK Chaitanya's avatar
BVK Chaitanya committed
3
library = {
4
  name = libgrubkern.a;
BVK Chaitanya's avatar
BVK Chaitanya committed
5 6 7 8
  cflags = '$(CFLAGS_GNULIB)';
  cppflags = '$(CPPFLAGS_GNULIB)';

  common = util/misc.c;
9 10 11
  common = grub-core/kern/command.c;
  common = grub-core/kern/device.c;
  common = grub-core/kern/disk.c;
12
  common = grub-core/lib/disk.c;
13
  common = util/getroot.c;
14 15 16
  common = grub-core/osdep/unix/getroot.c;
  common = grub-core/osdep/getroot.c;
  common = grub-core/osdep/devmapper/getroot.c;
17
  common = grub-core/osdep/relpath.c;
18
  extra_dist = grub-core/kern/disk_common.c;
19 20 21
  extra_dist = grub-core/osdep/unix/relpath.c;
  extra_dist = grub-core/osdep/aros/relpath.c;
  extra_dist = grub-core/osdep/windows/relpath.c;
22
  common = grub-core/kern/emu/hostdisk.c;
23 24 25
  common = grub-core/osdep/devmapper/hostdisk.c;
  common = grub-core/osdep/hostdisk.c;
  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 30
  common = grub-core/kern/emu/misc.c;
  common = grub-core/kern/emu/mm.c;
BVK Chaitanya's avatar
BVK Chaitanya committed
31
  common = grub-core/kern/env.c;
32 33 34
  common = grub-core/kern/err.c;
  common = grub-core/kern/file.c;
  common = grub-core/kern/fs.c;
BVK Chaitanya's avatar
BVK Chaitanya committed
35 36 37
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  common = grub-core/kern/partition.c;
38 39
  common = grub-core/lib/crypto.c;
  common = grub-core/disk/luks.c;
40
  common = grub-core/disk/geli.c;
41
  common = grub-core/disk/cryptodisk.c;
42 43 44 45
  common = grub-core/disk/AFSplitter.c;
  common = grub-core/lib/pbkdf2.c;
  common = grub-core/commands/extcmd.c;
  common = grub-core/lib/arg.c;
46 47 48
  common = grub-core/disk/ldm.c;
  common = grub-core/disk/diskfilter.c;
  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;
BVK Chaitanya's avatar
BVK Chaitanya committed
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 60 61 62 63 64 65
  common_nodist = grub_script.tab.c;
  common_nodist = grub_script.yy.c;
  common_nodist = libgrub_a_init.c;
  common_nodist = grub_script.yy.h;
  common_nodist = grub_script.tab.h;

  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 70 71 72 73
  common = grub-core/commands/ls.c;
  common = grub-core/disk/dmraid_nvidia.c;
  common = grub-core/disk/loopback.c;
  common = grub-core/disk/lvm.c;
  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 77
  common = grub-core/disk/raid5_recover.c;
  common = grub-core/disk/raid6_recover.c;
78 79 80 81 82 83 84 85
  common = grub-core/font/font.c;
  common = grub-core/gfxmenu/font.c;
  common = grub-core/normal/charset.c;
  common = grub-core/video/fb/fbblit.c;
  common = grub-core/video/fb/fbutil.c;
  common = grub-core/video/fb/fbfill.c;
  common = grub-core/video/fb/video_fb.c;
  common = grub-core/video/video.c;
86
  common = grub-core/video/capture.c;
87 88 89
  common = grub-core/video/colors.c;
  common = grub-core/unidata.c;
  common = grub-core/io/bufio.c;
90 91
  common = grub-core/fs/affs.c;
  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 97 98
  common = grub-core/fs/cpio_be.c;
  common = grub-core/fs/odc.c;
  common = grub-core/fs/newc.c;
99 100
  common = grub-core/fs/ext2.c;
  common = grub-core/fs/fat.c;
101
  common = grub-core/fs/exfat.c;
102 103 104
  common = grub-core/fs/fshelp.c;
  common = grub-core/fs/hfs.c;
  common = grub-core/fs/hfsplus.c;
105
  common = grub-core/fs/hfspluscomp.c;
106 107 108
  common = grub-core/fs/iso9660.c;
  common = grub-core/fs/jfs.c;
  common = grub-core/fs/minix.c;
109
  common = grub-core/fs/minix2.c;
110
  common = grub-core/fs/minix3.c;
111 112 113
  common = grub-core/fs/minix_be.c;
  common = grub-core/fs/minix2_be.c;
  common = grub-core/fs/minix3_be.c;
114 115 116 117
  common = grub-core/fs/nilfs2.c;
  common = grub-core/fs/ntfs.c;
  common = grub-core/fs/ntfscomp.c;
  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 122 123 124
  common = grub-core/fs/tar.c;
  common = grub-core/fs/udf.c;
  common = grub-core/fs/ufs2.c;
  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 133
  common = grub-core/fs/zfs/zfs_sha256.c;
  common = grub-core/fs/zfs/zfs_fletcher.c;
134 135 136 137
  common = grub-core/lib/envblk.c;
  common = grub-core/lib/hexdump.c;
  common = grub-core/lib/LzFind.c;
  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 142 143 144 145 146
  common = grub-core/normal/datetime.c;
  common = grub-core/normal/misc.c;
  common = grub-core/partmap/acorn.c;
  common = grub-core/partmap/amiga.c;
  common = grub-core/partmap/apple.c;
  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 153 154 155 156
  common = grub-core/script/function.c;
  common = grub-core/script/lexer.c;
  common = grub-core/script/main.c;
  common = grub-core/script/script.c;
  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 162
  common = grub-core/kern/arm/dl_helper.c;
  common = grub-core/kern/arm64/dl_helper.c;
163
  common = grub-core/lib/minilzo/minilzo.c;
164 165 166
  common = grub-core/lib/xzembed/xz_dec_bcj.c;
  common = grub-core/lib/xzembed/xz_dec_lzma2.c;
  common = grub-core/lib/xzembed/xz_dec_stream.c;
167 168 169 170 171 172
};

program = {
  name = grub-mkimage;
  mansection = 1;

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 181 182
  extra_dist = grub-core/osdep/windows/config.c;
  extra_dist = grub-core/osdep/unix/config.c;
  common = util/config.c;
183

BVK Chaitanya's avatar
BVK Chaitanya committed
184
  extra_dist = util/grub-mkimagexx.c;
185

186
  ldadd = libgrubmods.a;
187
  ldadd = libgrubgcry.a;
188
  ldadd = libgrubkern.a;
BVK Chaitanya's avatar
BVK Chaitanya committed
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 196 197 198
};

program = {
  name = grub-mkrelpath;
  mansection = 1;

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 211 212 213
};

program = {
  name = grub-script-check;
  mansection = 1;

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 226 227 228
};

program = {
  name = grub-editenv;
  mansection = 1;

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 241 242 243
};

program = {
  name = grub-mkpasswd-pbkdf2;
  mansection = 1;

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 257 258
};

program = {
  name = grub-macho2img;
  mansection = 1;
259
  common = util/grub-macho2img.c;
260
  condition = COND_APPLE_LINKER;
261 262 263 264 265
};

program = {
  name = grub-fstest;
  mansection = 1;
266
  common_nodist = grub_fstest_init.c;
267
  common = util/grub-fstest.c;
268 269
  common = grub-core/kern/emu/hostfs.c;
  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 282
  mansection = 1;
  common_nodist = grub_fstest_init.c;
283
  common = util/grub-mount.c;
284 285
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
286
  common = grub-core/osdep/init.c;
287 288

  ldadd = libgrubmods.a;
289
  ldadd = libgrubgcry.a;
290 291
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
292
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
293
  condition = COND_GRUB_MOUNT;
294 295 296 297 298
};

program = {
  name = grub-mkfont;
  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';
BVK Chaitanya's avatar
BVK Chaitanya committed
305

306 307 308
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
309
  ldadd = grub-core/gnulib/libgnu.a;
310
  ldadd = '$(freetype_libs)';
311
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
BVK Chaitanya's avatar
BVK Chaitanya committed
312
  condition = COND_GRUB_MKFONT;
313 314 315 316 317 318
};

program = {
  name = grub-probe;
  installdir = sbin;
  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 335
  installdir = sbin;
  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 342 343 344
  common = grub-core/osdep/blocklist.c;
  extra_dist = grub-core/osdep/generic/blocklist.c;
  extra_dist = grub-core/osdep/linux/blocklist.c;
  extra_dist = grub-core/osdep/windows/blocklist.c;
345
  common = grub-core/osdep/init.c;
346

347 348
  ldadd = libgrubmods.a;
  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
};
BVK Chaitanya's avatar
BVK Chaitanya committed
354

355 356 357 358 359
program = {
  name = grub-sparc64-setup;
  installdir = sbin;
  mansection = 8;
  common = util/grub-setup.c;
360
  common = util/setup_sparc.c;
361 362
  common = grub-core/kern/emu/argp_common.c;
  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 368 369 370 371

  ldadd = libgrubmods.a;
  ldadd = libgrubkern.a;
  ldadd = libgrubgcry.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
372
  cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
373 374 375 376 377
};

program = {
  name = grub-ofpathname;
  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 391 392 393 394
program = {
  name = grub-mklayout;
  mansection = 1;

  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 406 407
program = {
  name = grub-macbless;
  installdir = sbin;
408
  mansection = 8;
409 410 411 412 413 414 415 416 417 418 419
  common = util/grub-macbless.c;
  common = grub-core/osdep/init.c;
  common = grub-core/kern/emu/argp_common.c;

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

420
data = {
421
  common = util/grub.d/README;
422 423 424 425 426
  installdir = grubconf;
};

script = {
  name = '00_header';
427
  common = util/grub.d/00_header.in;
428 429 430 431 432
  installdir = grubconf;
};

script = {
  name = '10_windows';
433
  common = util/grub.d/10_windows.in;
434
  installdir = grubconf;
BVK Chaitanya's avatar
BVK Chaitanya committed
435
  condition = COND_HOST_WINDOWS;
436 437 438 439
};

script = {
  name = '10_hurd';
440
  common = util/grub.d/10_hurd.in;
441
  installdir = grubconf;
442
  condition = COND_HOST_HURD;
443 444 445
};

script = {
BVK Chaitanya's avatar
BVK Chaitanya committed
446
  name = '10_kfreebsd';
447 448
  common = util/grub.d/10_kfreebsd.in;
  installdir = grubconf;
449
  condition = COND_HOST_KFREEBSD;
450 451
};

452 453 454 455
script = {
  name = '10_illumos';
  common = util/grub.d/10_illumos.in;
  installdir = grubconf;
456
  condition = COND_HOST_ILLUMOS;
457 458
};

459
script = {
BVK Chaitanya's avatar
BVK Chaitanya committed
460
  name = '10_netbsd';
461 462
  common = util/grub.d/10_netbsd.in;
  installdir = grubconf;
463
  condition = COND_HOST_NETBSD;
464 465 466 467
};

script = {
  name = '10_linux';
468
  common = util/grub.d/10_linux.in;
469
  installdir = grubconf;
470
  condition = COND_HOST_LINUX;
BVK Chaitanya's avatar
BVK Chaitanya committed
471 472
};

473 474 475 476
script = {
  name = '10_xnu';
  common = util/grub.d/10_xnu.in;
  installdir = grubconf;
477
  condition = COND_HOST_XNU;
478 479
};

BVK Chaitanya's avatar
BVK Chaitanya committed
480 481 482 483
script = {
  name = '20_linux_xen';
  common = util/grub.d/20_linux_xen.in;
  installdir = grubconf;
484
  condition = COND_HOST_LINUX;
485 486 487 488
};

script = {
  name = '30_os-prober';
489
  common = util/grub.d/30_os-prober.in;
490 491 492 493 494
  installdir = grubconf;
};

script = {
  name = '40_custom';
495
  common = util/grub.d/40_custom.in;
496 497 498
  installdir = grubconf;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
499 500
script = {
  name = '41_custom';
501
  common = util/grub.d/41_custom.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
502 503 504
  installdir = grubconf;
};

505
program = {
506 507
  mansection = 1;
  name = grub-mkrescue;
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544

  common = util/grub-mkrescue.c;
  common = util/render-label.c;
  common = util/glue-efi.c;
  common = util/mkimage.c;
  common = util/grub-install-common.c;
  common = util/setup_bios.c;
  common = util/setup_sparc.c;
  common = grub-core/lib/reed_solomon.c;
  common = grub-core/osdep/random.c;
  common = grub-core/osdep/ofpath.c;
  common = grub-core/osdep/platform.c;
  common = grub-core/osdep/platform_unix.c;
  common = grub-core/osdep/compress.c;
  extra_dist = grub-core/osdep/unix/compress.c;
  extra_dist = grub-core/osdep/basic/compress.c;
  common = util/editenv.c;
  common = grub-core/osdep/blocklist.c;
  common = grub-core/osdep/config.c;
  common = util/config.c;

  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;

  common = util/resolve.c;

  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/osdep/init.c;

  ldadd = '$(LIBLZMA)';
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';

  condition = COND_HAVE_EXEC;
545 546
};

547
program = {
548 549
  mansection = 1;
  name = grub-mkstandalone;
550 551 552 553 554 555 556 557 558 559 560 561 562 563
  common = util/grub-mkstandalone.c;

  common = util/render-label.c;
  common = util/glue-efi.c;
  common = util/mkimage.c;
  common = util/grub-install-common.c;
  common = util/setup_bios.c;
  common = util/setup_sparc.c;
  common = grub-core/lib/reed_solomon.c;
  common = grub-core/osdep/random.c;
  common = grub-core/osdep/ofpath.c;
  common = grub-core/osdep/platform.c;
  common = grub-core/osdep/platform_unix.c;
  extra_dist = grub-core/osdep/linux/platform.c;
564
  extra_dist = grub-core/osdep/windows/platform.c;
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
  extra_dist = grub-core/osdep/basic/platform.c;
  extra_dist = grub-core/osdep/basic/no_platform.c;
  extra_dist = grub-core/osdep/unix/platform.c;
  common = grub-core/osdep/compress.c;
  common = util/editenv.c;
  common = grub-core/osdep/blocklist.c;
  common = grub-core/osdep/config.c;
  common = util/config.c;

  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;

  common = util/resolve.c;

  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/osdep/init.c;

  ldadd = '$(LIBLZMA)';
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
588 589
};

590
program = {
591 592 593
  mansection = 8;
  installdir = sbin;
  name = grub-install;
594

595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610
  common = util/grub-install.c;
  common = util/probe.c;
  common = util/mkimage.c;
  common = util/grub-install-common.c;
  common = util/setup_bios.c;
  common = util/setup_sparc.c;
  common = grub-core/lib/reed_solomon.c;
  common = grub-core/osdep/random.c;
  common = grub-core/osdep/ofpath.c;
  common = grub-core/osdep/platform.c;
  common = grub-core/osdep/platform_unix.c;
  common = grub-core/osdep/compress.c;
  common = util/editenv.c;
  common = grub-core/osdep/blocklist.c;
  common = grub-core/osdep/config.c;
  common = util/config.c;
611 612 613
  common = util/render-label.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
614 615 616 617 618 619 620 621 622 623 624

  common = util/resolve.c;
  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/osdep/init.c;

  ldadd = '$(LIBLZMA)';
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
625 626
};

627
program = {
628 629
  mansection = 1;
  installdir = bin;
630 631
  name = grub-mknetdir;

632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
  common = util/grub-mknetdir.c;

  common = util/mkimage.c;
  common = util/grub-install-common.c;
  common = util/setup_bios.c;
  common = util/setup_sparc.c;
  common = grub-core/lib/reed_solomon.c;
  common = grub-core/osdep/random.c;
  common = grub-core/osdep/ofpath.c;
  common = grub-core/osdep/platform.c;
  common = grub-core/osdep/platform_unix.c;
  common = grub-core/osdep/compress.c;
  common = util/editenv.c;
  common = grub-core/osdep/blocklist.c;
  common = grub-core/osdep/config.c;
  common = util/config.c;

  common = util/resolve.c;
  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/osdep/init.c;

  ldadd = '$(LIBLZMA)';
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
659 660
};

661 662
script = {
  name = grub-mkconfig;
663
  common = util/grub-mkconfig.in;
664 665 666 667 668 669
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-set-default;
670
  common = util/grub-set-default.in;
671 672 673 674 675 676
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-reboot;
677
  common = util/grub-reboot.in;
678 679 680 681 682 683
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-mkconfig_lib;
684
  common = util/grub-mkconfig_lib.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
685
  installdir = noinst;
686 687
};

688 689 690
script = {
  name = grub-kbdcomp;
  common = util/grub-kbdcomp.in;
691
  mansection = 1;
692 693
};

BVK Chaitanya's avatar
BVK Chaitanya committed
694
script = {
695
  name = grub-shell;
696
  common = tests/util/grub-shell.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
697
  installdir = noinst;
698 699
};

BVK Chaitanya's avatar
BVK Chaitanya committed
700
script = {
701
  name = grub-shell-tester;
702
  common = tests/util/grub-shell-tester.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
703
  installdir = noinst;
704 705
};

706 707 708 709
script = {
  name = grub-fs-tester;
  common = tests/util/grub-fs-tester.in;
  installdir = noinst;
710
  dependencies = 'garbage-gen$(BUILD_EXEEXT)';
711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826
};

script = {
  testcase;
  name = ext234_test;
  common = tests/ext234_test.in;
};

script = {
  testcase;
  name = squashfs_test;
  common = tests/squashfs_test.in;
};

script = {
  testcase;
  name = iso9660_test;
  common = tests/iso9660_test.in;
};

script = {
  testcase;
  name = hfsplus_test;
  common = tests/hfsplus_test.in;
};

script = {
  testcase;
  name = ntfs_test;
  common = tests/ntfs_test.in;
};

script = {
  testcase;
  name = reiserfs_test;
  common = tests/reiserfs_test.in;
};

script = {
  testcase;
  name = fat_test;
  common = tests/fat_test.in;
};

script = {
  testcase;
  name = minixfs_test;
  common = tests/minixfs_test.in;
};

script = {
  testcase;
  name = xfs_test;
  common = tests/xfs_test.in;
};

script = {
  testcase;
  name = nilfs2_test;
  common = tests/nilfs2_test.in;
};

script = {
  testcase;
  name = romfs_test;
  common = tests/romfs_test.in;
};

script = {
  testcase;
  name = exfat_test;
  common = tests/exfat_test.in;
};

script = {
  testcase;
  name = tar_test;
  common = tests/tar_test.in;
};

script = {
  testcase;
  name = udf_test;
  common = tests/udf_test.in;
};

script = {
  testcase;
  name = hfs_test;
  common = tests/hfs_test.in;
};

script = {
  testcase;
  name = jfs_test;
  common = tests/jfs_test.in;
};

script = {
  testcase;
  name = btrfs_test;
  common = tests/btrfs_test.in;
};

script = {
  testcase;
  name = zfs_test;
  common = tests/zfs_test.in;
};

script = {
  testcase;
  name = cpio_test;
  common = tests/cpio_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
827 828
script = {
  testcase;
829
  name = example_scripted_test;
830
  common = tests/example_scripted_test.in;
831 832
};

833 834 835 836
script = {
  testcase;
  name = gettext_strings_test;
  common = tests/gettext_strings_test.in;
837
  extra_dist = po/exclude.pot;
838 839
};

840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
script = {
  testcase;
  name = pata_test;
  common = tests/pata_test.in;
};

script = {
  testcase;
  name = ahci_test;
  common = tests/ahci_test.in;
};

script = {
  testcase;
  name = uhci_test;
  common = tests/uhci_test.in;
};

script = {
  testcase;
  name = ohci_test;
  common = tests/ohci_test.in;
};

script = {
  testcase;
  name = ehci_test;
  common = tests/ehci_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
870 871
script = {
  testcase;
872
  name = example_grub_script_test;
873
  common = tests/example_grub_script_test.in;
874 875
};

876 877 878 879 880 881
script = {
  testcase;
  name = grub_script_eval;
  common = tests/grub_script_eval.in;
};

882 883 884 885 886 887
script = {
  testcase;
  name = grub_script_test;
  common = tests/grub_script_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
888 889
script = {
  testcase;
890
  name = grub_script_echo1;
891
  common = tests/grub_script_echo1.in;
892 893
};

894 895 896 897 898 899
script = {
  testcase;
  name = grub_script_leading_whitespace;
  common = tests/grub_script_leading_whitespace.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
900 901
script = {
  testcase;
902
  name = grub_script_echo_keywords;
903
  common = tests/grub_script_echo_keywords.in;
904 905
};

BVK Chaitanya's avatar
BVK Chaitanya committed
906 907
script = {
  testcase;
908
  name = grub_script_vars1;
909
  common = tests/grub_script_vars1.in;
910 911
};

BVK Chaitanya's avatar
BVK Chaitanya committed
912 913
script = {
  testcase;
914
  name = grub_script_for1;
915
  common = tests/grub_script_for1.in;
916 917
};

BVK Chaitanya's avatar
BVK Chaitanya committed
918 919
script = {
  testcase;
920
  name = grub_script_while1;
921
  common = tests/grub_script_while1.in;
922 923
};

BVK Chaitanya's avatar
BVK Chaitanya committed
924 925
script = {
  testcase;
926
  name = grub_script_if;
927
  common = tests/grub_script_if.in;
928 929
};

BVK Chaitanya's avatar
BVK Chaitanya committed
930 931
script = {
  testcase;
932
  name = grub_script_blanklines;
933
  common = tests/grub_script_blanklines.in;
934 935
};

BVK Chaitanya's avatar
BVK Chaitanya committed
936 937
script = {
  testcase;
938
  name = grub_script_final_semicolon;
939
  common = tests/grub_script_final_semicolon.in;
940 941
};

BVK Chaitanya's avatar
BVK Chaitanya committed
942 943
script = {
  testcase;
944
  name = grub_script_dollar;
945
  common = tests/grub_script_dollar.in;
946 947
};

BVK Chaitanya's avatar
BVK Chaitanya committed
948 949
script = {
  testcase;
950
  name = grub_script_comments;
951
  common = tests/grub_script_comments.in;
952 953
};

BVK Chaitanya's avatar
BVK Chaitanya committed
954 955 956
script = {
  testcase;
  name = grub_script_functions;
957
  common = tests/grub_script_functions.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
958 959 960 961 962
};

script = {
  testcase;
  name = grub_script_break;
963
  common = tests/grub_script_break.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
964 965 966 967 968
};

script = {
  testcase;
  name = grub_script_continue;
969
  common = tests/grub_script_continue.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
970 971 972 973 974
};

script = {
  testcase;
  name = grub_script_shift;
975
  common = tests/grub_script_shift.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
976 977
};

BVK Chaitanya's avatar
BVK Chaitanya committed
978 979 980 981 982 983
script = {
  testcase;
  name = grub_script_blockarg;
  common = tests/grub_script_blockarg.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
984 985 986 987 988 989
script = {
  testcase;
  name = grub_script_setparams;
  common = tests/grub_script_setparams.in;
};

990 991 992 993 994 995
script = {
  testcase;
  name = grub_script_return;
  common = tests/grub_script_return.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
996 997 998 999 1000 1001
script = {
  testcase;
  name = grub_cmd_regexp;
  common = tests/grub_cmd_regexp.in;
};

1002 1003 1004 1005 1006 1007
script = {
  testcase;
  name = grub_cmd_date;
  common = tests/grub_cmd_date.in;
};

1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
script = {
  testcase;
  name = grub_cmd_set_date;
  common = tests/grub_cmd_set_date.in;
};

script = {
  testcase;
  name = grub_cmd_sleep;
  common = tests/grub_cmd_sleep.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1020 1021 1022 1023 1024 1025
script = {
  testcase;
  name = grub_script_expansion;
  common = tests/grub_script_expansion.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1026 1027 1028 1029 1030 1031
script = {
  testcase;
  name = grub_script_not;
  common = tests/grub_script_not.in;
};

1032 1033 1034 1035 1036 1037
script = {
  testcase;
  name = grub_script_no_commands;
  common = tests/grub_script_no_commands.in;
};

1038 1039 1040 1041 1042 1043
script = {
  testcase;
  name = partmap_test;
  common = tests/partmap_test.in;
};

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073
script = {
  testcase;
  name = hddboot_test;
  common = tests/hddboot_test.in;
};

script = {
  testcase;
  name = fddboot_test;
  common = tests/fddboot_test.in;
};

script = {
  testcase;
  name = cdboot_test;
  common = tests/cdboot_test.in;
};

script = {
  testcase;
  name = netboot_test;
  common = tests/netboot_test.in;
};

script = {
  testcase;
  name = pseries_test;
  common = tests/pseries_test.in;
};

1074 1075 1076 1077 1078 1079
script = {
  testcase;
  name = core_compress_test;
  common = tests/core_compress_test.in;
};

1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
script = {
  testcase;
  name = xzcompress_test;
  common = tests/xzcompress_test.in;
};

script = {
  testcase;
  name = gzcompress_test;
  common = tests/gzcompress_test.in;
};

script = {
  testcase;
  name = lzocompress_test;
  common = tests/lzocompress_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1098 1099 1100 1101 1102 1103
script = {
  testcase;
  name = grub_cmd_echo;
  common = tests/grub_cmd_echo.in;
};

1104 1105 1106 1107 1108 1109
script = {
  testcase;
  name = help_test;
  common = tests/help_test.in;
};

1110 1111 1112 1113 1114 1115
script = {
  testcase;
  name = grub_script_gettext;
  common = tests/grub_script_gettext.in;
};

1116 1117 1118 1119 1120 1121
script = {
  testcase;
  name = grub_script_escape_comma;
  common = tests/grub_script_escape_comma.in;
};

1122 1123 1124 1125 1126 1127
script = {
  testcase;
  name = grub_script_strcmp;
  common = tests/grub_script_strcmp.in;
};

1128 1129 1130 1131 1132 1133
script = {
  testcase;
  name = test_sha512sum;
  common = tests/test_sha512sum.in;
};

1134 1135 1136 1137 1138 1139
script = {
  testcase;
  name = test_unset;
  common = tests/test_unset.in;
};

1140 1141 1142 1143 1144 1145
script = {
  testcase;
  name = grub_func_test;
  common = tests/grub_func_test.in;
};

1146 1147 1148 1149 1150 1151
script = {
  testcase;
  name = grub_cmd_tr;
  common = tests/grub_cmd_tr.in;
};

1152 1153 1154 1155 1156 1157
script = {
  testcase;
  name = file_filter_test;
  common = tests/file_filter_test.in;
};

1158 1159 1160 1161 1162 1163
script = {
  testcase;
  name = grub_cmd_test;
  common = tests/grub_cmd_test.in;
};

1164 1165 1166 1167 1168 1169
script = {
  testcase;
  name = syslinux_test;
  common = tests/syslinux_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1170 1171
program = {
  testcase;
1172
  name = example_unit_test;
1173 1174 1175 1176 1177
  common = tests/example_unit_test.c;
  common = tests/lib/unit_test.c;
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  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 1186 1187 1188 1189 1190 1191 1192 1193 1194
program = {
  testcase;
  name = printf_test;
  common = tests/printf_unit_test.c;
  common = tests/lib/unit_test.c;
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  common = grub-core/tests/lib/test.c;
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
1195
  ldadd = libgrubkern.a;
1196
  ldadd = grub-core/gnulib/libgnu.a;
1197
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1198
};
1199

1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214
program = {
  testcase;
  name = date_test;
  common = tests/date_unit_test.c;
  common = tests/lib/unit_test.c;
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  common = grub-core/tests/lib/test.c;
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
program = {
  testcase;
  name = priority_queue_unit_test;
  common = tests/priority_queue_unit_test.cc;
  common = tests/lib/unit_test.c;
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  common = grub-core/tests/lib/test.c;
  common = grub-core/lib/priority_queue.c;
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
  condition = COND_HAVE_CXX;
};

1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246
program = {
  testcase;
  name = cmp_test;
  common = tests/cmp_unit_test.c;
  common = tests/lib/unit_test.c;
  common = grub-core/kern/list.c;
  common = grub-core/kern/misc.c;
  common = grub-core/tests/lib/test.c;
  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

1247 1248 1249 1250 1251
program = {
  name = grub-menulst2cfg;
  mansection = 1;
  common = util/grub-menulst2cfg.c;
  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 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
program = {
  name = grub-syslinux2cfg;
  mansection = 1;
  common = util/grub-syslinux2cfg.c;
  common = grub-core/lib/syslinux_parse.c;
  common = grub-core/lib/getline.c;
  common = grub-core/osdep/init.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
  common = grub-core/kern/emu/argp_common.c;

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

1280 1281 1282 1283 1284
program = {
  name = grub-glue-efi;
  mansection = 1;

  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 1290 1291 1292 1293 1294 1295

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

1296 1297 1298 1299 1300
program = {
  name = grub-render-label;
  mansection = 1;

  common = util/grub-render-label.c;
1301
  common = util/render-label.c;
1302 1303 1304
  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
1305
  common = grub-core/osdep/init.c;
1306 1307 1308 1309 1310 1311 1312

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};
1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341

program = {
  name = grub-file;
  mansection = 1;

  common = util/grub-file.c;
  common = util/render-label.c;
  common = grub-core/commands/file.c;
  common = grub-core/commands/file32.c;
  common = grub-core/commands/file64.c;
  common = grub-core/loader/i386/xen_file.c;
  common = grub-core/loader/i386/xen_file32.c;
  common = grub-core/loader/i386/xen_file64.c;
  common = grub-core/io/offset.c;
  common = grub-core/kern/elf.c;
  common = grub-core/loader/lzss.c;
  common = grub-core/loader/macho.c;
  common = grub-core/loader/macho32.c;
  common = grub-core/loader/macho64.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
  common = grub-core/osdep/init.c;

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};