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