]>
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; | |
12 | common = grub-core/kern/emu/getroot.c; | |
13 | common = grub-core/kern/emu/hostdisk.c; | |
14 | common = grub-core/kern/emu/misc.c; | |
15 | common = grub-core/kern/emu/mm.c; | |
4b2047e2 | 16 | common = grub-core/kern/env.c; |
38631371 BC |
17 | common = grub-core/kern/err.c; |
18 | common = grub-core/kern/file.c; | |
19 | common = grub-core/kern/fs.c; | |
4b2047e2 BC |
20 | common = grub-core/kern/list.c; |
21 | common = grub-core/kern/misc.c; | |
4b2047e2 | 22 | common = grub-core/kern/partition.c; |
4b2047e2 BC |
23 | }; |
24 | ||
8c411768 | 25 | library = { |
38631371 | 26 | name = libgrubmods.a; |
8c411768 BC |
27 | cflags = '$(CFLAGS_GCRY)'; |
28 | cppflags = '$(CPPFLAGS_GCRY)'; | |
29 | ||
8427685f BC |
30 | common_nodist = grub_script.tab.c; |
31 | common_nodist = grub_script.yy.c; | |
32 | common_nodist = libgrub_a_init.c; | |
33 | common_nodist = grub_script.yy.h; | |
34 | common_nodist = grub_script.tab.h; | |
35 | ||
8427685f BC |
36 | common = grub-core/commands/blocklist.c; |
37 | common = grub-core/commands/extcmd.c; | |
38 | common = grub-core/commands/ls.c; | |
39 | common = grub-core/disk/dmraid_nvidia.c; | |
8427685f BC |
40 | common = grub-core/disk/loopback.c; |
41 | common = grub-core/disk/lvm.c; | |
42 | common = grub-core/disk/mdraid_linux.c; | |
1e8d555b | 43 | common = grub-core/disk/mdraid1x_linux.c; |
8427685f BC |
44 | common = grub-core/disk/raid5_recover.c; |
45 | common = grub-core/disk/raid6_recover.c; | |
46 | common = grub-core/disk/raid.c; | |
47 | common = grub-core/fs/affs.c; | |
48 | common = grub-core/fs/afs_be.c; | |
49 | common = grub-core/fs/afs.c; | |
50 | common = grub-core/fs/befs_be.c; | |
51 | common = grub-core/fs/befs.c; | |
4dfbc574 | 52 | common = grub-core/fs/btrfs.c; |
8427685f BC |
53 | common = grub-core/fs/cpio.c; |
54 | common = grub-core/fs/ext2.c; | |
55 | common = grub-core/fs/fat.c; | |
56 | common = grub-core/fs/fshelp.c; | |
57 | common = grub-core/fs/hfs.c; | |
58 | common = grub-core/fs/hfsplus.c; | |
59 | common = grub-core/fs/iso9660.c; | |
60 | common = grub-core/fs/jfs.c; | |
61 | common = grub-core/fs/minix.c; | |
b4a0c915 | 62 | common = grub-core/fs/minix2.c; |
8427685f BC |
63 | common = grub-core/fs/nilfs2.c; |
64 | common = grub-core/fs/ntfs.c; | |
65 | common = grub-core/fs/ntfscomp.c; | |
66 | common = grub-core/fs/reiserfs.c; | |
67 | common = grub-core/fs/sfs.c; | |
68 | common = grub-core/fs/tar.c; | |
69 | common = grub-core/fs/udf.c; | |
70 | common = grub-core/fs/ufs2.c; | |
71 | common = grub-core/fs/ufs.c; | |
72 | common = grub-core/fs/xfs.c; | |
bf78d5b2 RM |
73 | common = grub-core/fs/zfs/zfs.c; |
74 | common = grub-core/fs/zfs/zfs_lzjb.c; | |
75 | common = grub-core/fs/zfs/zfs_sha256.c; | |
76 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f | 77 | common = grub-core/lib/arg.c; |
8427685f BC |
78 | common = grub-core/lib/crypto.c; |
79 | common = grub-core/lib/envblk.c; | |
80 | common = grub-core/lib/hexdump.c; | |
81 | common = grub-core/lib/libgcrypt-grub/cipher/sha512.c; | |
c55f5018 | 82 | common = grub-core/lib/libgcrypt-grub/cipher/crc.c; |
8427685f BC |
83 | common = grub-core/lib/LzFind.c; |
84 | common = grub-core/lib/LzmaEnc.c; | |
85 | common = grub-core/lib/pbkdf2.c; | |
86 | common = grub-core/normal/datetime.c; | |
87 | common = grub-core/normal/misc.c; | |
88 | common = grub-core/partmap/acorn.c; | |
89 | common = grub-core/partmap/amiga.c; | |
90 | common = grub-core/partmap/apple.c; | |
91 | common = grub-core/partmap/gpt.c; | |
92 | common = grub-core/partmap/msdos.c; | |
93 | common = grub-core/partmap/sun.c; | |
ad717fae | 94 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 95 | common = grub-core/partmap/bsdlabel.c; |
8427685f BC |
96 | common = grub-core/script/function.c; |
97 | common = grub-core/script/lexer.c; | |
98 | common = grub-core/script/main.c; | |
99 | common = grub-core/script/script.c; | |
100 | common = grub-core/script/argv.c; | |
8c411768 BC |
101 | }; |
102 | ||
103 | program = { | |
104 | name = grub-bin2h; | |
8427685f | 105 | common = util/bin2h.c; |
38631371 BC |
106 | ldadd = libgrubmods.a; |
107 | ldadd = libgrubkern.a; | |
15c69261 | 108 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 109 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER)'; |
8c411768 | 110 | mansection = 1; |
8c411768 BC |
111 | }; |
112 | ||
113 | program = { | |
114 | name = grub-mkimage; | |
115 | mansection = 1; | |
116 | ||
8427685f BC |
117 | common = util/grub-mkimage.c; |
118 | common = util/resolve.c; | |
a60f6ee1 | 119 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 120 | |
38631371 BC |
121 | ldadd = libgrubmods.a; |
122 | ldadd = libgrubkern.a; | |
4b2047e2 | 123 | ldadd = grub-core/gnulib/libgnu.a; |
2c44e493 | 124 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 125 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
d270972a | 126 | cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"'; |
8c411768 BC |
127 | }; |
128 | ||
129 | program = { | |
130 | name = grub-mkrelpath; | |
131 | mansection = 1; | |
132 | ||
8427685f | 133 | common = util/grub-mkrelpath.c; |
8c411768 | 134 | |
38631371 BC |
135 | ldadd = libgrubmods.a; |
136 | ldadd = libgrubkern.a; | |
15c69261 | 137 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 138 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
139 | }; |
140 | ||
141 | program = { | |
142 | name = grub-script-check; | |
143 | mansection = 1; | |
144 | ||
8427685f | 145 | common = util/grub-script-check.c; |
8c411768 | 146 | |
38631371 BC |
147 | ldadd = libgrubmods.a; |
148 | ldadd = libgrubkern.a; | |
15c69261 | 149 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 150 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
151 | }; |
152 | ||
153 | program = { | |
154 | name = grub-editenv; | |
155 | mansection = 1; | |
156 | ||
8427685f | 157 | common = util/grub-editenv.c; |
8c411768 | 158 | |
38631371 BC |
159 | ldadd = libgrubmods.a; |
160 | ldadd = libgrubkern.a; | |
15c69261 | 161 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 162 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
163 | }; |
164 | ||
165 | program = { | |
166 | name = grub-mkpasswd-pbkdf2; | |
167 | mansection = 1; | |
168 | ||
8427685f | 169 | common = util/grub-mkpasswd-pbkdf2.c; |
8c411768 | 170 | |
38631371 BC |
171 | ldadd = libgrubmods.a; |
172 | ldadd = libgrubkern.a; | |
15c69261 | 173 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 174 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
175 | cflags = '$(CFLAGS_GCRY)'; |
176 | cppflags = '$(CPPFLAGS_GCRY)'; | |
8c411768 BC |
177 | }; |
178 | ||
179 | program = { | |
180 | name = grub-macho2img; | |
181 | mansection = 1; | |
8427685f | 182 | common = util/grub-macho2img.c; |
911bd640 | 183 | condition = COND_APPLE_CC; |
8c411768 BC |
184 | }; |
185 | ||
186 | program = { | |
187 | name = grub-pe2elf; | |
188 | mansection = 1; | |
8427685f | 189 | common = util/grub-pe2elf.c; |
8c411768 | 190 | |
38631371 BC |
191 | ldadd = libgrubmods.a; |
192 | ldadd = libgrubkern.a; | |
15c69261 | 193 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 194 | ldadd = '$(LIBINTL)'; |
911bd640 | 195 | condition = COND_GRUB_PE2ELF; |
8c411768 BC |
196 | }; |
197 | ||
198 | program = { | |
199 | name = grub-fstest; | |
200 | mansection = 1; | |
905f7773 | 201 | common_nodist = grub_fstest_init.c; |
8427685f | 202 | common = util/grub-fstest.c; |
b6a690ee CW |
203 | common = grub-core/kern/emu/hostfs.c; |
204 | common = grub-core/disk/host.c; | |
8c411768 | 205 | |
c55f5018 SJ |
206 | cflags = '$(CFLAGS_GCRY)'; |
207 | cppflags = '$(CPPFLAGS_GCRY)'; | |
15c69261 | 208 | |
38631371 BC |
209 | ldadd = libgrubmods.a; |
210 | ldadd = libgrubkern.a; | |
15c69261 | 211 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 212 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
213 | }; |
214 | ||
215 | program = { | |
216 | name = grub-mkfont; | |
217 | mansection = 1; | |
8427685f BC |
218 | common = util/grub-mkfont.c; |
219 | common = grub-core/unidata.c; | |
8c411768 | 220 | |
8c411768 | 221 | cflags = '$(freetype_cflags)'; |
2d465fb0 | 222 | |
38631371 BC |
223 | ldadd = libgrubmods.a; |
224 | ldadd = libgrubkern.a; | |
15c69261 | 225 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 226 | ldadd = '$(freetype_libs)'; |
f4727da9 | 227 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 228 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
229 | }; |
230 | ||
231 | program = { | |
232 | name = grub-mkdevicemap; | |
233 | installdir = sbin; | |
234 | mansection = 8; | |
5815f2c1 BC |
235 | |
236 | common = util/grub-mkdevicemap.c; | |
237 | common = util/deviceiter.c; | |
8427685f | 238 | nosparc64 = util/devicemap.c; |
8c411768 | 239 | |
8c411768 BC |
240 | sparc64_ieee1275 = util/ieee1275/ofpath.c; |
241 | sparc64_ieee1275 = util/ieee1275/devicemap.c; | |
242 | ||
38631371 BC |
243 | ldadd = libgrubmods.a; |
244 | ldadd = libgrubkern.a; | |
15c69261 | 245 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 246 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
247 | }; |
248 | ||
249 | program = { | |
250 | name = grub-probe; | |
251 | installdir = sbin; | |
252 | mansection = 8; | |
8427685f | 253 | common = util/grub-probe.c; |
8c411768 | 254 | |
38631371 BC |
255 | ldadd = libgrubmods.a; |
256 | ldadd = libgrubkern.a; | |
15c69261 | 257 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 258 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
259 | }; |
260 | ||
261 | program = { | |
262 | name = grub-setup; | |
263 | installdir = sbin; | |
264 | mansection = 8; | |
d2ea4551 VS |
265 | common = util/grub-setup.c; |
266 | common = util/raid.c; | |
267 | common = util/lvm.c; | |
419cbeb0 | 268 | common = grub-core/lib/reed_solomon.c; |
8c411768 BC |
269 | |
270 | sparc64_ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 271 | |
38631371 BC |
272 | ldadd = libgrubmods.a; |
273 | ldadd = libgrubkern.a; | |
15c69261 | 274 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 275 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 BC |
276 | |
277 | enable = i386_pc; | |
278 | enable = sparc64_ieee1275; | |
8c411768 BC |
279 | }; |
280 | ||
281 | program = { | |
282 | name = grub-ofpathname; | |
283 | installdir = sbin; | |
8427685f BC |
284 | ieee1275 = util/ieee1275/grub-ofpathname.c; |
285 | ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 286 | |
38631371 BC |
287 | ldadd = libgrubmods.a; |
288 | ldadd = libgrubkern.a; | |
15c69261 | 289 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 290 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
4b2047e2 | 291 | |
911bd640 | 292 | enable = sparc64_ieee1275; |
8c411768 BC |
293 | }; |
294 | ||
5aaf2c18 VS |
295 | program = { |
296 | name = grub-mklayout; | |
297 | mansection = 1; | |
298 | ||
299 | common = util/grub-mklayout.c; | |
300 | ||
38631371 BC |
301 | ldadd = libgrubmods.a; |
302 | ldadd = libgrubkern.a; | |
15c69261 | 303 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 304 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
305 | }; |
306 | ||
8c411768 | 307 | data = { |
8427685f | 308 | common = util/grub.d/README; |
8c411768 | 309 | installdir = grubconf; |
8c411768 BC |
310 | }; |
311 | ||
312 | script = { | |
313 | name = '00_header'; | |
8427685f | 314 | common = util/grub.d/00_header.in; |
8c411768 | 315 | installdir = grubconf; |
8c411768 BC |
316 | }; |
317 | ||
318 | script = { | |
319 | name = '10_windows'; | |
8427685f | 320 | common = util/grub.d/10_windows.in; |
8c411768 | 321 | installdir = grubconf; |
f7711f5e | 322 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
323 | }; |
324 | ||
325 | script = { | |
326 | name = '10_hurd'; | |
8427685f | 327 | common = util/grub.d/10_hurd.in; |
8c411768 | 328 | installdir = grubconf; |
f7711f5e | 329 | condition = COND_HOST_HURD; |
5815f2c1 BC |
330 | }; |
331 | ||
332 | script = { | |
f51c98c4 | 333 | name = '10_kfreebsd'; |
5815f2c1 BC |
334 | common = util/grub.d/10_kfreebsd.in; |
335 | installdir = grubconf; | |
f7711f5e | 336 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
337 | }; |
338 | ||
339 | script = { | |
f51c98c4 | 340 | name = '10_netbsd'; |
5815f2c1 BC |
341 | common = util/grub.d/10_netbsd.in; |
342 | installdir = grubconf; | |
f7711f5e | 343 | condition = COND_HOST_NETBSD; |
8c411768 BC |
344 | }; |
345 | ||
346 | script = { | |
347 | name = '10_linux'; | |
8427685f | 348 | common = util/grub.d/10_linux.in; |
8c411768 | 349 | installdir = grubconf; |
f7711f5e BC |
350 | condition = COND_HOST_LINUX; |
351 | }; | |
352 | ||
353 | script = { | |
354 | name = '20_linux_xen'; | |
355 | common = util/grub.d/20_linux_xen.in; | |
356 | installdir = grubconf; | |
357 | condition = COND_HOST_LINUX; | |
8c411768 BC |
358 | }; |
359 | ||
360 | script = { | |
361 | name = '30_os-prober'; | |
8427685f | 362 | common = util/grub.d/30_os-prober.in; |
8c411768 | 363 | installdir = grubconf; |
8c411768 BC |
364 | }; |
365 | ||
366 | script = { | |
367 | name = '40_custom'; | |
8427685f | 368 | common = util/grub.d/40_custom.in; |
8c411768 | 369 | installdir = grubconf; |
8c411768 BC |
370 | }; |
371 | ||
297f0c2b BC |
372 | script = { |
373 | name = '41_custom'; | |
8427685f | 374 | common = util/grub.d/41_custom.in; |
297f0c2b | 375 | installdir = grubconf; |
297f0c2b BC |
376 | }; |
377 | ||
8c411768 BC |
378 | script = { |
379 | mansection = 1; | |
380 | name = grub-mkrescue; | |
eefe8abd | 381 | x86 = util/grub-mkrescue.in; |
8c411768 | 382 | powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; |
911bd640 | 383 | enable = i386_pc; |
f7711f5e | 384 | enable = x86_efi; |
911bd640 | 385 | enable = i386_qemu; |
f5c1e402 | 386 | enable = i386_multiboot; |
911bd640 BC |
387 | enable = i386_coreboot; |
388 | enable = powerpc_ieee1275; | |
8c411768 BC |
389 | }; |
390 | ||
391 | script = { | |
392 | mansection = 8; | |
393 | installdir = sbin; | |
394 | name = grub-install; | |
8427685f | 395 | |
6c2111e9 | 396 | common = util/grub-install.in; |
eefe8abd | 397 | enable = noemu; |
8c411768 BC |
398 | }; |
399 | ||
8395034b VS |
400 | script = { |
401 | mansection = 8; | |
402 | installdir = sbin; | |
403 | name = grub-mknetdir; | |
404 | ||
405 | common = util/grub-mknetdir.in; | |
406 | }; | |
407 | ||
8c411768 BC |
408 | script = { |
409 | name = grub-mkconfig; | |
8427685f | 410 | common = util/grub-mkconfig.in; |
8c411768 BC |
411 | mansection = 8; |
412 | installdir = sbin; | |
8c411768 BC |
413 | }; |
414 | ||
415 | script = { | |
416 | name = grub-set-default; | |
8427685f | 417 | common = util/grub-set-default.in; |
8c411768 BC |
418 | mansection = 8; |
419 | installdir = sbin; | |
8c411768 BC |
420 | }; |
421 | ||
422 | script = { | |
423 | name = grub-reboot; | |
8427685f | 424 | common = util/grub-reboot.in; |
8c411768 BC |
425 | mansection = 8; |
426 | installdir = sbin; | |
8c411768 BC |
427 | }; |
428 | ||
429 | script = { | |
430 | name = grub-mkconfig_lib; | |
8427685f | 431 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 432 | installdir = noinst; |
8c411768 BC |
433 | }; |
434 | ||
435 | script = { | |
436 | name = update-grub_lib; | |
8427685f | 437 | common = util/update-grub_lib.in; |
f7711f5e | 438 | installdir = noinst; |
8c411768 BC |
439 | }; |
440 | ||
5aaf2c18 VS |
441 | script = { |
442 | name = grub-kbdcomp; | |
443 | common = util/grub-kbdcomp.in; | |
444 | }; | |
445 | ||
911bd640 | 446 | script = { |
8c411768 | 447 | name = grub-shell; |
8427685f | 448 | common = tests/util/grub-shell.in; |
f7711f5e | 449 | installdir = noinst; |
8c411768 BC |
450 | }; |
451 | ||
911bd640 | 452 | script = { |
8c411768 | 453 | name = grub-shell-tester; |
8427685f | 454 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 455 | installdir = noinst; |
8c411768 BC |
456 | }; |
457 | ||
911bd640 BC |
458 | script = { |
459 | testcase; | |
8c411768 | 460 | name = example_scripted_test; |
8427685f | 461 | common = tests/example_scripted_test.in; |
8c411768 BC |
462 | }; |
463 | ||
911bd640 BC |
464 | script = { |
465 | testcase; | |
8c411768 | 466 | name = example_grub_script_test; |
8427685f | 467 | common = tests/example_grub_script_test.in; |
8c411768 BC |
468 | }; |
469 | ||
911bd640 BC |
470 | script = { |
471 | testcase; | |
8c411768 | 472 | name = grub_script_echo1; |
8427685f | 473 | common = tests/grub_script_echo1.in; |
8c411768 BC |
474 | }; |
475 | ||
911bd640 BC |
476 | script = { |
477 | testcase; | |
8c411768 | 478 | name = grub_script_echo_keywords; |
8427685f | 479 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
480 | }; |
481 | ||
911bd640 BC |
482 | script = { |
483 | testcase; | |
8c411768 | 484 | name = grub_script_vars1; |
8427685f | 485 | common = tests/grub_script_vars1.in; |
8c411768 BC |
486 | }; |
487 | ||
911bd640 BC |
488 | script = { |
489 | testcase; | |
8c411768 | 490 | name = grub_script_for1; |
8427685f | 491 | common = tests/grub_script_for1.in; |
8c411768 BC |
492 | }; |
493 | ||
911bd640 BC |
494 | script = { |
495 | testcase; | |
8c411768 | 496 | name = grub_script_while1; |
8427685f | 497 | common = tests/grub_script_while1.in; |
8c411768 BC |
498 | }; |
499 | ||
911bd640 BC |
500 | script = { |
501 | testcase; | |
8c411768 | 502 | name = grub_script_if; |
8427685f | 503 | common = tests/grub_script_if.in; |
8c411768 BC |
504 | }; |
505 | ||
911bd640 BC |
506 | script = { |
507 | testcase; | |
8c411768 | 508 | name = grub_script_blanklines; |
8427685f | 509 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
510 | }; |
511 | ||
911bd640 BC |
512 | script = { |
513 | testcase; | |
8c411768 | 514 | name = grub_script_final_semicolon; |
8427685f | 515 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
516 | }; |
517 | ||
911bd640 BC |
518 | script = { |
519 | testcase; | |
8c411768 | 520 | name = grub_script_dollar; |
8427685f | 521 | common = tests/grub_script_dollar.in; |
8c411768 BC |
522 | }; |
523 | ||
911bd640 BC |
524 | script = { |
525 | testcase; | |
8c411768 | 526 | name = grub_script_comments; |
8427685f | 527 | common = tests/grub_script_comments.in; |
8c411768 BC |
528 | }; |
529 | ||
16c7cb32 BC |
530 | script = { |
531 | testcase; | |
532 | name = grub_script_functions; | |
8427685f | 533 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
534 | }; |
535 | ||
536 | script = { | |
537 | testcase; | |
538 | name = grub_script_break; | |
8427685f | 539 | common = tests/grub_script_break.in; |
16c7cb32 BC |
540 | }; |
541 | ||
542 | script = { | |
543 | testcase; | |
544 | name = grub_script_continue; | |
8427685f | 545 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
546 | }; |
547 | ||
548 | script = { | |
549 | testcase; | |
550 | name = grub_script_shift; | |
8427685f | 551 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
552 | }; |
553 | ||
928bad47 BC |
554 | script = { |
555 | testcase; | |
556 | name = grub_script_blockarg; | |
557 | common = tests/grub_script_blockarg.in; | |
558 | }; | |
559 | ||
47b4c2c3 BC |
560 | script = { |
561 | testcase; | |
562 | name = grub_script_setparams; | |
563 | common = tests/grub_script_setparams.in; | |
564 | }; | |
565 | ||
aa5cd41a BC |
566 | script = { |
567 | testcase; | |
568 | name = grub_script_return; | |
569 | common = tests/grub_script_return.in; | |
570 | }; | |
571 | ||
ab8629d2 BC |
572 | script = { |
573 | testcase; | |
574 | name = grub_cmd_regexp; | |
575 | common = tests/grub_cmd_regexp.in; | |
576 | }; | |
577 | ||
8fdefb92 BC |
578 | script = { |
579 | testcase; | |
580 | name = grub_script_expansion; | |
581 | common = tests/grub_script_expansion.in; | |
582 | }; | |
583 | ||
1bce65c7 BC |
584 | script = { |
585 | testcase; | |
586 | name = grub_script_not; | |
587 | common = tests/grub_script_not.in; | |
588 | }; | |
589 | ||
56672f4a | 590 | script = { |
591 | testcase; | |
592 | name = partmap_test; | |
593 | common = tests/partmap_test.in; | |
594 | }; | |
595 | ||
79c93b42 BC |
596 | script = { |
597 | testcase; | |
598 | name = grub_cmd_echo; | |
599 | common = tests/grub_cmd_echo.in; | |
600 | }; | |
601 | ||
911bd640 BC |
602 | program = { |
603 | testcase; | |
8c411768 | 604 | name = example_unit_test; |
8427685f BC |
605 | common = tests/example_unit_test.c; |
606 | common = tests/lib/unit_test.c; | |
607 | common = grub-core/kern/list.c; | |
608 | common = grub-core/kern/misc.c; | |
609 | common = grub-core/tests/lib/test.c; | |
8c411768 | 610 | cflags = -Wno-format; |
38631371 BC |
611 | ldadd = libgrubmods.a; |
612 | ldadd = libgrubkern.a; | |
dd363028 | 613 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 614 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 615 | }; |
fff175c7 VS |
616 | |
617 | program = { | |
618 | name = grub-menulst2cfg; | |
619 | mansection = 1; | |
620 | common = util/grub-menulst2cfg.c; | |
621 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
622 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
623 | ||
38631371 BC |
624 | ldadd = libgrubmods.a; |
625 | ldadd = libgrubkern.a; | |
15c69261 | 626 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 627 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 628 | }; |