Makefile.util.def 31.2 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 176
  common = util/grub-mkimage32.c;
  common = util/grub-mkimage64.c;
177
  common = util/resolve.c;
178
  common = grub-core/kern/emu/argp_common.c;
179
  common = grub-core/osdep/init.c;
180
  common = grub-core/osdep/config.c;
181
  extra_dist = grub-core/osdep/aros/config.c;
182 183 184
  extra_dist = grub-core/osdep/windows/config.c;
  extra_dist = grub-core/osdep/unix/config.c;
  common = util/config.c;
185

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

188
  ldadd = libgrubmods.a;
189
  ldadd = libgrubgcry.a;
190
  ldadd = libgrubkern.a;
BVK Chaitanya's avatar
BVK Chaitanya committed
191
  ldadd = grub-core/gnulib/libgnu.a;
192
  ldadd = '$(LIBLZMA)';
193
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
194
  cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
195 196 197 198 199 200
};

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

201
  common = util/grub-mkrelpath.c;
202
  common = grub-core/kern/emu/argp_common.c;
203
  common = grub-core/osdep/init.c;
204

205
  ldadd = libgrubmods.a;
206
  ldadd = libgrubgcry.a;
207
  ldadd = libgrubkern.a;
208
  ldadd = grub-core/gnulib/libgnu.a;
209
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
210 211 212 213 214 215
};

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

216
  common = util/grub-script-check.c;
217
  common = grub-core/kern/emu/argp_common.c;
218
  common = grub-core/osdep/init.c;
219

220
  ldadd = libgrubmods.a;
221
  ldadd = libgrubgcry.a;
222
  ldadd = libgrubkern.a;
223
  ldadd = grub-core/gnulib/libgnu.a;
224
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
225 226 227 228 229 230
};

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

231
  common = util/grub-editenv.c;
232
  common = util/editenv.c;
233
  common = grub-core/osdep/init.c;
234

235
  ldadd = libgrubmods.a;
236
  ldadd = libgrubgcry.a;
237
  ldadd = libgrubkern.a;
238
  ldadd = grub-core/gnulib/libgnu.a;
239
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
240 241 242 243 244 245
};

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

246
  common = util/grub-mkpasswd-pbkdf2.c;
247
  common = grub-core/kern/emu/argp_common.c;
248
  common = grub-core/osdep/random.c;
249
  common = grub-core/osdep/init.c;
250

251
  ldadd = libgrubmods.a;
252
  ldadd = libgrubgcry.a;
253
  ldadd = libgrubkern.a;
254
  ldadd = grub-core/gnulib/libgnu.a;
255
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
256 257 258 259 260
};

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

program = {
  name = grub-fstest;
  mansection = 1;
268
  common_nodist = grub_fstest_init.c;
269
  common = util/grub-fstest.c;
270 271
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
272
  common = grub-core/osdep/init.c;
273

274
  ldadd = libgrubmods.a;
275
  ldadd = libgrubgcry.a;
276
  ldadd = libgrubkern.a;
277
  ldadd = grub-core/gnulib/libgnu.a;
278
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
279 280
};

