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