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