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