]>
Commit | Line | Data |
---|---|---|
8c411768 BC |
1 | AutoGen definitions Makefile.tpl; |
2 | ||
4b2047e2 | 3 | library = { |
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; | |
2e418de6 VS |
12 | common = util/getroot.c; |
13 | common = util/raid.c; | |
38631371 BC |
14 | common = grub-core/kern/emu/hostdisk.c; |
15 | common = grub-core/kern/emu/misc.c; | |
16 | common = grub-core/kern/emu/mm.c; | |
4b2047e2 | 17 | common = grub-core/kern/env.c; |
38631371 BC |
18 | common = grub-core/kern/err.c; |
19 | common = grub-core/kern/file.c; | |
20 | common = grub-core/kern/fs.c; | |
4b2047e2 BC |
21 | common = grub-core/kern/list.c; |
22 | common = grub-core/kern/misc.c; | |
4b2047e2 | 23 | common = grub-core/kern/partition.c; |
dcd73ec0 VS |
24 | common = grub-core/lib/crypto.c; |
25 | common = grub-core/disk/luks.c; | |
1a1f408f | 26 | common = grub-core/disk/geli.c; |
8585e54b | 27 | common = grub-core/disk/cryptodisk.c; |
dcd73ec0 VS |
28 | common = grub-core/disk/AFSplitter.c; |
29 | common = grub-core/lib/pbkdf2.c; | |
30 | common = grub-core/commands/extcmd.c; | |
31 | common = grub-core/lib/arg.c; | |
076e7c0f VS |
32 | common = grub-core/disk/ldm.c; |
33 | common = grub-core/disk/diskfilter.c; | |
34 | common = grub-core/partmap/gpt.c; | |
4b2047e2 BC |
35 | }; |
36 | ||
8c411768 | 37 | library = { |
38631371 | 38 | name = libgrubmods.a; |
8e56f870 | 39 | cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn'; |
c029da8a | 40 | cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H'; |
8c411768 | 41 | |
8427685f BC |
42 | common_nodist = grub_script.tab.c; |
43 | common_nodist = grub_script.yy.c; | |
44 | common_nodist = libgrub_a_init.c; | |
45 | common_nodist = grub_script.yy.h; | |
46 | common_nodist = grub_script.tab.h; | |
47 | ||
8427685f | 48 | common = grub-core/commands/blocklist.c; |
3be82e10 | 49 | common = grub-core/commands/xnu_uuid.c; |
77ba5392 | 50 | common = grub-core/commands/testload.c; |
8427685f BC |
51 | common = grub-core/commands/ls.c; |
52 | common = grub-core/disk/dmraid_nvidia.c; | |
8427685f BC |
53 | common = grub-core/disk/loopback.c; |
54 | common = grub-core/disk/lvm.c; | |
55 | common = grub-core/disk/mdraid_linux.c; | |
22e6a774 | 56 | common = grub-core/disk/mdraid_linux_be.c; |
1e8d555b | 57 | common = grub-core/disk/mdraid1x_linux.c; |
8427685f BC |
58 | common = grub-core/disk/raid5_recover.c; |
59 | common = grub-core/disk/raid6_recover.c; | |
8427685f | 60 | common = grub-core/fs/affs.c; |
8427685f | 61 | common = grub-core/fs/afs.c; |
5825b379 | 62 | common = grub-core/fs/bfs.c; |
4dfbc574 | 63 | common = grub-core/fs/btrfs.c; |
8427685f | 64 | common = grub-core/fs/cpio.c; |
a1a8b1b9 VS |
65 | common = grub-core/fs/cpio_be.c; |
66 | common = grub-core/fs/odc.c; | |
67 | common = grub-core/fs/newc.c; | |
8427685f BC |
68 | common = grub-core/fs/ext2.c; |
69 | common = grub-core/fs/fat.c; | |
48fe18dc | 70 | common = grub-core/fs/exfat.c; |
8427685f BC |
71 | common = grub-core/fs/fshelp.c; |
72 | common = grub-core/fs/hfs.c; | |
73 | common = grub-core/fs/hfsplus.c; | |
74 | common = grub-core/fs/iso9660.c; | |
75 | common = grub-core/fs/jfs.c; | |
76 | common = grub-core/fs/minix.c; | |
b4a0c915 | 77 | common = grub-core/fs/minix2.c; |
8fc88523 | 78 | common = grub-core/fs/minix3.c; |
ac66b453 VS |
79 | common = grub-core/fs/minix_be.c; |
80 | common = grub-core/fs/minix2_be.c; | |
81 | common = grub-core/fs/minix3_be.c; | |
8427685f BC |
82 | common = grub-core/fs/nilfs2.c; |
83 | common = grub-core/fs/ntfs.c; | |
84 | common = grub-core/fs/ntfscomp.c; | |
85 | common = grub-core/fs/reiserfs.c; | |
29184e93 | 86 | common = grub-core/fs/romfs.c; |
8427685f | 87 | common = grub-core/fs/sfs.c; |
332fa368 | 88 | common = grub-core/fs/squash4.c; |
8427685f BC |
89 | common = grub-core/fs/tar.c; |
90 | common = grub-core/fs/udf.c; | |
91 | common = grub-core/fs/ufs2.c; | |
92 | common = grub-core/fs/ufs.c; | |
93 | common = grub-core/fs/xfs.c; | |
f003a8c5 | 94 | common = grub-core/fs/zfs/zfscrypt.c; |
bf78d5b2 | 95 | common = grub-core/fs/zfs/zfs.c; |
fdfde32a | 96 | common = grub-core/fs/zfs/zfsinfo.c; |
bf78d5b2 RM |
97 | common = grub-core/fs/zfs/zfs_lzjb.c; |
98 | common = grub-core/fs/zfs/zfs_sha256.c; | |
99 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f BC |
100 | common = grub-core/lib/envblk.c; |
101 | common = grub-core/lib/hexdump.c; | |
8427685f BC |
102 | common = grub-core/lib/LzFind.c; |
103 | common = grub-core/lib/LzmaEnc.c; | |
3836e89d | 104 | common = grub-core/lib/crc.c; |
9a8d32a2 | 105 | common = grub-core/lib/adler32.c; |
158dc1ea | 106 | common = grub-core/lib/crc64.c; |
8427685f BC |
107 | common = grub-core/normal/datetime.c; |
108 | common = grub-core/normal/misc.c; | |
109 | common = grub-core/partmap/acorn.c; | |
110 | common = grub-core/partmap/amiga.c; | |
111 | common = grub-core/partmap/apple.c; | |
8427685f BC |
112 | common = grub-core/partmap/msdos.c; |
113 | common = grub-core/partmap/sun.c; | |
ac9ef7ee | 114 | common = grub-core/partmap/plan.c; |
fb25a861 | 115 | common = grub-core/partmap/dvh.c; |
ad717fae | 116 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 117 | common = grub-core/partmap/bsdlabel.c; |
8427685f BC |
118 | common = grub-core/script/function.c; |
119 | common = grub-core/script/lexer.c; | |
120 | common = grub-core/script/main.c; | |
121 | common = grub-core/script/script.c; | |
122 | common = grub-core/script/argv.c; | |
3be8e5ea | 123 | common = grub-core/io/gzio.c; |
ec543969 | 124 | common = grub-core/io/lzopio.c; |
5452733f | 125 | common = grub-core/kern/ia64/dl_helper.c; |
095f077e | 126 | common = grub-core/lib/minilzo/minilzo.c; |
c029da8a VS |
127 | common = grub-core/lib/xzembed/xz_dec_bcj.c; |
128 | common = grub-core/lib/xzembed/xz_dec_lzma2.c; | |
129 | common = grub-core/lib/xzembed/xz_dec_stream.c; | |
8c411768 BC |
130 | }; |
131 | ||
132 | program = { | |
133 | name = grub-bin2h; | |
8427685f | 134 | common = util/bin2h.c; |
38631371 | 135 | ldadd = libgrubmods.a; |
7efb5c9e | 136 | ldadd = libgrubgcry.a; |
38631371 | 137 | ldadd = libgrubkern.a; |
15c69261 | 138 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 139 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER)'; |
24c9143a | 140 | installdir = noinst; |
8c411768 BC |
141 | }; |
142 | ||
143 | program = { | |
144 | name = grub-mkimage; | |
145 | mansection = 1; | |
146 | ||
8427685f BC |
147 | common = util/grub-mkimage.c; |
148 | common = util/resolve.c; | |
6a656b0e | 149 | common = grub-core/kern/emu/argp_common.c; |
c76899a0 | 150 | |
a60f6ee1 | 151 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 152 | |
38631371 | 153 | ldadd = libgrubmods.a; |
dcd73ec0 | 154 | ldadd = libgrubgcry.a; |
38631371 | 155 | ldadd = libgrubkern.a; |
4b2047e2 | 156 | ldadd = grub-core/gnulib/libgnu.a; |
2c44e493 | 157 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 158 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8151bc82 | 159 | cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"'; |
8c411768 BC |
160 | }; |
161 | ||
162 | program = { | |
163 | name = grub-mkrelpath; | |
164 | mansection = 1; | |
165 | ||
8427685f | 166 | common = util/grub-mkrelpath.c; |
6a656b0e | 167 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 168 | |
38631371 | 169 | ldadd = libgrubmods.a; |
7efb5c9e | 170 | ldadd = libgrubgcry.a; |
38631371 | 171 | ldadd = libgrubkern.a; |
15c69261 | 172 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 173 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
174 | }; |
175 | ||
176 | program = { | |
177 | name = grub-script-check; | |
178 | mansection = 1; | |
179 | ||
8427685f | 180 | common = util/grub-script-check.c; |
6a656b0e | 181 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 182 | |
38631371 | 183 | ldadd = libgrubmods.a; |
7efb5c9e | 184 | ldadd = libgrubgcry.a; |
38631371 | 185 | ldadd = libgrubkern.a; |
15c69261 | 186 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 187 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
188 | }; |
189 | ||
190 | program = { | |
191 | name = grub-editenv; | |
192 | mansection = 1; | |
193 | ||
8427685f | 194 | common = util/grub-editenv.c; |
8c411768 | 195 | |
38631371 | 196 | ldadd = libgrubmods.a; |
7efb5c9e | 197 | ldadd = libgrubgcry.a; |
38631371 | 198 | ldadd = libgrubkern.a; |
15c69261 | 199 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 200 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
201 | }; |
202 | ||
203 | program = { | |
204 | name = grub-mkpasswd-pbkdf2; | |
205 | mansection = 1; | |
206 | ||
8427685f | 207 | common = util/grub-mkpasswd-pbkdf2.c; |
6a656b0e | 208 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 209 | |
38631371 | 210 | ldadd = libgrubmods.a; |
dcd73ec0 | 211 | ldadd = libgrubgcry.a; |
38631371 | 212 | ldadd = libgrubkern.a; |
15c69261 | 213 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 214 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
215 | cflags = '$(CFLAGS_GCRY)'; |
216 | cppflags = '$(CPPFLAGS_GCRY)'; | |
8c411768 BC |
217 | }; |
218 | ||
219 | program = { | |
220 | name = grub-macho2img; | |
221 | mansection = 1; | |
8427685f | 222 | common = util/grub-macho2img.c; |
911bd640 | 223 | condition = COND_APPLE_CC; |
8c411768 BC |
224 | }; |
225 | ||
226 | program = { | |
227 | name = grub-pe2elf; | |
228 | mansection = 1; | |
8427685f | 229 | common = util/grub-pe2elf.c; |
8c411768 | 230 | |
38631371 | 231 | ldadd = libgrubmods.a; |
7efb5c9e | 232 | ldadd = libgrubgcry.a; |
38631371 | 233 | ldadd = libgrubkern.a; |
15c69261 | 234 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 235 | ldadd = '$(LIBINTL)'; |
911bd640 | 236 | condition = COND_GRUB_PE2ELF; |
8c411768 BC |
237 | }; |
238 | ||
239 | program = { | |
240 | name = grub-fstest; | |
241 | mansection = 1; | |
905f7773 | 242 | common_nodist = grub_fstest_init.c; |
8427685f | 243 | common = util/grub-fstest.c; |
b6a690ee CW |
244 | common = grub-core/kern/emu/hostfs.c; |
245 | common = grub-core/disk/host.c; | |
8c411768 | 246 | |
c55f5018 SJ |
247 | cflags = '$(CFLAGS_GCRY)'; |
248 | cppflags = '$(CPPFLAGS_GCRY)'; | |
15c69261 | 249 | |
38631371 | 250 | ldadd = libgrubmods.a; |
dcd73ec0 | 251 | ldadd = libgrubgcry.a; |
38631371 | 252 | ldadd = libgrubkern.a; |
15c69261 | 253 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 254 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
255 | }; |
256 | ||
92bb0786 | 257 | program = { |
89644ef1 | 258 | name = grub-mount; |
92bb0786 VS |
259 | mansection = 1; |
260 | common_nodist = grub_fstest_init.c; | |
89644ef1 | 261 | common = util/grub-mount.c; |
92bb0786 VS |
262 | common = grub-core/kern/emu/hostfs.c; |
263 | common = grub-core/disk/host.c; | |
264 | ||
265 | ldadd = libgrubmods.a; | |
f1f233ba | 266 | ldadd = libgrubgcry.a; |
92bb0786 VS |
267 | ldadd = libgrubkern.a; |
268 | ldadd = grub-core/gnulib/libgnu.a; | |
338c7fab | 269 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse'; |
897e6207 | 270 | condition = COND_GRUB_MOUNT; |
8c411768 BC |
271 | }; |
272 | ||
273 | program = { | |
274 | name = grub-mkfont; | |
275 | mansection = 1; | |
8427685f BC |
276 | common = util/grub-mkfont.c; |
277 | common = grub-core/unidata.c; | |
6a656b0e | 278 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 279 | |
8c411768 | 280 | cflags = '$(freetype_cflags)'; |
2d465fb0 | 281 | |
38631371 | 282 | ldadd = libgrubmods.a; |
7efb5c9e | 283 | ldadd = libgrubgcry.a; |
38631371 | 284 | ldadd = libgrubkern.a; |
15c69261 | 285 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 286 | ldadd = '$(freetype_libs)'; |
f4727da9 | 287 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 288 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
289 | }; |
290 | ||
8c411768 BC |
291 | program = { |
292 | name = grub-probe; | |
293 | installdir = sbin; | |
294 | mansection = 8; | |
8427685f | 295 | common = util/grub-probe.c; |
6babad5e | 296 | common = util/ieee1275/ofpath.c; |
6a656b0e | 297 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 298 | |
38631371 | 299 | ldadd = libgrubmods.a; |
dcd73ec0 | 300 | ldadd = libgrubgcry.a; |
38631371 | 301 | ldadd = libgrubkern.a; |
15c69261 | 302 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 303 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
304 | }; |
305 | ||
306 | program = { | |
c36e5cd1 | 307 | name = grub-bios-setup; |
8c411768 BC |
308 | installdir = sbin; |
309 | mansection = 8; | |
d2ea4551 | 310 | common = util/grub-setup.c; |
d2ea4551 | 311 | common = util/lvm.c; |
6a656b0e | 312 | common = grub-core/kern/emu/argp_common.c; |
419cbeb0 | 313 | common = grub-core/lib/reed_solomon.c; |
8c411768 | 314 | |
38631371 BC |
315 | ldadd = libgrubmods.a; |
316 | ldadd = libgrubkern.a; | |
7efb5c9e | 317 | ldadd = libgrubgcry.a; |
15c69261 | 318 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 319 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
c36e5cd1 VS |
320 | cppflags = '-DGRUB_SETUP_BIOS=1'; |
321 | }; | |
911bd640 | 322 | |
c36e5cd1 VS |
323 | program = { |
324 | name = grub-sparc64-setup; | |
325 | installdir = sbin; | |
326 | mansection = 8; | |
327 | common = util/grub-setup.c; | |
328 | common = util/lvm.c; | |
329 | common = grub-core/kern/emu/argp_common.c; | |
330 | common = grub-core/lib/reed_solomon.c; | |
331 | common = util/ieee1275/ofpath.c; | |
332 | ||
333 | ldadd = libgrubmods.a; | |
334 | ldadd = libgrubkern.a; | |
335 | ldadd = libgrubgcry.a; | |
336 | ldadd = grub-core/gnulib/libgnu.a; | |
337 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
338 | cppflags = '-DGRUB_SETUP_SPARC64=1'; | |
8c411768 BC |
339 | }; |
340 | ||
341 | program = { | |
342 | name = grub-ofpathname; | |
343 | installdir = sbin; | |
63e3eea9 | 344 | mansection = 8; |
6c21f5d7 VS |
345 | common = util/ieee1275/grub-ofpathname.c; |
346 | common = util/ieee1275/ofpath.c; | |
8c411768 | 347 | |
38631371 | 348 | ldadd = libgrubmods.a; |
7efb5c9e | 349 | ldadd = libgrubgcry.a; |
38631371 | 350 | ldadd = libgrubkern.a; |
15c69261 | 351 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 352 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
8c411768 BC |
353 | }; |
354 | ||
5aaf2c18 VS |
355 | program = { |
356 | name = grub-mklayout; | |
357 | mansection = 1; | |
358 | ||
359 | common = util/grub-mklayout.c; | |
6a656b0e | 360 | common = grub-core/kern/emu/argp_common.c; |
5aaf2c18 | 361 | |
38631371 | 362 | ldadd = libgrubmods.a; |
7efb5c9e | 363 | ldadd = libgrubgcry.a; |
38631371 | 364 | ldadd = libgrubkern.a; |
15c69261 | 365 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 366 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
367 | }; |
368 | ||
8c411768 | 369 | data = { |
8427685f | 370 | common = util/grub.d/README; |
8c411768 | 371 | installdir = grubconf; |
8c411768 BC |
372 | }; |
373 | ||
374 | script = { | |
375 | name = '00_header'; | |
8427685f | 376 | common = util/grub.d/00_header.in; |
8c411768 | 377 | installdir = grubconf; |
8c411768 BC |
378 | }; |
379 | ||
380 | script = { | |
381 | name = '10_windows'; | |
8427685f | 382 | common = util/grub.d/10_windows.in; |
8c411768 | 383 | installdir = grubconf; |
f7711f5e | 384 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
385 | }; |
386 | ||
387 | script = { | |
388 | name = '10_hurd'; | |
8427685f | 389 | common = util/grub.d/10_hurd.in; |
8c411768 | 390 | installdir = grubconf; |
f7711f5e | 391 | condition = COND_HOST_HURD; |
5815f2c1 BC |
392 | }; |
393 | ||
394 | script = { | |
f51c98c4 | 395 | name = '10_kfreebsd'; |
5815f2c1 BC |
396 | common = util/grub.d/10_kfreebsd.in; |
397 | installdir = grubconf; | |
f7711f5e | 398 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
399 | }; |
400 | ||
958ee221 VS |
401 | script = { |
402 | name = '10_illumos'; | |
403 | common = util/grub.d/10_illumos.in; | |
404 | installdir = grubconf; | |
405 | condition = COND_HOST_ILLUMOS; | |
406 | }; | |
407 | ||
5815f2c1 | 408 | script = { |
f51c98c4 | 409 | name = '10_netbsd'; |
5815f2c1 BC |
410 | common = util/grub.d/10_netbsd.in; |
411 | installdir = grubconf; | |
f7711f5e | 412 | condition = COND_HOST_NETBSD; |
8c411768 BC |
413 | }; |
414 | ||
415 | script = { | |
416 | name = '10_linux'; | |
8427685f | 417 | common = util/grub.d/10_linux.in; |
8c411768 | 418 | installdir = grubconf; |
f7711f5e BC |
419 | condition = COND_HOST_LINUX; |
420 | }; | |
421 | ||
b105df76 VS |
422 | script = { |
423 | name = '10_xnu'; | |
424 | common = util/grub.d/10_xnu.in; | |
425 | installdir = grubconf; | |
426 | condition = COND_HOST_XNU; | |
427 | }; | |
428 | ||
f7711f5e BC |
429 | script = { |
430 | name = '20_linux_xen'; | |
431 | common = util/grub.d/20_linux_xen.in; | |
432 | installdir = grubconf; | |
433 | condition = COND_HOST_LINUX; | |
8c411768 BC |
434 | }; |
435 | ||
436 | script = { | |
437 | name = '30_os-prober'; | |
8427685f | 438 | common = util/grub.d/30_os-prober.in; |
8c411768 | 439 | installdir = grubconf; |
8c411768 BC |
440 | }; |
441 | ||
442 | script = { | |
443 | name = '40_custom'; | |
8427685f | 444 | common = util/grub.d/40_custom.in; |
8c411768 | 445 | installdir = grubconf; |
8c411768 BC |
446 | }; |
447 | ||
297f0c2b BC |
448 | script = { |
449 | name = '41_custom'; | |
8427685f | 450 | common = util/grub.d/41_custom.in; |
297f0c2b | 451 | installdir = grubconf; |
297f0c2b BC |
452 | }; |
453 | ||
8c411768 BC |
454 | script = { |
455 | mansection = 1; | |
456 | name = grub-mkrescue; | |
eefe8abd | 457 | x86 = util/grub-mkrescue.in; |
8c411768 | 458 | powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; |
911bd640 | 459 | enable = i386_pc; |
6585de4c VS |
460 | enable = i386_efi; |
461 | enable = x86_64_efi; | |
911bd640 | 462 | enable = i386_qemu; |
f5c1e402 | 463 | enable = i386_multiboot; |
911bd640 BC |
464 | enable = i386_coreboot; |
465 | enable = powerpc_ieee1275; | |
8c411768 BC |
466 | }; |
467 | ||
41aa28ea VS |
468 | script = { |
469 | mansection = 1; | |
470 | name = grub-mkstandalone; | |
471 | common = util/grub-mkstandalone.in; | |
472 | }; | |
473 | ||
8c411768 BC |
474 | script = { |
475 | mansection = 8; | |
476 | installdir = sbin; | |
477 | name = grub-install; | |
8427685f | 478 | |
6c2111e9 | 479 | common = util/grub-install.in; |
eefe8abd | 480 | enable = noemu; |
8c411768 BC |
481 | }; |
482 | ||
8395034b VS |
483 | script = { |
484 | mansection = 8; | |
485 | installdir = sbin; | |
486 | name = grub-mknetdir; | |
487 | ||
488 | common = util/grub-mknetdir.in; | |
489 | }; | |
490 | ||
8c411768 BC |
491 | script = { |
492 | name = grub-mkconfig; | |
8427685f | 493 | common = util/grub-mkconfig.in; |
8c411768 BC |
494 | mansection = 8; |
495 | installdir = sbin; | |
8c411768 BC |
496 | }; |
497 | ||
498 | script = { | |
499 | name = grub-set-default; | |
8427685f | 500 | common = util/grub-set-default.in; |
8c411768 BC |
501 | mansection = 8; |
502 | installdir = sbin; | |
8c411768 BC |
503 | }; |
504 | ||
505 | script = { | |
506 | name = grub-reboot; | |
8427685f | 507 | common = util/grub-reboot.in; |
8c411768 BC |
508 | mansection = 8; |
509 | installdir = sbin; | |
8c411768 BC |
510 | }; |
511 | ||
512 | script = { | |
513 | name = grub-mkconfig_lib; | |
8427685f | 514 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 515 | installdir = noinst; |
8c411768 BC |
516 | }; |
517 | ||
5aaf2c18 VS |
518 | script = { |
519 | name = grub-kbdcomp; | |
520 | common = util/grub-kbdcomp.in; | |
c76899a0 | 521 | mansection = 1; |
5aaf2c18 VS |
522 | }; |
523 | ||
911bd640 | 524 | script = { |
8c411768 | 525 | name = grub-shell; |
8427685f | 526 | common = tests/util/grub-shell.in; |
f7711f5e | 527 | installdir = noinst; |
8c411768 BC |
528 | }; |
529 | ||
911bd640 | 530 | script = { |
8c411768 | 531 | name = grub-shell-tester; |
8427685f | 532 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 533 | installdir = noinst; |
8c411768 BC |
534 | }; |
535 | ||
911bd640 BC |
536 | script = { |
537 | testcase; | |
8c411768 | 538 | name = example_scripted_test; |
8427685f | 539 | common = tests/example_scripted_test.in; |
8c411768 BC |
540 | }; |
541 | ||
911bd640 BC |
542 | script = { |
543 | testcase; | |
8c411768 | 544 | name = example_grub_script_test; |
8427685f | 545 | common = tests/example_grub_script_test.in; |
8c411768 BC |
546 | }; |
547 | ||
911bd640 BC |
548 | script = { |
549 | testcase; | |
8c411768 | 550 | name = grub_script_echo1; |
8427685f | 551 | common = tests/grub_script_echo1.in; |
8c411768 BC |
552 | }; |
553 | ||
ac6fd218 VS |
554 | script = { |
555 | testcase; | |
556 | name = grub_script_leading_whitespace; | |
557 | common = tests/grub_script_leading_whitespace.in; | |
558 | }; | |
559 | ||
911bd640 BC |
560 | script = { |
561 | testcase; | |
8c411768 | 562 | name = grub_script_echo_keywords; |
8427685f | 563 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
564 | }; |
565 | ||
911bd640 BC |
566 | script = { |
567 | testcase; | |
8c411768 | 568 | name = grub_script_vars1; |
8427685f | 569 | common = tests/grub_script_vars1.in; |
8c411768 BC |
570 | }; |
571 | ||
911bd640 BC |
572 | script = { |
573 | testcase; | |
8c411768 | 574 | name = grub_script_for1; |
8427685f | 575 | common = tests/grub_script_for1.in; |
8c411768 BC |
576 | }; |
577 | ||
911bd640 BC |
578 | script = { |
579 | testcase; | |
8c411768 | 580 | name = grub_script_while1; |
8427685f | 581 | common = tests/grub_script_while1.in; |
8c411768 BC |
582 | }; |
583 | ||
911bd640 BC |
584 | script = { |
585 | testcase; | |
8c411768 | 586 | name = grub_script_if; |
8427685f | 587 | common = tests/grub_script_if.in; |
8c411768 BC |
588 | }; |
589 | ||
911bd640 BC |
590 | script = { |
591 | testcase; | |
8c411768 | 592 | name = grub_script_blanklines; |
8427685f | 593 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
594 | }; |
595 | ||
911bd640 BC |
596 | script = { |
597 | testcase; | |
8c411768 | 598 | name = grub_script_final_semicolon; |
8427685f | 599 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
600 | }; |
601 | ||
911bd640 BC |
602 | script = { |
603 | testcase; | |
8c411768 | 604 | name = grub_script_dollar; |
8427685f | 605 | common = tests/grub_script_dollar.in; |
8c411768 BC |
606 | }; |
607 | ||
911bd640 BC |
608 | script = { |
609 | testcase; | |
8c411768 | 610 | name = grub_script_comments; |
8427685f | 611 | common = tests/grub_script_comments.in; |
8c411768 BC |
612 | }; |
613 | ||
16c7cb32 BC |
614 | script = { |
615 | testcase; | |
616 | name = grub_script_functions; | |
8427685f | 617 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
618 | }; |
619 | ||
620 | script = { | |
621 | testcase; | |
622 | name = grub_script_break; | |
8427685f | 623 | common = tests/grub_script_break.in; |
16c7cb32 BC |
624 | }; |
625 | ||
626 | script = { | |
627 | testcase; | |
628 | name = grub_script_continue; | |
8427685f | 629 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
630 | }; |
631 | ||
632 | script = { | |
633 | testcase; | |
634 | name = grub_script_shift; | |
8427685f | 635 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
636 | }; |
637 | ||
928bad47 BC |
638 | script = { |
639 | testcase; | |
640 | name = grub_script_blockarg; | |
641 | common = tests/grub_script_blockarg.in; | |
642 | }; | |
643 | ||
47b4c2c3 BC |
644 | script = { |
645 | testcase; | |
646 | name = grub_script_setparams; | |
647 | common = tests/grub_script_setparams.in; | |
648 | }; | |
649 | ||
aa5cd41a BC |
650 | script = { |
651 | testcase; | |
652 | name = grub_script_return; | |
653 | common = tests/grub_script_return.in; | |
654 | }; | |
655 | ||
ab8629d2 BC |
656 | script = { |
657 | testcase; | |
658 | name = grub_cmd_regexp; | |
659 | common = tests/grub_cmd_regexp.in; | |
660 | }; | |
661 | ||
8fdefb92 BC |
662 | script = { |
663 | testcase; | |
664 | name = grub_script_expansion; | |
665 | common = tests/grub_script_expansion.in; | |
666 | }; | |
667 | ||
1bce65c7 BC |
668 | script = { |
669 | testcase; | |
670 | name = grub_script_not; | |
671 | common = tests/grub_script_not.in; | |
672 | }; | |
673 | ||
56672f4a | 674 | script = { |
675 | testcase; | |
676 | name = partmap_test; | |
677 | common = tests/partmap_test.in; | |
678 | }; | |
679 | ||
79c93b42 BC |
680 | script = { |
681 | testcase; | |
682 | name = grub_cmd_echo; | |
683 | common = tests/grub_cmd_echo.in; | |
684 | }; | |
685 | ||
546fbe9b VS |
686 | script = { |
687 | testcase; | |
688 | name = grub_script_gettext; | |
689 | common = tests/grub_script_gettext.in; | |
690 | }; | |
691 | ||
ce41ab7a VS |
692 | script = { |
693 | testcase; | |
694 | name = grub_script_strcmp; | |
695 | common = tests/grub_script_strcmp.in; | |
696 | }; | |
697 | ||
911bd640 BC |
698 | program = { |
699 | testcase; | |
8c411768 | 700 | name = example_unit_test; |
8427685f BC |
701 | common = tests/example_unit_test.c; |
702 | common = tests/lib/unit_test.c; | |
703 | common = grub-core/kern/list.c; | |
704 | common = grub-core/kern/misc.c; | |
705 | common = grub-core/tests/lib/test.c; | |
8c411768 | 706 | cflags = -Wno-format; |
38631371 | 707 | ldadd = libgrubmods.a; |
7efb5c9e | 708 | ldadd = libgrubgcry.a; |
38631371 | 709 | ldadd = libgrubkern.a; |
dd363028 | 710 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 711 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 712 | }; |
fff175c7 | 713 | |
12d4f965 VS |
714 | program = { |
715 | testcase; | |
716 | name = printf_test; | |
717 | common = tests/printf_unit_test.c; | |
718 | common = tests/lib/unit_test.c; | |
719 | common = grub-core/kern/list.c; | |
720 | common = grub-core/kern/misc.c; | |
721 | common = grub-core/tests/lib/test.c; | |
722 | ldadd = libgrubmods.a; | |
723 | ldadd = libgrubgcry.a; | |
38631371 | 724 | ldadd = libgrubkern.a; |
dd363028 | 725 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 726 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 727 | }; |
fff175c7 | 728 | |
ce41ab7a VS |
729 | program = { |
730 | testcase; | |
731 | name = cmp_test; | |
732 | common = tests/cmp_unit_test.c; | |
733 | common = tests/lib/unit_test.c; | |
734 | common = grub-core/kern/list.c; | |
735 | common = grub-core/kern/misc.c; | |
736 | common = grub-core/tests/lib/test.c; | |
737 | ldadd = libgrubmods.a; | |
738 | ldadd = libgrubgcry.a; | |
739 | ldadd = libgrubkern.a; | |
740 | ldadd = grub-core/gnulib/libgnu.a; | |
741 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
742 | }; | |
743 | ||
fff175c7 VS |
744 | program = { |
745 | name = grub-menulst2cfg; | |
746 | mansection = 1; | |
747 | common = util/grub-menulst2cfg.c; | |
748 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
749 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
750 | ||
38631371 | 751 | ldadd = libgrubmods.a; |
7efb5c9e | 752 | ldadd = libgrubgcry.a; |
38631371 | 753 | ldadd = libgrubkern.a; |
15c69261 | 754 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 755 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 756 | }; |