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