]>
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; | |
a79b8a15 VS |
62 | common = grub-core/font/font.c; |
63 | common = grub-core/gfxmenu/font.c; | |
64 | common = grub-core/normal/charset.c; | |
65 | common = grub-core/video/fb/fbblit.c; | |
66 | common = grub-core/video/fb/fbutil.c; | |
67 | common = grub-core/video/fb/fbfill.c; | |
68 | common = grub-core/video/fb/video_fb.c; | |
69 | common = grub-core/video/video.c; | |
50361660 | 70 | common = grub-core/video/capture.c; |
a79b8a15 VS |
71 | common = grub-core/video/colors.c; |
72 | common = grub-core/unidata.c; | |
73 | common = grub-core/io/bufio.c; | |
8427685f | 74 | common = grub-core/fs/affs.c; |
8427685f | 75 | common = grub-core/fs/afs.c; |
5825b379 | 76 | common = grub-core/fs/bfs.c; |
4dfbc574 | 77 | common = grub-core/fs/btrfs.c; |
5027af38 VS |
78 | common = grub-core/fs/cbfs.c; |
79 | common = grub-core/fs/archelp.c; | |
8427685f | 80 | common = grub-core/fs/cpio.c; |
a1a8b1b9 VS |
81 | common = grub-core/fs/cpio_be.c; |
82 | common = grub-core/fs/odc.c; | |
83 | common = grub-core/fs/newc.c; | |
8427685f BC |
84 | common = grub-core/fs/ext2.c; |
85 | common = grub-core/fs/fat.c; | |
48fe18dc | 86 | common = grub-core/fs/exfat.c; |
8427685f BC |
87 | common = grub-core/fs/fshelp.c; |
88 | common = grub-core/fs/hfs.c; | |
89 | common = grub-core/fs/hfsplus.c; | |
8098f655 | 90 | common = grub-core/fs/hfspluscomp.c; |
8427685f BC |
91 | common = grub-core/fs/iso9660.c; |
92 | common = grub-core/fs/jfs.c; | |
93 | common = grub-core/fs/minix.c; | |
b4a0c915 | 94 | common = grub-core/fs/minix2.c; |
8fc88523 | 95 | common = grub-core/fs/minix3.c; |
ac66b453 VS |
96 | common = grub-core/fs/minix_be.c; |
97 | common = grub-core/fs/minix2_be.c; | |
98 | common = grub-core/fs/minix3_be.c; | |
8427685f BC |
99 | common = grub-core/fs/nilfs2.c; |
100 | common = grub-core/fs/ntfs.c; | |
101 | common = grub-core/fs/ntfscomp.c; | |
102 | common = grub-core/fs/reiserfs.c; | |
29184e93 | 103 | common = grub-core/fs/romfs.c; |
8427685f | 104 | common = grub-core/fs/sfs.c; |
332fa368 | 105 | common = grub-core/fs/squash4.c; |
8427685f BC |
106 | common = grub-core/fs/tar.c; |
107 | common = grub-core/fs/udf.c; | |
108 | common = grub-core/fs/ufs2.c; | |
109 | common = grub-core/fs/ufs.c; | |
d9c48c7b | 110 | common = grub-core/fs/ufs_be.c; |
8427685f | 111 | common = grub-core/fs/xfs.c; |
f003a8c5 | 112 | common = grub-core/fs/zfs/zfscrypt.c; |
bf78d5b2 | 113 | common = grub-core/fs/zfs/zfs.c; |
fdfde32a | 114 | common = grub-core/fs/zfs/zfsinfo.c; |
bf78d5b2 | 115 | common = grub-core/fs/zfs/zfs_lzjb.c; |
038016f4 | 116 | common = grub-core/fs/zfs/zfs_lz4.c; |
bf78d5b2 RM |
117 | common = grub-core/fs/zfs/zfs_sha256.c; |
118 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f BC |
119 | common = grub-core/lib/envblk.c; |
120 | common = grub-core/lib/hexdump.c; | |
8427685f BC |
121 | common = grub-core/lib/LzFind.c; |
122 | common = grub-core/lib/LzmaEnc.c; | |
3836e89d | 123 | common = grub-core/lib/crc.c; |
9a8d32a2 | 124 | common = grub-core/lib/adler32.c; |
158dc1ea | 125 | common = grub-core/lib/crc64.c; |
8427685f BC |
126 | common = grub-core/normal/datetime.c; |
127 | common = grub-core/normal/misc.c; | |
128 | common = grub-core/partmap/acorn.c; | |
129 | common = grub-core/partmap/amiga.c; | |
130 | common = grub-core/partmap/apple.c; | |
8427685f | 131 | common = grub-core/partmap/sun.c; |
ac9ef7ee | 132 | common = grub-core/partmap/plan.c; |
fb25a861 | 133 | common = grub-core/partmap/dvh.c; |
ad717fae | 134 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 135 | common = grub-core/partmap/bsdlabel.c; |
1e908b34 | 136 | common = grub-core/partmap/dfly.c; |
8427685f BC |
137 | common = grub-core/script/function.c; |
138 | common = grub-core/script/lexer.c; | |
139 | common = grub-core/script/main.c; | |
140 | common = grub-core/script/script.c; | |
141 | common = grub-core/script/argv.c; | |
3be8e5ea | 142 | common = grub-core/io/gzio.c; |
ec543969 | 143 | common = grub-core/io/lzopio.c; |
5452733f | 144 | common = grub-core/kern/ia64/dl_helper.c; |
095f077e | 145 | common = grub-core/lib/minilzo/minilzo.c; |
c029da8a VS |
146 | common = grub-core/lib/xzembed/xz_dec_bcj.c; |
147 | common = grub-core/lib/xzembed/xz_dec_lzma2.c; | |
148 | common = grub-core/lib/xzembed/xz_dec_stream.c; | |
8c411768 BC |
149 | }; |
150 | ||
151 | program = { | |
152 | name = grub-bin2h; | |
8427685f | 153 | common = util/bin2h.c; |
38631371 | 154 | ldadd = libgrubmods.a; |
7efb5c9e | 155 | ldadd = libgrubgcry.a; |
38631371 | 156 | ldadd = libgrubkern.a; |
15c69261 | 157 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 158 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER)'; |
24c9143a | 159 | installdir = noinst; |
8c411768 BC |
160 | }; |
161 | ||
162 | program = { | |
163 | name = grub-mkimage; | |
164 | mansection = 1; | |
165 | ||
8427685f BC |
166 | common = util/grub-mkimage.c; |
167 | common = util/resolve.c; | |
6a656b0e | 168 | common = grub-core/kern/emu/argp_common.c; |
c76899a0 | 169 | |
854f383c | 170 | common = grub-core/kern/arm/dl_helper.c; |
389b31cd | 171 | |
a60f6ee1 | 172 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 173 | |
38631371 | 174 | ldadd = libgrubmods.a; |
dcd73ec0 | 175 | ldadd = libgrubgcry.a; |
38631371 | 176 | ldadd = libgrubkern.a; |
4b2047e2 | 177 | ldadd = grub-core/gnulib/libgnu.a; |
2c44e493 | 178 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 179 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8151bc82 | 180 | cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"'; |
8c411768 BC |
181 | }; |
182 | ||
183 | program = { | |
184 | name = grub-mkrelpath; | |
185 | mansection = 1; | |
186 | ||
8427685f | 187 | common = util/grub-mkrelpath.c; |
6a656b0e | 188 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 189 | |
38631371 | 190 | ldadd = libgrubmods.a; |
7efb5c9e | 191 | ldadd = libgrubgcry.a; |
38631371 | 192 | ldadd = libgrubkern.a; |
15c69261 | 193 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 194 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
195 | }; |
196 | ||
197 | program = { | |
198 | name = grub-script-check; | |
199 | mansection = 1; | |
200 | ||
8427685f | 201 | common = util/grub-script-check.c; |
6a656b0e | 202 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 203 | |
38631371 | 204 | ldadd = libgrubmods.a; |
7efb5c9e | 205 | ldadd = libgrubgcry.a; |
38631371 | 206 | ldadd = libgrubkern.a; |
15c69261 | 207 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 208 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
209 | }; |
210 | ||
211 | program = { | |
212 | name = grub-editenv; | |
213 | mansection = 1; | |
214 | ||
8427685f | 215 | common = util/grub-editenv.c; |
8c411768 | 216 | |
38631371 | 217 | ldadd = libgrubmods.a; |
7efb5c9e | 218 | ldadd = libgrubgcry.a; |
38631371 | 219 | ldadd = libgrubkern.a; |
15c69261 | 220 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 221 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
222 | }; |
223 | ||
224 | program = { | |
225 | name = grub-mkpasswd-pbkdf2; | |
226 | mansection = 1; | |
227 | ||
8427685f | 228 | common = util/grub-mkpasswd-pbkdf2.c; |
6a656b0e | 229 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 230 | |
38631371 | 231 | ldadd = libgrubmods.a; |
dcd73ec0 | 232 | ldadd = libgrubgcry.a; |
38631371 | 233 | ldadd = libgrubkern.a; |
15c69261 | 234 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 235 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
236 | }; |
237 | ||
238 | program = { | |
239 | name = grub-macho2img; | |
240 | mansection = 1; | |
8427685f | 241 | common = util/grub-macho2img.c; |
911bd640 | 242 | condition = COND_APPLE_CC; |
8c411768 BC |
243 | }; |
244 | ||
245 | program = { | |
246 | name = grub-pe2elf; | |
247 | mansection = 1; | |
8427685f | 248 | common = util/grub-pe2elf.c; |
8c411768 | 249 | |
38631371 | 250 | ldadd = libgrubmods.a; |
7efb5c9e | 251 | ldadd = libgrubgcry.a; |
38631371 | 252 | ldadd = libgrubkern.a; |
15c69261 | 253 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 254 | ldadd = '$(LIBINTL)'; |
911bd640 | 255 | condition = COND_GRUB_PE2ELF; |
8c411768 BC |
256 | }; |
257 | ||
258 | program = { | |
259 | name = grub-fstest; | |
260 | mansection = 1; | |
905f7773 | 261 | common_nodist = grub_fstest_init.c; |
8427685f | 262 | common = util/grub-fstest.c; |
b6a690ee CW |
263 | common = grub-core/kern/emu/hostfs.c; |
264 | common = grub-core/disk/host.c; | |
8c411768 | 265 | |
38631371 | 266 | ldadd = libgrubmods.a; |
dcd73ec0 | 267 | ldadd = libgrubgcry.a; |
38631371 | 268 | ldadd = libgrubkern.a; |
15c69261 | 269 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 270 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
271 | }; |
272 | ||
92bb0786 | 273 | program = { |
89644ef1 | 274 | name = grub-mount; |
92bb0786 VS |
275 | mansection = 1; |
276 | common_nodist = grub_fstest_init.c; | |
89644ef1 | 277 | common = util/grub-mount.c; |
92bb0786 VS |
278 | common = grub-core/kern/emu/hostfs.c; |
279 | common = grub-core/disk/host.c; | |
280 | ||
281 | ldadd = libgrubmods.a; | |
f1f233ba | 282 | ldadd = libgrubgcry.a; |
92bb0786 VS |
283 | ldadd = libgrubkern.a; |
284 | ldadd = grub-core/gnulib/libgnu.a; | |
794c8c33 | 285 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse'; |
897e6207 | 286 | condition = COND_GRUB_MOUNT; |
8c411768 BC |
287 | }; |
288 | ||
289 | program = { | |
290 | name = grub-mkfont; | |
291 | mansection = 1; | |
8427685f BC |
292 | common = util/grub-mkfont.c; |
293 | common = grub-core/unidata.c; | |
6a656b0e | 294 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 295 | |
8c411768 | 296 | cflags = '$(freetype_cflags)'; |
2d465fb0 | 297 | |
38631371 | 298 | ldadd = libgrubmods.a; |
7efb5c9e | 299 | ldadd = libgrubgcry.a; |
38631371 | 300 | ldadd = libgrubkern.a; |
15c69261 | 301 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 302 | ldadd = '$(freetype_libs)'; |
f4727da9 | 303 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 304 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
305 | }; |
306 | ||
8c411768 BC |
307 | program = { |
308 | name = grub-probe; | |
309 | installdir = sbin; | |
310 | mansection = 8; | |
8427685f | 311 | common = util/grub-probe.c; |
6babad5e | 312 | common = util/ieee1275/ofpath.c; |
6a656b0e | 313 | common = grub-core/kern/emu/argp_common.c; |
8c411768 | 314 | |
38631371 | 315 | ldadd = libgrubmods.a; |
dcd73ec0 | 316 | ldadd = libgrubgcry.a; |
38631371 | 317 | ldadd = libgrubkern.a; |
15c69261 | 318 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 319 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
320 | }; |
321 | ||
322 | program = { | |
c36e5cd1 | 323 | name = grub-bios-setup; |
8c411768 BC |
324 | installdir = sbin; |
325 | mansection = 8; | |
d2ea4551 | 326 | common = util/grub-setup.c; |
d2ea4551 | 327 | common = util/lvm.c; |
6a656b0e | 328 | common = grub-core/kern/emu/argp_common.c; |
419cbeb0 | 329 | common = grub-core/lib/reed_solomon.c; |
8c411768 | 330 | |
38631371 BC |
331 | ldadd = libgrubmods.a; |
332 | ldadd = libgrubkern.a; | |
7efb5c9e | 333 | ldadd = libgrubgcry.a; |
15c69261 | 334 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 335 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
c36e5cd1 VS |
336 | cppflags = '-DGRUB_SETUP_BIOS=1'; |
337 | }; | |
911bd640 | 338 | |
c36e5cd1 VS |
339 | program = { |
340 | name = grub-sparc64-setup; | |
341 | installdir = sbin; | |
342 | mansection = 8; | |
343 | common = util/grub-setup.c; | |
344 | common = util/lvm.c; | |
345 | common = grub-core/kern/emu/argp_common.c; | |
346 | common = grub-core/lib/reed_solomon.c; | |
347 | common = util/ieee1275/ofpath.c; | |
348 | ||
349 | ldadd = libgrubmods.a; | |
350 | ldadd = libgrubkern.a; | |
351 | ldadd = libgrubgcry.a; | |
352 | ldadd = grub-core/gnulib/libgnu.a; | |
353 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
354 | cppflags = '-DGRUB_SETUP_SPARC64=1'; | |
8c411768 BC |
355 | }; |
356 | ||
357 | program = { | |
358 | name = grub-ofpathname; | |
359 | installdir = sbin; | |
63e3eea9 | 360 | mansection = 8; |
6c21f5d7 VS |
361 | common = util/ieee1275/grub-ofpathname.c; |
362 | common = util/ieee1275/ofpath.c; | |
8c411768 | 363 | |
38631371 | 364 | ldadd = libgrubmods.a; |
7efb5c9e | 365 | ldadd = libgrubgcry.a; |
38631371 | 366 | ldadd = libgrubkern.a; |
15c69261 | 367 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 368 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
8c411768 BC |
369 | }; |
370 | ||
5aaf2c18 VS |
371 | program = { |
372 | name = grub-mklayout; | |
373 | mansection = 1; | |
374 | ||
375 | common = util/grub-mklayout.c; | |
6a656b0e | 376 | common = grub-core/kern/emu/argp_common.c; |
5aaf2c18 | 377 | |
38631371 | 378 | ldadd = libgrubmods.a; |
7efb5c9e | 379 | ldadd = libgrubgcry.a; |
38631371 | 380 | ldadd = libgrubkern.a; |
15c69261 | 381 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 382 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
383 | }; |
384 | ||
8c411768 | 385 | data = { |
8427685f | 386 | common = util/grub.d/README; |
8c411768 | 387 | installdir = grubconf; |
8c411768 BC |
388 | }; |
389 | ||
390 | script = { | |
391 | name = '00_header'; | |
8427685f | 392 | common = util/grub.d/00_header.in; |
8c411768 | 393 | installdir = grubconf; |
8c411768 BC |
394 | }; |
395 | ||
396 | script = { | |
397 | name = '10_windows'; | |
8427685f | 398 | common = util/grub.d/10_windows.in; |
8c411768 | 399 | installdir = grubconf; |
f7711f5e | 400 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
401 | }; |
402 | ||
403 | script = { | |
404 | name = '10_hurd'; | |
8427685f | 405 | common = util/grub.d/10_hurd.in; |
8c411768 | 406 | installdir = grubconf; |
f7711f5e | 407 | condition = COND_HOST_HURD; |
5815f2c1 BC |
408 | }; |
409 | ||
410 | script = { | |
f51c98c4 | 411 | name = '10_kfreebsd'; |
5815f2c1 BC |
412 | common = util/grub.d/10_kfreebsd.in; |
413 | installdir = grubconf; | |
f7711f5e | 414 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
415 | }; |
416 | ||
958ee221 VS |
417 | script = { |
418 | name = '10_illumos'; | |
419 | common = util/grub.d/10_illumos.in; | |
420 | installdir = grubconf; | |
421 | condition = COND_HOST_ILLUMOS; | |
422 | }; | |
423 | ||
5815f2c1 | 424 | script = { |
f51c98c4 | 425 | name = '10_netbsd'; |
5815f2c1 BC |
426 | common = util/grub.d/10_netbsd.in; |
427 | installdir = grubconf; | |
f7711f5e | 428 | condition = COND_HOST_NETBSD; |
8c411768 BC |
429 | }; |
430 | ||
431 | script = { | |
432 | name = '10_linux'; | |
8427685f | 433 | common = util/grub.d/10_linux.in; |
8c411768 | 434 | installdir = grubconf; |
f7711f5e BC |
435 | condition = COND_HOST_LINUX; |
436 | }; | |
437 | ||
b105df76 VS |
438 | script = { |
439 | name = '10_xnu'; | |
440 | common = util/grub.d/10_xnu.in; | |
441 | installdir = grubconf; | |
442 | condition = COND_HOST_XNU; | |
443 | }; | |
444 | ||
f7711f5e BC |
445 | script = { |
446 | name = '20_linux_xen'; | |
447 | common = util/grub.d/20_linux_xen.in; | |
448 | installdir = grubconf; | |
449 | condition = COND_HOST_LINUX; | |
8c411768 BC |
450 | }; |
451 | ||
452 | script = { | |
453 | name = '30_os-prober'; | |
8427685f | 454 | common = util/grub.d/30_os-prober.in; |
8c411768 | 455 | installdir = grubconf; |
8c411768 BC |
456 | }; |
457 | ||
458 | script = { | |
459 | name = '40_custom'; | |
8427685f | 460 | common = util/grub.d/40_custom.in; |
8c411768 | 461 | installdir = grubconf; |
8c411768 BC |
462 | }; |
463 | ||
297f0c2b BC |
464 | script = { |
465 | name = '41_custom'; | |
8427685f | 466 | common = util/grub.d/41_custom.in; |
297f0c2b | 467 | installdir = grubconf; |
297f0c2b BC |
468 | }; |
469 | ||
8c411768 BC |
470 | script = { |
471 | mansection = 1; | |
472 | name = grub-mkrescue; | |
a79b8a15 VS |
473 | common = util/grub-install_header; |
474 | common = util/grub-mkrescue.in; | |
ab1440bd | 475 | enable = noemu; |
8c411768 BC |
476 | }; |
477 | ||
41aa28ea VS |
478 | script = { |
479 | mansection = 1; | |
480 | name = grub-mkstandalone; | |
aa428238 | 481 | common = util/grub-install_header; |
41aa28ea VS |
482 | common = util/grub-mkstandalone.in; |
483 | }; | |
484 | ||
8c411768 BC |
485 | script = { |
486 | mansection = 8; | |
487 | installdir = sbin; | |
488 | name = grub-install; | |
8427685f | 489 | |
aa428238 | 490 | common = util/grub-install_header; |
6c2111e9 | 491 | common = util/grub-install.in; |
eefe8abd | 492 | enable = noemu; |
8c411768 BC |
493 | }; |
494 | ||
8395034b | 495 | script = { |
288c757d CW |
496 | mansection = 1; |
497 | installdir = bin; | |
8395034b VS |
498 | name = grub-mknetdir; |
499 | ||
aa428238 | 500 | common = util/grub-install_header; |
8395034b VS |
501 | common = util/grub-mknetdir.in; |
502 | }; | |
503 | ||
8c411768 BC |
504 | script = { |
505 | name = grub-mkconfig; | |
8427685f | 506 | common = util/grub-mkconfig.in; |
8c411768 BC |
507 | mansection = 8; |
508 | installdir = sbin; | |
8c411768 BC |
509 | }; |
510 | ||
511 | script = { | |
512 | name = grub-set-default; | |
8427685f | 513 | common = util/grub-set-default.in; |
8c411768 BC |
514 | mansection = 8; |
515 | installdir = sbin; | |
8c411768 BC |
516 | }; |
517 | ||
518 | script = { | |
519 | name = grub-reboot; | |
8427685f | 520 | common = util/grub-reboot.in; |
8c411768 BC |
521 | mansection = 8; |
522 | installdir = sbin; | |
8c411768 BC |
523 | }; |
524 | ||
525 | script = { | |
526 | name = grub-mkconfig_lib; | |
8427685f | 527 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 528 | installdir = noinst; |
8c411768 BC |
529 | }; |
530 | ||
5aaf2c18 VS |
531 | script = { |
532 | name = grub-kbdcomp; | |
533 | common = util/grub-kbdcomp.in; | |
c76899a0 | 534 | mansection = 1; |
5aaf2c18 VS |
535 | }; |
536 | ||
911bd640 | 537 | script = { |
8c411768 | 538 | name = grub-shell; |
8427685f | 539 | common = tests/util/grub-shell.in; |
f7711f5e | 540 | installdir = noinst; |
8c411768 BC |
541 | }; |
542 | ||
911bd640 | 543 | script = { |
8c411768 | 544 | name = grub-shell-tester; |
8427685f | 545 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 546 | installdir = noinst; |
8c411768 BC |
547 | }; |
548 | ||
911bd640 BC |
549 | script = { |
550 | testcase; | |
8c411768 | 551 | name = example_scripted_test; |
8427685f | 552 | common = tests/example_scripted_test.in; |
8c411768 BC |
553 | }; |
554 | ||
43fe02cb VS |
555 | script = { |
556 | testcase; | |
557 | name = gettext_strings_test; | |
558 | common = tests/gettext_strings_test.in; | |
62b15edf | 559 | extra_dist = po/exclude.pot; |
43fe02cb VS |
560 | }; |
561 | ||
f7457fb2 VS |
562 | script = { |
563 | testcase; | |
564 | name = pata_test; | |
565 | common = tests/pata_test.in; | |
566 | }; | |
567 | ||
568 | script = { | |
569 | testcase; | |
570 | name = ahci_test; | |
571 | common = tests/ahci_test.in; | |
572 | }; | |
573 | ||
574 | script = { | |
575 | testcase; | |
576 | name = uhci_test; | |
577 | common = tests/uhci_test.in; | |
578 | }; | |
579 | ||
580 | script = { | |
581 | testcase; | |
582 | name = ohci_test; | |
583 | common = tests/ohci_test.in; | |
584 | }; | |
585 | ||
586 | script = { | |
587 | testcase; | |
588 | name = ehci_test; | |
589 | common = tests/ehci_test.in; | |
590 | }; | |
591 | ||
911bd640 BC |
592 | script = { |
593 | testcase; | |
8c411768 | 594 | name = example_grub_script_test; |
8427685f | 595 | common = tests/example_grub_script_test.in; |
8c411768 BC |
596 | }; |
597 | ||
3d84cb17 VS |
598 | script = { |
599 | testcase; | |
600 | name = grub_script_eval; | |
601 | common = tests/grub_script_eval.in; | |
602 | }; | |
603 | ||
daf01d61 VS |
604 | script = { |
605 | testcase; | |
606 | name = grub_script_test; | |
607 | common = tests/grub_script_test.in; | |
608 | }; | |
609 | ||
911bd640 BC |
610 | script = { |
611 | testcase; | |
8c411768 | 612 | name = grub_script_echo1; |
8427685f | 613 | common = tests/grub_script_echo1.in; |
8c411768 BC |
614 | }; |
615 | ||
ac6fd218 VS |
616 | script = { |
617 | testcase; | |
618 | name = grub_script_leading_whitespace; | |
619 | common = tests/grub_script_leading_whitespace.in; | |
620 | }; | |
621 | ||
911bd640 BC |
622 | script = { |
623 | testcase; | |
8c411768 | 624 | name = grub_script_echo_keywords; |
8427685f | 625 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
626 | }; |
627 | ||
911bd640 BC |
628 | script = { |
629 | testcase; | |
8c411768 | 630 | name = grub_script_vars1; |
8427685f | 631 | common = tests/grub_script_vars1.in; |
8c411768 BC |
632 | }; |
633 | ||
911bd640 BC |
634 | script = { |
635 | testcase; | |
8c411768 | 636 | name = grub_script_for1; |
8427685f | 637 | common = tests/grub_script_for1.in; |
8c411768 BC |
638 | }; |
639 | ||
911bd640 BC |
640 | script = { |
641 | testcase; | |
8c411768 | 642 | name = grub_script_while1; |
8427685f | 643 | common = tests/grub_script_while1.in; |
8c411768 BC |
644 | }; |
645 | ||
911bd640 BC |
646 | script = { |
647 | testcase; | |
8c411768 | 648 | name = grub_script_if; |
8427685f | 649 | common = tests/grub_script_if.in; |
8c411768 BC |
650 | }; |
651 | ||
911bd640 BC |
652 | script = { |
653 | testcase; | |
8c411768 | 654 | name = grub_script_blanklines; |
8427685f | 655 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
656 | }; |
657 | ||
911bd640 BC |
658 | script = { |
659 | testcase; | |
8c411768 | 660 | name = grub_script_final_semicolon; |
8427685f | 661 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
662 | }; |
663 | ||
911bd640 BC |
664 | script = { |
665 | testcase; | |
8c411768 | 666 | name = grub_script_dollar; |
8427685f | 667 | common = tests/grub_script_dollar.in; |
8c411768 BC |
668 | }; |
669 | ||
911bd640 BC |
670 | script = { |
671 | testcase; | |
8c411768 | 672 | name = grub_script_comments; |
8427685f | 673 | common = tests/grub_script_comments.in; |
8c411768 BC |
674 | }; |
675 | ||
16c7cb32 BC |
676 | script = { |
677 | testcase; | |
678 | name = grub_script_functions; | |
8427685f | 679 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
680 | }; |
681 | ||
682 | script = { | |
683 | testcase; | |
684 | name = grub_script_break; | |
8427685f | 685 | common = tests/grub_script_break.in; |
16c7cb32 BC |
686 | }; |
687 | ||
688 | script = { | |
689 | testcase; | |
690 | name = grub_script_continue; | |
8427685f | 691 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
692 | }; |
693 | ||
694 | script = { | |
695 | testcase; | |
696 | name = grub_script_shift; | |
8427685f | 697 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
698 | }; |
699 | ||
928bad47 BC |
700 | script = { |
701 | testcase; | |
702 | name = grub_script_blockarg; | |
703 | common = tests/grub_script_blockarg.in; | |
704 | }; | |
705 | ||
47b4c2c3 BC |
706 | script = { |
707 | testcase; | |
708 | name = grub_script_setparams; | |
709 | common = tests/grub_script_setparams.in; | |
710 | }; | |
711 | ||
aa5cd41a BC |
712 | script = { |
713 | testcase; | |
714 | name = grub_script_return; | |
715 | common = tests/grub_script_return.in; | |
716 | }; | |
717 | ||
ab8629d2 BC |
718 | script = { |
719 | testcase; | |
720 | name = grub_cmd_regexp; | |
721 | common = tests/grub_cmd_regexp.in; | |
722 | }; | |
723 | ||
e3734b84 VS |
724 | script = { |
725 | testcase; | |
726 | name = grub_cmd_date; | |
727 | common = tests/grub_cmd_date.in; | |
728 | }; | |
729 | ||
3f9634e5 VS |
730 | script = { |
731 | testcase; | |
732 | name = grub_cmd_set_date; | |
733 | common = tests/grub_cmd_set_date.in; | |
734 | }; | |
735 | ||
736 | script = { | |
737 | testcase; | |
738 | name = grub_cmd_sleep; | |
739 | common = tests/grub_cmd_sleep.in; | |
740 | }; | |
741 | ||
8fdefb92 BC |
742 | script = { |
743 | testcase; | |
744 | name = grub_script_expansion; | |
745 | common = tests/grub_script_expansion.in; | |
746 | }; | |
747 | ||
1bce65c7 BC |
748 | script = { |
749 | testcase; | |
750 | name = grub_script_not; | |
751 | common = tests/grub_script_not.in; | |
752 | }; | |
753 | ||
e639c204 CW |
754 | script = { |
755 | testcase; | |
756 | name = grub_script_no_commands; | |
757 | common = tests/grub_script_no_commands.in; | |
758 | }; | |
759 | ||
56672f4a | 760 | script = { |
761 | testcase; | |
762 | name = partmap_test; | |
763 | common = tests/partmap_test.in; | |
764 | }; | |
765 | ||
f93e89ef VS |
766 | script = { |
767 | testcase; | |
768 | name = hddboot_test; | |
769 | common = tests/hddboot_test.in; | |
770 | }; | |
771 | ||
772 | script = { | |
773 | testcase; | |
774 | name = fddboot_test; | |
775 | common = tests/fddboot_test.in; | |
776 | }; | |
777 | ||
778 | script = { | |
779 | testcase; | |
780 | name = cdboot_test; | |
781 | common = tests/cdboot_test.in; | |
782 | }; | |
783 | ||
784 | script = { | |
785 | testcase; | |
786 | name = netboot_test; | |
787 | common = tests/netboot_test.in; | |
788 | }; | |
789 | ||
790 | script = { | |
791 | testcase; | |
792 | name = pseries_test; | |
793 | common = tests/pseries_test.in; | |
794 | }; | |
795 | ||
e7b8fd08 VS |
796 | script = { |
797 | testcase; | |
798 | name = core_compress_test; | |
799 | common = tests/core_compress_test.in; | |
800 | }; | |
801 | ||
f93e89ef VS |
802 | script = { |
803 | testcase; | |
804 | name = xzcompress_test; | |
805 | common = tests/xzcompress_test.in; | |
806 | }; | |
807 | ||
808 | script = { | |
809 | testcase; | |
810 | name = gzcompress_test; | |
811 | common = tests/gzcompress_test.in; | |
812 | }; | |
813 | ||
814 | script = { | |
815 | testcase; | |
816 | name = lzocompress_test; | |
817 | common = tests/lzocompress_test.in; | |
818 | }; | |
819 | ||
79c93b42 BC |
820 | script = { |
821 | testcase; | |
822 | name = grub_cmd_echo; | |
823 | common = tests/grub_cmd_echo.in; | |
824 | }; | |
825 | ||
f7457fb2 VS |
826 | script = { |
827 | testcase; | |
828 | name = help_test; | |
829 | common = tests/help_test.in; | |
830 | }; | |
831 | ||
546fbe9b VS |
832 | script = { |
833 | testcase; | |
834 | name = grub_script_gettext; | |
835 | common = tests/grub_script_gettext.in; | |
836 | }; | |
837 | ||
f7457fb2 VS |
838 | script = { |
839 | testcase; | |
840 | name = grub_script_escape_comma; | |
841 | common = tests/grub_script_escape_comma.in; | |
842 | }; | |
843 | ||
ce41ab7a VS |
844 | script = { |
845 | testcase; | |
846 | name = grub_script_strcmp; | |
847 | common = tests/grub_script_strcmp.in; | |
848 | }; | |
849 | ||
50361660 VS |
850 | script = { |
851 | testcase; | |
852 | name = grub_func_test; | |
853 | common = tests/grub_func_test.in; | |
854 | }; | |
855 | ||
911bd640 BC |
856 | program = { |
857 | testcase; | |
8c411768 | 858 | name = example_unit_test; |
8427685f BC |
859 | common = tests/example_unit_test.c; |
860 | common = tests/lib/unit_test.c; | |
861 | common = grub-core/kern/list.c; | |
862 | common = grub-core/kern/misc.c; | |
863 | common = grub-core/tests/lib/test.c; | |
38631371 | 864 | ldadd = libgrubmods.a; |
7efb5c9e | 865 | ldadd = libgrubgcry.a; |
38631371 | 866 | ldadd = libgrubkern.a; |
dd363028 | 867 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 868 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 869 | }; |
fff175c7 | 870 | |
12d4f965 VS |
871 | program = { |
872 | testcase; | |
873 | name = printf_test; | |
874 | common = tests/printf_unit_test.c; | |
875 | common = tests/lib/unit_test.c; | |
876 | common = grub-core/kern/list.c; | |
877 | common = grub-core/kern/misc.c; | |
878 | common = grub-core/tests/lib/test.c; | |
879 | ldadd = libgrubmods.a; | |
880 | ldadd = libgrubgcry.a; | |
38631371 | 881 | ldadd = libgrubkern.a; |
dd363028 | 882 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 883 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 884 | }; |
fff175c7 | 885 | |
1eed0e6e VS |
886 | program = { |
887 | testcase; | |
888 | name = priority_queue_unit_test; | |
889 | common = tests/priority_queue_unit_test.cc; | |
890 | common = tests/lib/unit_test.c; | |
891 | common = grub-core/kern/list.c; | |
892 | common = grub-core/kern/misc.c; | |
893 | common = grub-core/tests/lib/test.c; | |
894 | common = grub-core/lib/priority_queue.c; | |
895 | ldadd = libgrubmods.a; | |
896 | ldadd = libgrubgcry.a; | |
897 | ldadd = libgrubkern.a; | |
898 | ldadd = grub-core/gnulib/libgnu.a; | |
899 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
900 | condition = COND_HAVE_CXX; | |
901 | }; | |
902 | ||
ce41ab7a VS |
903 | program = { |
904 | testcase; | |
905 | name = cmp_test; | |
906 | common = tests/cmp_unit_test.c; | |
907 | common = tests/lib/unit_test.c; | |
908 | common = grub-core/kern/list.c; | |
909 | common = grub-core/kern/misc.c; | |
910 | common = grub-core/tests/lib/test.c; | |
911 | ldadd = libgrubmods.a; | |
912 | ldadd = libgrubgcry.a; | |
913 | ldadd = libgrubkern.a; | |
914 | ldadd = grub-core/gnulib/libgnu.a; | |
915 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
916 | }; | |
917 | ||
fff175c7 VS |
918 | program = { |
919 | name = grub-menulst2cfg; | |
920 | mansection = 1; | |
921 | common = util/grub-menulst2cfg.c; | |
922 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
923 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
924 | ||
38631371 | 925 | ldadd = libgrubmods.a; |
7efb5c9e | 926 | ldadd = libgrubgcry.a; |
38631371 | 927 | ldadd = libgrubkern.a; |
15c69261 | 928 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 929 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 930 | }; |
a79b8a15 | 931 | |
67ab8353 VS |
932 | program = { |
933 | name = grub-glue-efi; | |
934 | mansection = 1; | |
935 | ||
936 | common = util/grub-glue-efi.c; | |
937 | common = grub-core/kern/emu/argp_common.c; | |
938 | ||
939 | ldadd = libgrubmods.a; | |
940 | ldadd = libgrubgcry.a; | |
941 | ldadd = libgrubkern.a; | |
942 | ldadd = grub-core/gnulib/libgnu.a; | |
943 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
944 | }; | |
945 | ||
a79b8a15 VS |
946 | program = { |
947 | name = grub-render-label; | |
948 | mansection = 1; | |
949 | ||
950 | common = util/grub-render-label.c; | |
951 | common = grub-core/kern/emu/argp_common.c; | |
952 | common = grub-core/kern/emu/hostfs.c; | |
953 | common = grub-core/disk/host.c; | |
954 | ||
955 | ldadd = libgrubmods.a; | |
956 | ldadd = libgrubgcry.a; | |
957 | ldadd = libgrubkern.a; | |
958 | ldadd = grub-core/gnulib/libgnu.a; | |
959 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
960 | }; |