281
program = {
282
  name = grub-mount;
283 284
  mansection = 1;
  common_nodist = grub_fstest_init.c;
285
  common = util/grub-mount.c;
286 287
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
288
  common = grub-core/osdep/init.c;
289 290

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

program = {
  name = grub-mkfont;
  mansection = 1;
301
  common = util/grub-mkfont.c;
302
  common = grub-core/kern/emu/argp_common.c;
303
  common = grub-core/osdep/init.c;
304

305
  cflags = '$(FREETYPE_CFLAGS)';
306
  cppflags = '-DGRUB_MKFONT=1';
BVK Chaitanya's avatar
BVK Chaitanya committed
307

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

Colin Watson's avatar
Colin Watson committed
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
program = {
  name = grub-mkdevicemap;
  installdir = sbin;
  mansection = 8;

  common = util/grub-mkdevicemap.c;
  common = util/deviceiter.c;
  common = util/devicemap.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) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};

334 335 336 337
program = {
  name = grub-probe;
  installdir = sbin;
  mansection = 8;
338
  common = util/grub-probe.c;
339
  common = util/probe.c;
340
  common = grub-core/osdep/ofpath.c;
341
  common = grub-core/kern/emu/argp_common.c;
342
  common = grub-core/osdep/init.c;
343

344
  ldadd = libgrubmods.a;
345
  ldadd = libgrubgcry.a;
346
  ldadd = libgrubkern.a;
347
  ldadd = grub-core/gnulib/libgnu.a;
348
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
349 350 351
};

program = {
352
  name = grub-bios-setup;
353 354
  installdir = sbin;
  mansection = 8;
355
  common = util/grub-setup.c;
356
  common = util/setup_bios.c;
357
  extra_dist = util/setup.c;
358
  common = grub-core/kern/emu/argp_common.c;
359
  common = grub-core/lib/reed_solomon.c;
360 361 362 363
  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;
364
  common = grub-core/osdep/init.c;
365

366 367
  ldadd = libgrubmods.a;
  ldadd = libgrubkern.a;
368
  ldadd = libgrubgcry.a;
369
  ldadd = grub-core/gnulib/libgnu.a;
370
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
371
  cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
372
};
BVK Chaitanya's avatar
BVK Chaitanya committed
373

374 375 376 377 378
program = {
  name = grub-sparc64-setup;
  installdir = sbin;
  mansection = 8;
  common = util/grub-setup.c;
379
  common = util/setup_sparc.c;
380 381
  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/lib/reed_solomon.c;
382
  common = grub-core/osdep/ofpath.c;
383
  common = grub-core/osdep/blocklist.c;
384
  common = grub-core/osdep/init.c;
385 386 387 388 389 390

  ldadd = libgrubmods.a;
  ldadd = libgrubkern.a;
  ldadd = libgrubgcry.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
391
  cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
392 393 394 395 396
};

program = {
  name = grub-ofpathname;
  installdir = sbin;
397
  mansection = 8;
398
  common = util/ieee1275/grub-ofpathname.c;
399
  common = grub-core/osdep/ofpath.c;
400
  common = grub-core/osdep/init.c;
401

402
  ldadd = libgrubmods.a;
403
  ldadd = libgrubgcry.a;
404
  ldadd = libgrubkern.a;
405
  ldadd = grub-core/gnulib/libgnu.a;
406
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
407 408
};

409 410 411 412 413
program = {
  name = grub-mklayout;
  mansection = 1;

  common = util/grub-mklayout.c;
414
  common = grub-core/kern/emu/argp_common.c;
415
  common = grub-core/osdep/init.c;
416

417
  ldadd = libgrubmods.a;
418
  ldadd = libgrubgcry.a;
419
  ldadd = libgrubkern.a;
420
  ldadd = grub-core/gnulib/libgnu.a;
421
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
422 423
};

424 425 426
program = {
  name = grub-macbless;
  installdir = sbin;
427
  mansection = 8;
428 429 430 431 432 433 434 435
  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;
436
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
437 438
};

439
data = {
440
  common = util/grub.d/README;
441 442 443 444 445
  installdir = grubconf;
};

script = {
  name = '00_header';
446
  common = util/grub.d/00_header.in;
447 448 449 450 451
  installdir = grubconf;
};

script = {
  name = '10_windows';
452
  common = util/grub.d/10_windows.in;
453
  installdir = grubconf;
BVK Chaitanya's avatar
BVK Chaitanya committed
454
  condition = COND_HOST_WINDOWS;
455 456 457 458
};

script = {
  name = '10_hurd';
459
  common = util/grub.d/10_hurd.in;
460
  installdir = grubconf;
461
  condition = COND_HOST_HURD;
462 463 464
};

script = {
BVK Chaitanya's avatar
BVK Chaitanya committed
465
  name = '10_kfreebsd';
466 467
  common = util/grub.d/10_kfreebsd.in;
  installdir = grubconf;
468
  condition = COND_HOST_KFREEBSD;
469 470
};

471 472 473 474
script = {
  name = '10_illumos';
  common = util/grub.d/10_illumos.in;
  installdir = grubconf;
475
  condition = COND_HOST_ILLUMOS;
476 477
};

478
script = {
BVK Chaitanya's avatar
BVK Chaitanya committed
479
  name = '10_netbsd';
480 481
  common = util/grub.d/10_netbsd.in;
  installdir = grubconf;
482
  condition = COND_HOST_NETBSD;
483 484 485 486
};

script = {
  name = '10_linux';
487
  common = util/grub.d/10_linux.in;
488
  installdir = grubconf;
489
  condition = COND_HOST_LINUX;
BVK Chaitanya's avatar
BVK Chaitanya committed
490 491
};

492 493 494 495
script = {
  name = '10_xnu';
  common = util/grub.d/10_xnu.in;
  installdir = grubconf;
496
  condition = COND_HOST_XNU;
497 498
};

BVK Chaitanya's avatar
BVK Chaitanya committed
499 500 501 502
script = {
  name = '20_linux_xen';
  common = util/grub.d/20_linux_xen.in;
  installdir = grubconf;
503
  condition = COND_HOST_LINUX;
504 505 506 507
};

script = {
  name = '30_os-prober';
508
  common = util/grub.d/30_os-prober.in;
509 510 511
  installdir = grubconf;
};

512 513 514 515 516 517
script = {
  name = '30_uefi-firmware';
  common = util/grub.d/30_uefi-firmware.in;
  installdir = grubconf;
};

518 519
script = {
  name = '40_custom';
520
  common = util/grub.d/40_custom.in;
521 522 523
  installdir = grubconf;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
524 525
script = {
  name = '41_custom';
526
  common = util/grub.d/41_custom.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
527 528 529
  installdir = grubconf;
};

530
program = {
531 532
  mansection = 1;
  name = grub-mkrescue;
533 534 535 536 537

  common = util/grub-mkrescue.c;
  common = util/render-label.c;
  common = util/glue-efi.c;
  common = util/mkimage.c;
538 539
  common = util/grub-mkimage32.c;
  common = util/grub-mkimage64.c;
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
  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;
572 573
};

574
program = {
575 576
  mansection = 1;
  name = grub-mkstandalone;
577 578 579 580 581
  common = util/grub-mkstandalone.c;

  common = util/render-label.c;
  common = util/glue-efi.c;
  common = util/mkimage.c;
582 583
  common = util/grub-mkimage32.c;
  common = util/grub-mkimage64.c;
584 585 586 587 588 589 590 591 592
  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;
593
  extra_dist = grub-core/osdep/windows/platform.c;
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616
  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)';
617 618
};

619
program = {
620 621 622
  mansection = 8;
  installdir = sbin;
  name = grub-install;
623

624 625 626
  common = util/grub-install.c;
  common = util/probe.c;
  common = util/mkimage.c;
627 628
  common = util/grub-mkimage32.c;
  common = util/grub-mkimage64.c;
629 630 631 632 633 634 635 636 637 638 639 640 641
  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;
642 643 644
  common = util/render-label.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
645 646 647 648 649 650 651 652 653 654 655

  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)';
656 657
};

