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