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