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