]> git.proxmox.com Git - grub2.git/blame - modules.def
pull-in emu-lite fixes
[grub2.git] / modules.def
CommitLineData
8c411768
BC
1AutoGen definitions Makefile.tpl;
2
3library = {
4 name = libutil.a;
5 cflags = '$(CFLAGS_GCRY)';
6 cppflags = '$(CPPFLAGS_GCRY)';
7
8 nodist = grub_script.tab.c;
9 nodist = grub_script.yy.c;
10 nodist = libutil_a_init.c;
11
12 source = grub-core/gnulib/error.c;
13 source = grub-core/gnulib/fnmatch.c;
14 source = grub-core/gnulib/getdelim.c;
15 source = grub-core/gnulib/getline.c;
16 source = grub-core/gnulib/getopt1.c;
17 source = grub-core/gnulib/getopt.c;
18 source = grub-core/gnulib/progname.c;
19
20 source = util/misc.c;
21 source = grub-core/kern/misc.c;
16321bf9 22 source = grub-core/kern/emu/mm.c;
8c411768
BC
23 source = grub-core/kern/emu/misc.c;
24 source = grub-core/kern/emu/hostfs.c;
25 source = grub-core/kern/emu/getroot.c;
26 source = grub-core/kern/emu/hostdisk.c;
27
28 source = grub-core/commands/blocklist.c;
29 source = grub-core/commands/extcmd.c;
30 source = grub-core/commands/ls.c;
31 source = grub-core/disk/dmraid_nvidia.c;
32 source = grub-core/disk/host.c;
33 source = grub-core/disk/loopback.c;
34 source = grub-core/disk/lvm.c;
35 source = grub-core/disk/mdraid_linux.c;
36 source = grub-core/disk/raid5_recover.c;
37 source = grub-core/disk/raid6_recover.c;
38 source = grub-core/disk/raid.c;
39 source = grub-core/fs/affs.c;
40 source = grub-core/fs/afs_be.c;
41 source = grub-core/fs/afs.c;
42 source = grub-core/fs/befs_be.c;
43 source = grub-core/fs/befs.c;
44 source = grub-core/fs/cpio.c;
45 source = grub-core/fs/ext2.c;
46 source = grub-core/fs/fat.c;
47 source = grub-core/fs/fshelp.c;
48 source = grub-core/fs/hfs.c;
49 source = grub-core/fs/hfsplus.c;
50 source = grub-core/fs/iso9660.c;
51 source = grub-core/fs/jfs.c;
52 source = grub-core/fs/minix.c;
53 source = grub-core/fs/nilfs2.c;
54 source = grub-core/fs/ntfs.c;
55 source = grub-core/fs/ntfscomp.c;
56 source = grub-core/fs/reiserfs.c;
57 source = grub-core/fs/sfs.c;
58 source = grub-core/fs/tar.c;
59 source = grub-core/fs/udf.c;
60 source = grub-core/fs/ufs2.c;
61 source = grub-core/fs/ufs.c;
62 source = grub-core/fs/xfs.c;
63 source = grub-core/kern/command.c;
64 source = grub-core/kern/device.c;
65 source = grub-core/kern/disk.c;
66 source = grub-core/kern/env.c;
67 source = grub-core/kern/err.c;
68 source = grub-core/kern/file.c;
69 source = grub-core/kern/fs.c;
70 source = grub-core/kern/handler.c;
71 source = grub-core/kern/list.c;
72 source = grub-core/kern/parser.c;
73 source = grub-core/kern/partition.c;
74 source = grub-core/lib/arg.c;
75 source = grub-core/lib/crc.c;
76 source = grub-core/lib/crypto.c;
77 source = grub-core/lib/envblk.c;
78 source = grub-core/lib/hexdump.c;
79 source = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
80 source = grub-core/lib/LzFind.c;
81 source = grub-core/lib/LzmaEnc.c;
82 source = grub-core/lib/pbkdf2.c;
83 source = grub-core/normal/datetime.c;
84 source = grub-core/normal/misc.c;
85 source = grub-core/partmap/acorn.c;
86 source = grub-core/partmap/amiga.c;
87 source = grub-core/partmap/apple.c;
88 source = grub-core/partmap/gpt.c;
89 source = grub-core/partmap/msdos.c;
90 source = grub-core/partmap/sun.c;
91 source = grub-core/script/function.c;
92 source = grub-core/script/lexer.c;
93 source = grub-core/script/main.c;
94 source = grub-core/script/script.c;
95 common;
96};
97
98program = {
99 name = grub-bin2h;
100 source = util/bin2h.c;
101 ldadd = libutil.a;
102 mansection = 1;
103 common;
104};
105
106program = {
107 name = grub-mkimage;
108 mansection = 1;
109
692d7c28 110 source = util/grub-mkimage.c;
8c411768
BC
111 source = util/resolve.c;
112
113 ldadd = libutil.a;
8c411768 114
692d7c28 115 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibroot)\"';
8c411768
BC
116 common;
117};
118
119program = {
120 name = grub-mkrelpath;
121 mansection = 1;
122
123 source = util/grub-mkrelpath.c;
124
125 ldadd = libutil.a;
126 common;
127};
128
129program = {
130 name = grub-script-check;
131 mansection = 1;
132
133 source = util/grub-script-check.c;
134
135 ldadd = libutil.a;
136 common;
137};
138
139program = {
140 name = grub-editenv;
141 mansection = 1;
142
143 source = util/grub-editenv.c;
144
145 ldadd = libutil.a;
146 common;
147};
148
149program = {
150 name = grub-mkpasswd-pbkdf2;
151 mansection = 1;
152
153 source = util/grub-mkpasswd-pbkdf2.c;
154
155 ldadd = libutil.a;
156 cflags = '$(CFLAGS_GCRY)';
157 cppflags = '$(CPPFLAGS_GCRY)';
158 common;
159};
160
161program = {
162 name = grub-macho2img;
163 mansection = 1;
164 source = util/grub-macho2img.c;
165};
166
167program = {
168 name = grub-pe2elf;
169 mansection = 1;
170 source = util/grub-pe2elf.c;
171
172 ldadd = libutil.a;
173};
174
175program = {
176 name = grub-fstest;
177 mansection = 1;
178 source = util/grub-fstest.c;
179
180 ldadd = libutil.a;
181 enable = COND_GRUB_FSTEST;
182 common;
183};
184
185program = {
186 name = grub-mkfont;
187 mansection = 1;
188 source = util/grub-mkfont.c;
189
190 ldadd = libutil.a;
191 cflags = '$(freetype_cflags)';
192 ldflags = '$(freetype_libs)';
193 common;
194 enable = COND_GRUB_MKFONT;
195};
196
197program = {
198 name = grub-mkdevicemap;
199 installdir = sbin;
200 mansection = 8;
201 source = util/grub-mkdevicemap.c;
202 source = util/deviceiter.c;
203 source = util/devicemap.c;
204
205 sparc64_ieee1275 = util/grub-mkdevicemap.c;
206 sparc64_ieee1275 = util/deviceiter.c;
207 sparc64_ieee1275 = util/ieee1275/ofpath.c;
208 sparc64_ieee1275 = util/ieee1275/devicemap.c;
209
210 ldadd = libutil.a;
211 common;
212};
213
214program = {
215 name = grub-probe;
216 installdir = sbin;
217 mansection = 8;
218 source = util/grub-probe.c;
219
220 ldadd = libutil.a;
221 common;
222};
223
224program = {
225 name = grub-setup;
226 installdir = sbin;
227 mansection = 8;
228 i386_pc = util/i386/pc/grub-setup.c;
229 i386_pc = util/raid.c;
230 i386_pc = util/lvm.c;
231
232 sparc64_ieee1275 = util/ieee1275/ofpath.c;
233 sparc64_ieee1275 = util/sparc64/ieee1275/grub-setup.c;
234 sparc64_ieee1275 = util/raid.c;
235 sparc64_ieee1275 = util/lvm.c;
236
237 ldadd = libutil.a;
238};
239
240program = {
241 name = grub-ofpathname;
242 installdir = sbin;
243 source = util/ieee1275/grub-ofpathname.c;
244 source = util/ieee1275/ofpath.c;
245
246 ldadd = libutil.a;
247 sparc64_ieee1275;
248};
249
250data = {
251 source = util/grub.d/README;
252 installdir = grubconf;
253 common;
254};
255
256script = {
257 name = '00_header';
258 source = util/grub.d/00_header.in;
259 installdir = grubconf;
260 common;
261};
262
263script = {
264 name = '10_windows';
265 source = util/grub.d/10_windows.in;
266 installdir = grubconf;
267};
268
269script = {
270 name = '10_hurd';
271 source = util/grub.d/10_hurd.in;
272 installdir = grubconf;
273};
274
275script = {
276 name = '10_linux';
277 source = util/grub.d/10_linux.in;
278 installdir = grubconf;
279 common;
280};
281
282script = {
283 name = '30_os-prober';
284 source = util/grub.d/30_os-prober.in;
285 installdir = grubconf;
286 common;
287};
288
289script = {
290 name = '40_custom';
291 source = util/grub.d/40_custom.in;
292 installdir = grubconf;
293 common;
294};
295
296script = {
297 mansection = 1;
298 name = grub-mkrescue;
299 source = util/grub-mkrescue.in;
300 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
301 i386_pc;
302 i386_qemu;
303 i386_coreboot;
304};
305
306script = {
307 mansection = 8;
308 installdir = sbin;
309 name = grub-install;
310 source = util/grub-install.in;
311 x86_efi = util/i386/efi/grub-install.in;
312 i386_ieee1275 = util/ieee1275/grub-install.in;
313 powerpc_ieee1275 = util/ieee1275/grub-install.in;
314 mips;
315 i386_pc;
316 i386_qemu;
317 i386_coreboot;
318};
319
320script = {
321 name = grub-mkconfig;
322 source = util/grub-mkconfig.in;
323 mansection = 8;
324 installdir = sbin;
325 common;
326};
327
328script = {
329 name = grub-set-default;
330 source = util/grub-set-default.in;
331 mansection = 8;
332 installdir = sbin;
333 common;
334};
335
336script = {
337 name = grub-reboot;
338 source = util/grub-reboot.in;
339 mansection = 8;
340 installdir = sbin;
341 common;
342};
343
344script = {
345 name = grub-mkconfig_lib;
346 source = util/grub-mkconfig_lib.in;
347 installdir = pkglib;
348 common;
349};
350
351script = {
352 name = update-grub_lib;
353 source = util/update-grub_lib.in;
354 installdir = pkglib;
355 common;
356};
357
358test_script = {
359 name = grub-shell;
360 source = tests/util/grub-shell.in;
361 common;
362};
363
364test_script = {
365 name = grub-shell-tester;
366 source = tests/util/grub-shell-tester.in;
367 common;
368};
369
370test_script = {
371 name = example_scripted_test;
372 source = tests/example_scripted_test.in;
373 common;
374};
375
376test_script = {
377 name = example_grub_script_test;
378 source = tests/example_grub_script_test.in;
379 common;
380};
381
382test_script = {
383 name = grub_script_echo1;
384 source = tests/grub_script_echo1.in;
385 common;
386 enable;
387};
388
389test_script = {
390 name = grub_script_echo_keywords;
391 source = tests/grub_script_echo_keywords.in;
392 common;
393 enable;
394};
395
396test_script = {
397 name = grub_script_vars1;
398 source = tests/grub_script_vars1.in;
399 common;
400 enable;
401};
402
403test_script = {
404 name = grub_script_for1;
405 source = tests/grub_script_for1.in;
406 common;
407 enable;
408};
409
410test_script = {
411 name = grub_script_while1;
412 source = tests/grub_script_while1.in;
413 common;
414 enable;
415};
416
417test_script = {
418 name = grub_script_if;
419 source = tests/grub_script_if.in;
420 common;
421 enable;
422};
423
424test_script = {
425 name = grub_script_blanklines;
426 source = tests/grub_script_blanklines.in;
427 common;
428 enable;
429};
430
431test_script = {
432 name = grub_script_final_semicolon;
433 source = tests/grub_script_final_semicolon.in;
434 common;
435 enable;
436};
437
438test_script = {
439 name = grub_script_dollar;
440 source = tests/grub_script_dollar.in;
441 common;
442 enable;
443};
444
445test_script = {
446 name = grub_script_comments;
447 source = tests/grub_script_comments.in;
448 common;
449 enable;
450};
451
452test_program = {
453 name = example_unit_test;
454 source = tests/example_unit_test.c;
455 source = tests/lib/unit_test.c;
456 source = grub-core/kern/list.c;
457 source = grub-core/kern/misc.c;
458 source = grub-core/tests/lib/test.c;
459 cflags = -Wno-format;
460 common;
461};