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