658
program = {
659 660
  mansection = 1;
  installdir = bin;
661 662
  name = grub-mknetdir;

663 664 665
  common = util/grub-mknetdir.c;

  common = util/mkimage.c;
666 667
  common = util/grub-mkimage32.c;
  common = util/grub-mkimage64.c;
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
  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)';
692 693
};

694 695
script = {
  name = grub-mkconfig;
696
  common = util/grub-mkconfig.in;
697 698 699 700 701 702
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-set-default;
703
  common = util/grub-set-default.in;
704 705 706 707 708 709
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-reboot;
710
  common = util/grub-reboot.in;
711 712 713 714 715 716
  mansection = 8;
  installdir = sbin;
};

script = {
  name = grub-mkconfig_lib;
717
  common = util/grub-mkconfig_lib.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
718
  installdir = noinst;
719 720
};

721 722 723
script = {
  name = grub-kbdcomp;
  common = util/grub-kbdcomp.in;
724
  mansection = 1;
725 726
};

BVK Chaitanya's avatar
BVK Chaitanya committed
727
script = {
728
  name = grub-shell;
729
  common = tests/util/grub-shell.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
730
  installdir = noinst;
731 732
};

BVK Chaitanya's avatar
BVK Chaitanya committed
733
script = {
734
  name = grub-shell-tester;
735
  common = tests/util/grub-shell-tester.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
736
  installdir = noinst;
737 738
};

