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