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