]>
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; |
070038f8 VS |
458 | mips_qemu_mips = util/grub-mkrescue.in; |
459 | ia64_efi = util/grub-mkrescue.in; | |
8c411768 | 460 | powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; |
911bd640 | 461 | enable = i386_pc; |
6585de4c VS |
462 | enable = i386_efi; |
463 | enable = x86_64_efi; | |
911bd640 | 464 | enable = i386_qemu; |
f5c1e402 | 465 | enable = i386_multiboot; |
911bd640 | 466 | enable = i386_coreboot; |
070038f8 VS |
467 | enable = mips_qemu_mips; |
468 | enable = ia64_efi; | |
911bd640 | 469 | enable = powerpc_ieee1275; |
8c411768 BC |
470 | }; |
471 | ||
41aa28ea VS |
472 | script = { |
473 | mansection = 1; | |
474 | name = grub-mkstandalone; | |
475 | common = util/grub-mkstandalone.in; | |
476 | }; | |
477 | ||
8c411768 BC |
478 | script = { |
479 | mansection = 8; | |
480 | installdir = sbin; | |
481 | name = grub-install; | |
8427685f | 482 | |
6c2111e9 | 483 | common = util/grub-install.in; |
eefe8abd | 484 | enable = noemu; |
8c411768 BC |
485 | }; |
486 | ||
8395034b VS |
487 | script = { |
488 | mansection = 8; | |
489 | installdir = sbin; | |
490 | name = grub-mknetdir; | |
491 | ||
492 | common = util/grub-mknetdir.in; | |
493 | }; | |
494 | ||
8c411768 BC |
495 | script = { |
496 | name = grub-mkconfig; | |
8427685f | 497 | common = util/grub-mkconfig.in; |
8c411768 BC |
498 | mansection = 8; |
499 | installdir = sbin; | |
8c411768 BC |
500 | }; |
501 | ||
502 | script = { | |
503 | name = grub-set-default; | |
8427685f | 504 | common = util/grub-set-default.in; |
8c411768 BC |
505 | mansection = 8; |
506 | installdir = sbin; | |
8c411768 BC |
507 | }; |
508 | ||
509 | script = { | |
510 | name = grub-reboot; | |
8427685f | 511 | common = util/grub-reboot.in; |
8c411768 BC |
512 | mansection = 8; |
513 | installdir = sbin; | |
8c411768 BC |
514 | }; |
515 | ||
516 | script = { | |
517 | name = grub-mkconfig_lib; | |
8427685f | 518 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 519 | installdir = noinst; |
8c411768 BC |
520 | }; |
521 | ||
5aaf2c18 VS |
522 | script = { |
523 | name = grub-kbdcomp; | |
524 | common = util/grub-kbdcomp.in; | |
c76899a0 | 525 | mansection = 1; |
5aaf2c18 VS |
526 | }; |
527 | ||
911bd640 | 528 | script = { |
8c411768 | 529 | name = grub-shell; |
8427685f | 530 | common = tests/util/grub-shell.in; |
f7711f5e | 531 | installdir = noinst; |
8c411768 BC |
532 | }; |
533 | ||
911bd640 | 534 | script = { |
8c411768 | 535 | name = grub-shell-tester; |
8427685f | 536 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 537 | installdir = noinst; |
8c411768 BC |
538 | }; |
539 | ||
911bd640 BC |
540 | script = { |
541 | testcase; | |
8c411768 | 542 | name = example_scripted_test; |
8427685f | 543 | common = tests/example_scripted_test.in; |
8c411768 BC |
544 | }; |
545 | ||
911bd640 BC |
546 | script = { |
547 | testcase; | |
8c411768 | 548 | name = example_grub_script_test; |
8427685f | 549 | common = tests/example_grub_script_test.in; |
8c411768 BC |
550 | }; |
551 | ||
911bd640 BC |
552 | script = { |
553 | testcase; | |
8c411768 | 554 | name = grub_script_echo1; |
8427685f | 555 | common = tests/grub_script_echo1.in; |
8c411768 BC |
556 | }; |
557 | ||
ac6fd218 VS |
558 | script = { |
559 | testcase; | |
560 | name = grub_script_leading_whitespace; | |
561 | common = tests/grub_script_leading_whitespace.in; | |
562 | }; | |
563 | ||
911bd640 BC |
564 | script = { |
565 | testcase; | |
8c411768 | 566 | name = grub_script_echo_keywords; |
8427685f | 567 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
568 | }; |
569 | ||
911bd640 BC |
570 | script = { |
571 | testcase; | |
8c411768 | 572 | name = grub_script_vars1; |
8427685f | 573 | common = tests/grub_script_vars1.in; |
8c411768 BC |
574 | }; |
575 | ||
911bd640 BC |
576 | script = { |
577 | testcase; | |
8c411768 | 578 | name = grub_script_for1; |
8427685f | 579 | common = tests/grub_script_for1.in; |
8c411768 BC |
580 | }; |
581 | ||
911bd640 BC |
582 | script = { |
583 | testcase; | |
8c411768 | 584 | name = grub_script_while1; |
8427685f | 585 | common = tests/grub_script_while1.in; |
8c411768 BC |
586 | }; |
587 | ||
911bd640 BC |
588 | script = { |
589 | testcase; | |
8c411768 | 590 | name = grub_script_if; |
8427685f | 591 | common = tests/grub_script_if.in; |
8c411768 BC |
592 | }; |
593 | ||
911bd640 BC |
594 | script = { |
595 | testcase; | |
8c411768 | 596 | name = grub_script_blanklines; |
8427685f | 597 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
598 | }; |
599 | ||
911bd640 BC |
600 | script = { |
601 | testcase; | |
8c411768 | 602 | name = grub_script_final_semicolon; |
8427685f | 603 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
604 | }; |
605 | ||
911bd640 BC |
606 | script = { |
607 | testcase; | |
8c411768 | 608 | name = grub_script_dollar; |
8427685f | 609 | common = tests/grub_script_dollar.in; |
8c411768 BC |
610 | }; |
611 | ||
911bd640 BC |
612 | script = { |
613 | testcase; | |
8c411768 | 614 | name = grub_script_comments; |
8427685f | 615 | common = tests/grub_script_comments.in; |
8c411768 BC |
616 | }; |
617 | ||
16c7cb32 BC |
618 | script = { |
619 | testcase; | |
620 | name = grub_script_functions; | |
8427685f | 621 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
622 | }; |
623 | ||
624 | script = { | |
625 | testcase; | |
626 | name = grub_script_break; | |
8427685f | 627 | common = tests/grub_script_break.in; |
16c7cb32 BC |
628 | }; |
629 | ||
630 | script = { | |
631 | testcase; | |
632 | name = grub_script_continue; | |
8427685f | 633 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
634 | }; |
635 | ||
636 | script = { | |
637 | testcase; | |
638 | name = grub_script_shift; | |
8427685f | 639 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
640 | }; |
641 | ||
928bad47 BC |
642 | script = { |
643 | testcase; | |
644 | name = grub_script_blockarg; | |
645 | common = tests/grub_script_blockarg.in; | |
646 | }; | |
647 | ||
47b4c2c3 BC |
648 | script = { |
649 | testcase; | |
650 | name = grub_script_setparams; | |
651 | common = tests/grub_script_setparams.in; | |
652 | }; | |
653 | ||
aa5cd41a BC |
654 | script = { |
655 | testcase; | |
656 | name = grub_script_return; | |
657 | common = tests/grub_script_return.in; | |
658 | }; | |
659 | ||
ab8629d2 BC |
660 | script = { |
661 | testcase; | |
662 | name = grub_cmd_regexp; | |
663 | common = tests/grub_cmd_regexp.in; | |
664 | }; | |
665 | ||
8fdefb92 BC |
666 | script = { |
667 | testcase; | |
668 | name = grub_script_expansion; | |
669 | common = tests/grub_script_expansion.in; | |
670 | }; | |
671 | ||
1bce65c7 BC |
672 | script = { |
673 | testcase; | |
674 | name = grub_script_not; | |
675 | common = tests/grub_script_not.in; | |
676 | }; | |
677 | ||
56672f4a | 678 | script = { |
679 | testcase; | |
680 | name = partmap_test; | |
681 | common = tests/partmap_test.in; | |
682 | }; | |
683 | ||
79c93b42 BC |
684 | script = { |
685 | testcase; | |
686 | name = grub_cmd_echo; | |
687 | common = tests/grub_cmd_echo.in; | |
688 | }; | |
689 | ||
546fbe9b VS |
690 | script = { |
691 | testcase; | |
692 | name = grub_script_gettext; | |
693 | common = tests/grub_script_gettext.in; | |
694 | }; | |
695 | ||
ce41ab7a VS |
696 | script = { |
697 | testcase; | |
698 | name = grub_script_strcmp; | |
699 | common = tests/grub_script_strcmp.in; | |
700 | }; | |
701 | ||
911bd640 BC |
702 | program = { |
703 | testcase; | |
8c411768 | 704 | name = example_unit_test; |
8427685f BC |
705 | common = tests/example_unit_test.c; |
706 | common = tests/lib/unit_test.c; | |
707 | common = grub-core/kern/list.c; | |
708 | common = grub-core/kern/misc.c; | |
709 | common = grub-core/tests/lib/test.c; | |
38631371 | 710 | ldadd = libgrubmods.a; |
7efb5c9e | 711 | ldadd = libgrubgcry.a; |
38631371 | 712 | ldadd = libgrubkern.a; |
dd363028 | 713 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 714 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 715 | }; |
fff175c7 | 716 | |
12d4f965 VS |
717 | program = { |
718 | testcase; | |
719 | name = printf_test; | |
720 | common = tests/printf_unit_test.c; | |
721 | common = tests/lib/unit_test.c; | |
722 | common = grub-core/kern/list.c; | |
723 | common = grub-core/kern/misc.c; | |
724 | common = grub-core/tests/lib/test.c; | |
725 | ldadd = libgrubmods.a; | |
726 | ldadd = libgrubgcry.a; | |
38631371 | 727 | ldadd = libgrubkern.a; |
dd363028 | 728 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 729 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 730 | }; |
fff175c7 | 731 | |
ce41ab7a VS |
732 | program = { |
733 | testcase; | |
734 | name = cmp_test; | |
735 | common = tests/cmp_unit_test.c; | |
736 | common = tests/lib/unit_test.c; | |
737 | common = grub-core/kern/list.c; | |
738 | common = grub-core/kern/misc.c; | |
739 | common = grub-core/tests/lib/test.c; | |
740 | ldadd = libgrubmods.a; | |
741 | ldadd = libgrubgcry.a; | |
742 | ldadd = libgrubkern.a; | |
743 | ldadd = grub-core/gnulib/libgnu.a; | |
744 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
745 | }; | |
746 | ||
fff175c7 VS |
747 | program = { |
748 | name = grub-menulst2cfg; | |
749 | mansection = 1; | |
750 | common = util/grub-menulst2cfg.c; | |
751 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
752 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
753 | ||
38631371 | 754 | ldadd = libgrubmods.a; |
7efb5c9e | 755 | ldadd = libgrubgcry.a; |
38631371 | 756 | ldadd = libgrubkern.a; |
15c69261 | 757 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 758 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 759 | }; |