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