]>
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; | |
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; | |
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; | |
15c69261 | 175 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 176 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
177 | cflags = '$(CFLAGS_GCRY)'; |
178 | cppflags = '$(CPPFLAGS_GCRY)'; | |
8c411768 BC |
179 | }; |
180 | ||
181 | program = { | |
182 | name = grub-macho2img; | |
183 | mansection = 1; | |
8427685f | 184 | common = util/grub-macho2img.c; |
911bd640 | 185 | condition = COND_APPLE_CC; |
8c411768 BC |
186 | }; |
187 | ||
188 | program = { | |
189 | name = grub-pe2elf; | |
190 | mansection = 1; | |
8427685f | 191 | common = util/grub-pe2elf.c; |
8c411768 | 192 | |
38631371 BC |
193 | ldadd = libgrubmods.a; |
194 | ldadd = libgrubkern.a; | |
15c69261 | 195 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 196 | ldadd = '$(LIBINTL)'; |
911bd640 | 197 | condition = COND_GRUB_PE2ELF; |
8c411768 BC |
198 | }; |
199 | ||
200 | program = { | |
201 | name = grub-fstest; | |
202 | mansection = 1; | |
905f7773 | 203 | common_nodist = grub_fstest_init.c; |
8427685f | 204 | common = util/grub-fstest.c; |
b6a690ee CW |
205 | common = grub-core/kern/emu/hostfs.c; |
206 | common = grub-core/disk/host.c; | |
8c411768 | 207 | |
c55f5018 SJ |
208 | cflags = '$(CFLAGS_GCRY)'; |
209 | cppflags = '$(CPPFLAGS_GCRY)'; | |
15c69261 | 210 | |
38631371 BC |
211 | ldadd = libgrubmods.a; |
212 | ldadd = libgrubkern.a; | |
15c69261 | 213 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 214 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
215 | }; |
216 | ||
217 | program = { | |
218 | name = grub-mkfont; | |
219 | mansection = 1; | |
8427685f BC |
220 | common = util/grub-mkfont.c; |
221 | common = grub-core/unidata.c; | |
8c411768 | 222 | |
8c411768 | 223 | cflags = '$(freetype_cflags)'; |
2d465fb0 | 224 | |
38631371 BC |
225 | ldadd = libgrubmods.a; |
226 | ldadd = libgrubkern.a; | |
15c69261 | 227 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 228 | ldadd = '$(freetype_libs)'; |
f4727da9 | 229 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 230 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
231 | }; |
232 | ||
233 | program = { | |
234 | name = grub-mkdevicemap; | |
235 | installdir = sbin; | |
236 | mansection = 8; | |
5815f2c1 BC |
237 | |
238 | common = util/grub-mkdevicemap.c; | |
239 | common = util/deviceiter.c; | |
8427685f | 240 | nosparc64 = util/devicemap.c; |
8c411768 | 241 | |
8c411768 BC |
242 | sparc64_ieee1275 = util/ieee1275/ofpath.c; |
243 | sparc64_ieee1275 = util/ieee1275/devicemap.c; | |
244 | ||
38631371 BC |
245 | ldadd = libgrubmods.a; |
246 | ldadd = libgrubkern.a; | |
15c69261 | 247 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 248 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
249 | }; |
250 | ||
251 | program = { | |
252 | name = grub-probe; | |
253 | installdir = sbin; | |
254 | mansection = 8; | |
8427685f | 255 | common = util/grub-probe.c; |
8c411768 | 256 | |
38631371 BC |
257 | ldadd = libgrubmods.a; |
258 | ldadd = libgrubkern.a; | |
15c69261 | 259 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 260 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
261 | }; |
262 | ||
263 | program = { | |
264 | name = grub-setup; | |
265 | installdir = sbin; | |
266 | mansection = 8; | |
d2ea4551 VS |
267 | common = util/grub-setup.c; |
268 | common = util/raid.c; | |
269 | common = util/lvm.c; | |
419cbeb0 | 270 | common = grub-core/lib/reed_solomon.c; |
8c411768 BC |
271 | |
272 | sparc64_ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 273 | |
38631371 BC |
274 | ldadd = libgrubmods.a; |
275 | ldadd = libgrubkern.a; | |
15c69261 | 276 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 277 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 BC |
278 | |
279 | enable = i386_pc; | |
280 | enable = sparc64_ieee1275; | |
8c411768 BC |
281 | }; |
282 | ||
283 | program = { | |
284 | name = grub-ofpathname; | |
285 | installdir = sbin; | |
8427685f BC |
286 | ieee1275 = util/ieee1275/grub-ofpathname.c; |
287 | ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 288 | |
38631371 BC |
289 | ldadd = libgrubmods.a; |
290 | ldadd = libgrubkern.a; | |
15c69261 | 291 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 292 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
4b2047e2 | 293 | |
911bd640 | 294 | enable = sparc64_ieee1275; |
8c411768 BC |
295 | }; |
296 | ||
5aaf2c18 VS |
297 | program = { |
298 | name = grub-mklayout; | |
299 | mansection = 1; | |
300 | ||
301 | common = util/grub-mklayout.c; | |
302 | ||
38631371 BC |
303 | ldadd = libgrubmods.a; |
304 | ldadd = libgrubkern.a; | |
15c69261 | 305 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 306 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
307 | }; |
308 | ||
8c411768 | 309 | data = { |
8427685f | 310 | common = util/grub.d/README; |
8c411768 | 311 | installdir = grubconf; |
8c411768 BC |
312 | }; |
313 | ||
314 | script = { | |
315 | name = '00_header'; | |
8427685f | 316 | common = util/grub.d/00_header.in; |
8c411768 | 317 | installdir = grubconf; |
8c411768 BC |
318 | }; |
319 | ||
320 | script = { | |
321 | name = '10_windows'; | |
8427685f | 322 | common = util/grub.d/10_windows.in; |
8c411768 | 323 | installdir = grubconf; |
f7711f5e | 324 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
325 | }; |
326 | ||
327 | script = { | |
328 | name = '10_hurd'; | |
8427685f | 329 | common = util/grub.d/10_hurd.in; |
8c411768 | 330 | installdir = grubconf; |
f7711f5e | 331 | condition = COND_HOST_HURD; |
5815f2c1 BC |
332 | }; |
333 | ||
334 | script = { | |
f51c98c4 | 335 | name = '10_kfreebsd'; |
5815f2c1 BC |
336 | common = util/grub.d/10_kfreebsd.in; |
337 | installdir = grubconf; | |
f7711f5e | 338 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
339 | }; |
340 | ||
341 | script = { | |
f51c98c4 | 342 | name = '10_netbsd'; |
5815f2c1 BC |
343 | common = util/grub.d/10_netbsd.in; |
344 | installdir = grubconf; | |
f7711f5e | 345 | condition = COND_HOST_NETBSD; |
8c411768 BC |
346 | }; |
347 | ||
348 | script = { | |
349 | name = '10_linux'; | |
8427685f | 350 | common = util/grub.d/10_linux.in; |
8c411768 | 351 | installdir = grubconf; |
f7711f5e BC |
352 | condition = COND_HOST_LINUX; |
353 | }; | |
354 | ||
355 | script = { | |
356 | name = '20_linux_xen'; | |
357 | common = util/grub.d/20_linux_xen.in; | |
358 | installdir = grubconf; | |
359 | condition = COND_HOST_LINUX; | |
8c411768 BC |
360 | }; |
361 | ||
362 | script = { | |
363 | name = '30_os-prober'; | |
8427685f | 364 | common = util/grub.d/30_os-prober.in; |
8c411768 | 365 | installdir = grubconf; |
8c411768 BC |
366 | }; |
367 | ||
368 | script = { | |
369 | name = '40_custom'; | |
8427685f | 370 | common = util/grub.d/40_custom.in; |
8c411768 | 371 | installdir = grubconf; |
8c411768 BC |
372 | }; |
373 | ||
297f0c2b BC |
374 | script = { |
375 | name = '41_custom'; | |
8427685f | 376 | common = util/grub.d/41_custom.in; |
297f0c2b | 377 | installdir = grubconf; |
297f0c2b BC |
378 | }; |
379 | ||
8c411768 BC |
380 | script = { |
381 | mansection = 1; | |
382 | name = grub-mkrescue; | |
eefe8abd | 383 | x86 = util/grub-mkrescue.in; |
8c411768 | 384 | powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; |
911bd640 | 385 | enable = i386_pc; |
f7711f5e | 386 | enable = x86_efi; |
911bd640 | 387 | enable = i386_qemu; |
f5c1e402 | 388 | enable = i386_multiboot; |
911bd640 BC |
389 | enable = i386_coreboot; |
390 | enable = powerpc_ieee1275; | |
8c411768 BC |
391 | }; |
392 | ||
393 | script = { | |
394 | mansection = 8; | |
395 | installdir = sbin; | |
396 | name = grub-install; | |
8427685f | 397 | |
6c2111e9 | 398 | common = util/grub-install.in; |
eefe8abd | 399 | enable = noemu; |
8c411768 BC |
400 | }; |
401 | ||
8395034b VS |
402 | script = { |
403 | mansection = 8; | |
404 | installdir = sbin; | |
405 | name = grub-mknetdir; | |
406 | ||
407 | common = util/grub-mknetdir.in; | |
408 | }; | |
409 | ||
8c411768 BC |
410 | script = { |
411 | name = grub-mkconfig; | |
8427685f | 412 | common = util/grub-mkconfig.in; |
8c411768 BC |
413 | mansection = 8; |
414 | installdir = sbin; | |
8c411768 BC |
415 | }; |
416 | ||
417 | script = { | |
418 | name = grub-set-default; | |
8427685f | 419 | common = util/grub-set-default.in; |
8c411768 BC |
420 | mansection = 8; |
421 | installdir = sbin; | |
8c411768 BC |
422 | }; |
423 | ||
424 | script = { | |
425 | name = grub-reboot; | |
8427685f | 426 | common = util/grub-reboot.in; |
8c411768 BC |
427 | mansection = 8; |
428 | installdir = sbin; | |
8c411768 BC |
429 | }; |
430 | ||
431 | script = { | |
432 | name = grub-mkconfig_lib; | |
8427685f | 433 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 434 | installdir = noinst; |
8c411768 BC |
435 | }; |
436 | ||
437 | script = { | |
438 | name = update-grub_lib; | |
8427685f | 439 | common = util/update-grub_lib.in; |
f7711f5e | 440 | installdir = noinst; |
8c411768 BC |
441 | }; |
442 | ||
5aaf2c18 VS |
443 | script = { |
444 | name = grub-kbdcomp; | |
445 | common = util/grub-kbdcomp.in; | |
446 | }; | |
447 | ||
911bd640 | 448 | script = { |
8c411768 | 449 | name = grub-shell; |
8427685f | 450 | common = tests/util/grub-shell.in; |
f7711f5e | 451 | installdir = noinst; |
8c411768 BC |
452 | }; |
453 | ||
911bd640 | 454 | script = { |
8c411768 | 455 | name = grub-shell-tester; |
8427685f | 456 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 457 | installdir = noinst; |
8c411768 BC |
458 | }; |
459 | ||
911bd640 BC |
460 | script = { |
461 | testcase; | |
8c411768 | 462 | name = example_scripted_test; |
8427685f | 463 | common = tests/example_scripted_test.in; |
8c411768 BC |
464 | }; |
465 | ||
911bd640 BC |
466 | script = { |
467 | testcase; | |
8c411768 | 468 | name = example_grub_script_test; |
8427685f | 469 | common = tests/example_grub_script_test.in; |
8c411768 BC |
470 | }; |
471 | ||
911bd640 BC |
472 | script = { |
473 | testcase; | |
8c411768 | 474 | name = grub_script_echo1; |
8427685f | 475 | common = tests/grub_script_echo1.in; |
8c411768 BC |
476 | }; |
477 | ||
911bd640 BC |
478 | script = { |
479 | testcase; | |
8c411768 | 480 | name = grub_script_echo_keywords; |
8427685f | 481 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
482 | }; |
483 | ||
911bd640 BC |
484 | script = { |
485 | testcase; | |
8c411768 | 486 | name = grub_script_vars1; |
8427685f | 487 | common = tests/grub_script_vars1.in; |
8c411768 BC |
488 | }; |
489 | ||
911bd640 BC |
490 | script = { |
491 | testcase; | |
8c411768 | 492 | name = grub_script_for1; |
8427685f | 493 | common = tests/grub_script_for1.in; |
8c411768 BC |
494 | }; |
495 | ||
911bd640 BC |
496 | script = { |
497 | testcase; | |
8c411768 | 498 | name = grub_script_while1; |
8427685f | 499 | common = tests/grub_script_while1.in; |
8c411768 BC |
500 | }; |
501 | ||
911bd640 BC |
502 | script = { |
503 | testcase; | |
8c411768 | 504 | name = grub_script_if; |
8427685f | 505 | common = tests/grub_script_if.in; |
8c411768 BC |
506 | }; |
507 | ||
911bd640 BC |
508 | script = { |
509 | testcase; | |
8c411768 | 510 | name = grub_script_blanklines; |
8427685f | 511 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
512 | }; |
513 | ||
911bd640 BC |
514 | script = { |
515 | testcase; | |
8c411768 | 516 | name = grub_script_final_semicolon; |
8427685f | 517 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
518 | }; |
519 | ||
911bd640 BC |
520 | script = { |
521 | testcase; | |
8c411768 | 522 | name = grub_script_dollar; |
8427685f | 523 | common = tests/grub_script_dollar.in; |
8c411768 BC |
524 | }; |
525 | ||
911bd640 BC |
526 | script = { |
527 | testcase; | |
8c411768 | 528 | name = grub_script_comments; |
8427685f | 529 | common = tests/grub_script_comments.in; |
8c411768 BC |
530 | }; |
531 | ||
16c7cb32 BC |
532 | script = { |
533 | testcase; | |
534 | name = grub_script_functions; | |
8427685f | 535 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
536 | }; |
537 | ||
538 | script = { | |
539 | testcase; | |
540 | name = grub_script_break; | |
8427685f | 541 | common = tests/grub_script_break.in; |
16c7cb32 BC |
542 | }; |
543 | ||
544 | script = { | |
545 | testcase; | |
546 | name = grub_script_continue; | |
8427685f | 547 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
548 | }; |
549 | ||
550 | script = { | |
551 | testcase; | |
552 | name = grub_script_shift; | |
8427685f | 553 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
554 | }; |
555 | ||
928bad47 BC |
556 | script = { |
557 | testcase; | |
558 | name = grub_script_blockarg; | |
559 | common = tests/grub_script_blockarg.in; | |
560 | }; | |
561 | ||
47b4c2c3 BC |
562 | script = { |
563 | testcase; | |
564 | name = grub_script_setparams; | |
565 | common = tests/grub_script_setparams.in; | |
566 | }; | |
567 | ||
aa5cd41a BC |
568 | script = { |
569 | testcase; | |
570 | name = grub_script_return; | |
571 | common = tests/grub_script_return.in; | |
572 | }; | |
573 | ||
ab8629d2 BC |
574 | script = { |
575 | testcase; | |
576 | name = grub_cmd_regexp; | |
577 | common = tests/grub_cmd_regexp.in; | |
578 | }; | |
579 | ||
8fdefb92 BC |
580 | script = { |
581 | testcase; | |
582 | name = grub_script_expansion; | |
583 | common = tests/grub_script_expansion.in; | |
584 | }; | |
585 | ||
1bce65c7 BC |
586 | script = { |
587 | testcase; | |
588 | name = grub_script_not; | |
589 | common = tests/grub_script_not.in; | |
590 | }; | |
591 | ||
56672f4a | 592 | script = { |
593 | testcase; | |
594 | name = partmap_test; | |
595 | common = tests/partmap_test.in; | |
596 | }; | |
597 | ||
79c93b42 BC |
598 | script = { |
599 | testcase; | |
600 | name = grub_cmd_echo; | |
601 | common = tests/grub_cmd_echo.in; | |
602 | }; | |
603 | ||
911bd640 BC |
604 | program = { |
605 | testcase; | |
8c411768 | 606 | name = example_unit_test; |
8427685f BC |
607 | common = tests/example_unit_test.c; |
608 | common = tests/lib/unit_test.c; | |
609 | common = grub-core/kern/list.c; | |
610 | common = grub-core/kern/misc.c; | |
611 | common = grub-core/tests/lib/test.c; | |
8c411768 | 612 | cflags = -Wno-format; |
38631371 BC |
613 | ldadd = libgrubmods.a; |
614 | ldadd = libgrubkern.a; | |
dd363028 | 615 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 616 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 617 | }; |
fff175c7 VS |
618 | |
619 | program = { | |
620 | name = grub-menulst2cfg; | |
621 | mansection = 1; | |
622 | common = util/grub-menulst2cfg.c; | |
623 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
624 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
625 | ||
38631371 BC |
626 | ldadd = libgrubmods.a; |
627 | ldadd = libgrubkern.a; | |
15c69261 | 628 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 629 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 630 | }; |