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