739 740 741 742
script = {
  name = grub-fs-tester;
  common = tests/util/grub-fs-tester.in;
  installdir = noinst;
743
  dependencies = 'garbage-gen$(BUILD_EXEEXT)';
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 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
};

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
860 861
script = {
  testcase;
862
  name = example_scripted_test;
863
  common = tests/example_scripted_test.in;
864 865
};

866 867 868 869
script = {
  testcase;
  name = gettext_strings_test;
  common = tests/gettext_strings_test.in;
870
  extra_dist = po/exclude.pot;
871 872
};

873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
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
903 904
script = {
  testcase;
905
  name = example_grub_script_test;
906
  common = tests/example_grub_script_test.in;
907 908
};

909 910 911 912 913 914
script = {
  testcase;
  name = grub_script_eval;
  common = tests/grub_script_eval.in;
};

915 916 917 918 919 920
script = {
  testcase;
  name = grub_script_test;
  common = tests/grub_script_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
921 922
script = {
  testcase;
923
  name = grub_script_echo1;
924
  common = tests/grub_script_echo1.in;
925 926
};

927 928 929 930 931 932
script = {
  testcase;
  name = grub_script_leading_whitespace;
  common = tests/grub_script_leading_whitespace.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
933 934
script = {
  testcase;
935
  name = grub_script_echo_keywords;
936
  common = tests/grub_script_echo_keywords.in;
937 938
};

BVK Chaitanya's avatar
BVK Chaitanya committed
939 940
script = {
  testcase;
941
  name = grub_script_vars1;
942
  common = tests/grub_script_vars1.in;
943 944
};

BVK Chaitanya's avatar
BVK Chaitanya committed
945 946
script = {
  testcase;
947
  name = grub_script_for1;
948
  common = tests/grub_script_for1.in;
949 950
};

BVK Chaitanya's avatar
BVK Chaitanya committed
951 952
script = {
  testcase;
953
  name = grub_script_while1;
954
  common = tests/grub_script_while1.in;
955 956
};

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

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

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

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

BVK Chaitanya's avatar
BVK Chaitanya committed
981 982
script = {
  testcase;
983
  name = grub_script_comments;
984
  common = tests/grub_script_comments.in;
985 986
};

BVK Chaitanya's avatar
BVK Chaitanya committed
987 988 989
script = {
  testcase;
  name = grub_script_functions;
990
  common = tests/grub_script_functions.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
991 992 993 994 995
};

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

script = {
  testcase;
  name = grub_script_continue;
1002
  common = tests/grub_script_continue.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
1003 1004 1005 1006 1007
};

script = {
  testcase;
  name = grub_script_shift;
1008
  common = tests/grub_script_shift.in;
BVK Chaitanya's avatar
BVK Chaitanya committed
1009 1010
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1011 1012 1013 1014 1015 1016
script = {
  testcase;
  name = grub_script_blockarg;
  common = tests/grub_script_blockarg.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1017 1018 1019 1020 1021 1022
script = {
  testcase;
  name = grub_script_setparams;
  common = tests/grub_script_setparams.in;
};

1023 1024 1025 1026 1027 1028
script = {
  testcase;
  name = grub_script_return;
  common = tests/grub_script_return.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1029 1030 1031 1032 1033 1034
script = {
  testcase;
  name = grub_cmd_regexp;
  common = tests/grub_cmd_regexp.in;
};

1035 1036 1037 1038 1039 1040
script = {
  testcase;
  name = grub_cmd_date;
  common = tests/grub_cmd_date.in;
};

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
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
1053 1054 1055 1056 1057 1058
script = {
  testcase;
  name = grub_script_expansion;
  common = tests/grub_script_expansion.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1059 1060 1061 1062 1063 1064
script = {
  testcase;
  name = grub_script_not;
  common = tests/grub_script_not.in;
};

1065 1066 1067 1068 1069 1070
script = {
  testcase;
  name = grub_script_no_commands;
  common = tests/grub_script_no_commands.in;
};

1071 1072 1073 1074 1075 1076
script = {
  testcase;
  name = partmap_test;
  common = tests/partmap_test.in;
};

1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106
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;
};

1107 1108 1109 1110 1111 1112
script = {
  testcase;
  name = core_compress_test;
  common = tests/core_compress_test.in;
};

1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
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
1131 1132 1133 1134 1135 1136
script = {
  testcase;
  name = grub_cmd_echo;
  common = tests/grub_cmd_echo.in;
};

1137 1138 1139 1140 1141 1142
script = {
  testcase;
  name = help_test;
  common = tests/help_test.in;
};

1143 1144 1145 1146 1147 1148
script = {
  testcase;
  name = grub_script_gettext;
  common = tests/grub_script_gettext.in;
};

1149 1150 1151 1152 1153 1154
script = {
  testcase;
  name = grub_script_escape_comma;
  common = tests/grub_script_escape_comma.in;
};

1155 1156 1157 1158 1159 1160
script = {
  testcase;
  name = grub_script_strcmp;
  common = tests/grub_script_strcmp.in;
};

1161 1162 1163 1164 1165 1166
script = {
  testcase;
  name = test_sha512sum;
  common = tests/test_sha512sum.in;
};

1167 1168 1169 1170 1171 1172
script = {
  testcase;
  name = test_unset;
  common = tests/test_unset.in;
};

1173 1174 1175 1176 1177 1178
script = {
  testcase;
  name = grub_func_test;
  common = tests/grub_func_test.in;
};

1179 1180 1181 1182 1183 1184
script = {
  testcase;
  name = grub_cmd_tr;
  common = tests/grub_cmd_tr.in;
};

1185 1186 1187 1188 1189 1190
script = {
  testcase;
  name = file_filter_test;
  common = tests/file_filter_test.in;
};

1191 1192 1193 1194 1195 1196
script = {
  testcase;
  name = grub_cmd_test;
  common = tests/grub_cmd_test.in;
};

1197 1198 1199 1200 1201 1202
script = {
  testcase;
  name = syslinux_test;
  common = tests/syslinux_test.in;
};

BVK Chaitanya's avatar
BVK Chaitanya committed
1203 1204
program = {
  testcase;
1205
  name = example_unit_test;
1206 1207 1208 1209 1210
  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;
1211
  ldadd = libgrubmods.a;
1212
  ldadd = libgrubgcry.a;
1213
  ldadd = libgrubkern.a;
1214
  ldadd = grub-core/gnulib/libgnu.a;
1215
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1216
};
1217

1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
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;
1228
  ldadd = libgrubkern.a;
1229
  ldadd = grub-core/gnulib/libgnu.a;
1230
  ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1231
};
1232

1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
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)';
};

1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
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;
};

1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
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)';
};

1280 1281 1282 1283 1284
program = {
  name = grub-menulst2cfg;
  mansection = 1;
  common = util/grub-menulst2cfg.c;
  common = grub-core/lib/legacy_parse.c;
1285
  common = grub-core/lib/i386/pc/vesa_modes_table.c;
1286
  common = grub-core/osdep/init.c;
1287

1288
  ldadd = libgrubmods.a;
1289
  ldadd = libgrubgcry.a;
1290
  ldadd = libgrubkern.a;
1291
  ldadd = grub-core/gnulib/libgnu.a;
1292
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1293
};
1294

1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312
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)';
};

1313 1314 1315 1316 1317
program = {
  name = grub-glue-efi;
  mansection = 1;

  common = util/grub-glue-efi.c;
1318
  common = util/glue-efi.c;
1319
  common = grub-core/kern/emu/argp_common.c;
1320
  common = grub-core/osdep/init.c;
1321 1322 1323 1324 1325 1326 1327 1328

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

1329 1330 1331 1332 1333
program = {
  name = grub-render-label;
  mansection = 1;

  common = util/grub-render-label.c;
1334
  common = util/render-label.c;
1335 1336 1337
  common = grub-core/kern/emu/argp_common.c;
  common = grub-core/kern/emu/hostfs.c;
  common = grub-core/disk/host.c;
1338
  common = grub-core/osdep/init.c;
1339 1340 1341 1342 1343 1344 1345

  ldadd = libgrubmods.a;
  ldadd = libgrubgcry.a;
  ldadd = libgrubkern.a;
  ldadd = grub-core/gnulib/libgnu.a;
  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374

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)';
};