1 AutoGen definitions Makefile.tpl
;
5 cflags
= '$(CFLAGS_GNULIB)';
6 cppflags
= '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json';
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
/lib
/disk.c
;
13 common
= util
/getroot.c
;
14 common
= grub
-core
/osdep
/unix
/getroot.c
;
15 common
= grub
-core
/osdep
/getroot.c
;
16 common
= grub
-core
/osdep
/devmapper
/getroot.c
;
17 common
= grub
-core
/osdep
/relpath.c
;
18 extra_dist
= grub
-core
/kern
/disk_common.c
;
19 extra_dist
= grub
-core
/osdep
/unix
/relpath.c
;
20 extra_dist
= grub
-core
/osdep
/aros
/relpath.c
;
21 extra_dist
= grub
-core
/osdep
/windows
/relpath.c
;
22 common
= grub
-core
/kern
/emu
/hostdisk.c
;
23 common
= grub
-core
/osdep
/devmapper
/hostdisk.c
;
24 common
= grub
-core
/osdep
/hostdisk.c
;
25 common
= grub
-core
/osdep
/unix
/hostdisk.c
;
26 common
= grub
-core
/osdep
/exec.c
;
27 common
= grub
-core
/osdep
/sleep.c
;
28 common
= grub
-core
/osdep
/password.c
;
29 common
= grub
-core
/kern
/emu
/misc.c
;
30 common
= grub
-core
/kern
/emu
/mm.c
;
31 common
= grub
-core
/kern
/env.c
;
32 common
= grub
-core
/kern
/err.c
;
33 common
= grub
-core
/kern
/file.c
;
34 common
= grub
-core
/kern
/fs.c
;
35 common
= grub
-core
/kern
/list.c
;
36 common
= grub
-core
/kern
/misc.c
;
37 common
= grub
-core
/kern
/partition.c
;
38 common
= grub
-core
/lib
/crypto.c
;
39 common
= grub
-core
/lib
/json
/json.c
;
40 common
= grub
-core
/disk
/luks.c
;
41 common
= grub
-core
/disk
/luks2.c
;
42 common
= grub
-core
/disk
/geli.c
;
43 common
= grub
-core
/disk
/cryptodisk.c
;
44 common
= grub
-core
/disk
/AFSplitter.c
;
45 common
= grub
-core
/lib
/pbkdf2.c
;
46 common
= grub
-core
/commands
/extcmd.c
;
47 common
= grub
-core
/lib
/arg.c
;
48 common
= grub
-core
/disk
/ldm.c
;
49 common
= grub
-core
/disk
/diskfilter.c
;
50 common
= grub
-core
/partmap
/gpt.c
;
51 common
= grub
-core
/partmap
/msdos.c
;
52 common
= grub
-core
/fs
/proc.c
;
53 common
= grub
-core
/fs
/archelp.c
;
58 cflags
= '-fno-builtin -Wno-undef -Wno-unused-but-set-variable';
59 cppflags
= '-I$(srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -I$(srcdir)/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H';
61 common_nodist
= grub_script.tab.c
;
62 common_nodist
= grub_script.yy.c
;
63 common_nodist
= libgrub_a_init.c
;
64 common_nodist
= grub_script.yy.h
;
65 common_nodist
= grub_script.tab.h
;
67 common
= grub
-core
/commands
/blocklist.c
;
68 common
= grub
-core
/commands
/macbless.c
;
69 common
= grub
-core
/commands
/xnu_uuid.c
;
70 common
= grub
-core
/commands
/testload.c
;
71 common
= grub
-core
/commands
/ls.c
;
72 common
= grub
-core
/disk
/dmraid_nvidia.c
;
73 common
= grub
-core
/disk
/loopback.c
;
74 common
= grub
-core
/disk
/lvm.c
;
75 common
= grub
-core
/disk
/mdraid_linux.c
;
76 common
= grub
-core
/disk
/mdraid_linux_be.c
;
77 common
= grub
-core
/disk
/mdraid1x_linux.c
;
78 common
= grub
-core
/disk
/raid5_recover.c
;
79 common
= grub
-core
/disk
/raid6_recover.c
;
80 common
= grub
-core
/font
/font.c
;
81 common
= grub
-core
/gfxmenu
/font.c
;
82 common
= grub
-core
/normal
/charset.c
;
83 common
= grub
-core
/video
/fb
/fbblit.c
;
84 common
= grub
-core
/video
/fb
/fbutil.c
;
85 common
= grub
-core
/video
/fb
/fbfill.c
;
86 common
= grub
-core
/video
/fb
/video_fb.c
;
87 common
= grub
-core
/video
/video.c
;
88 common
= grub
-core
/video
/capture.c
;
89 common
= grub
-core
/video
/colors.c
;
90 common
= grub
-core
/unidata.c
;
91 common
= grub
-core
/io
/bufio.c
;
92 common
= grub
-core
/fs
/affs.c
;
93 common
= grub
-core
/fs
/afs.c
;
94 common
= grub
-core
/fs
/bfs.c
;
95 common
= grub
-core
/fs
/btrfs.c
;
96 common
= grub
-core
/fs
/cbfs.c
;
97 common
= grub
-core
/fs
/cpio.c
;
98 common
= grub
-core
/fs
/cpio_be.c
;
99 common
= grub
-core
/fs
/odc.c
;
100 common
= grub
-core
/fs
/newc.c
;
101 common
= grub
-core
/fs
/ext2.c
;
102 common
= grub
-core
/fs
/fat.c
;
103 common
= grub
-core
/fs
/exfat.c
;
104 common
= grub
-core
/fs
/f2fs.c
;
105 common
= grub
-core
/fs
/fshelp.c
;
106 common
= grub
-core
/fs
/hfs.c
;
107 common
= grub
-core
/fs
/hfsplus.c
;
108 common
= grub
-core
/fs
/hfspluscomp.c
;
109 common
= grub
-core
/fs
/iso9660.c
;
110 common
= grub
-core
/fs
/jfs.c
;
111 common
= grub
-core
/fs
/minix.c
;
112 common
= grub
-core
/fs
/minix2.c
;
113 common
= grub
-core
/fs
/minix3.c
;
114 common
= grub
-core
/fs
/minix_be.c
;
115 common
= grub
-core
/fs
/minix2_be.c
;
116 common
= grub
-core
/fs
/minix3_be.c
;
117 common
= grub
-core
/fs
/nilfs2.c
;
118 common
= grub
-core
/fs
/ntfs.c
;
119 common
= grub
-core
/fs
/ntfscomp.c
;
120 common
= grub
-core
/fs
/reiserfs.c
;
121 common
= grub
-core
/fs
/romfs.c
;
122 common
= grub
-core
/fs
/sfs.c
;
123 common
= grub
-core
/fs
/squash4.c
;
124 common
= grub
-core
/fs
/tar.c
;
125 common
= grub
-core
/fs
/udf.c
;
126 common
= grub
-core
/fs
/ufs2.c
;
127 common
= grub
-core
/fs
/ufs.c
;
128 common
= grub
-core
/fs
/ufs_be.c
;
129 common
= grub
-core
/fs
/xfs.c
;
130 common
= grub
-core
/fs
/zfs
/zfscrypt.c
;
131 common
= grub
-core
/fs
/zfs
/zfs.c
;
132 common
= grub
-core
/fs
/zfs
/zfsinfo.c
;
133 common
= grub
-core
/fs
/zfs
/zfs_lzjb.c
;
134 common
= grub
-core
/fs
/zfs
/zfs_lz4.c
;
135 common
= grub
-core
/fs
/zfs
/zfs_sha256.c
;
136 common
= grub
-core
/fs
/zfs
/zfs_fletcher.c
;
137 common
= grub
-core
/lib
/envblk.c
;
138 common
= grub
-core
/lib
/hexdump.c
;
139 common
= grub
-core
/lib
/LzFind.c
;
140 common
= grub
-core
/lib
/LzmaEnc.c
;
141 common
= grub
-core
/lib
/crc.c
;
142 common
= grub
-core
/lib
/adler32.c
;
143 common
= grub
-core
/lib
/crc64.c
;
144 common
= grub
-core
/lib
/datetime.c
;
145 common
= grub
-core
/normal
/misc.c
;
146 common
= grub
-core
/partmap
/acorn.c
;
147 common
= grub
-core
/partmap
/amiga.c
;
148 common
= grub
-core
/partmap
/apple.c
;
149 common
= grub
-core
/partmap
/sun.c
;
150 common
= grub
-core
/partmap
/plan.c
;
151 common
= grub
-core
/partmap
/dvh.c
;
152 common
= grub
-core
/partmap
/sunpc.c
;
153 common
= grub
-core
/partmap
/bsdlabel.c
;
154 common
= grub
-core
/partmap
/dfly.c
;
155 common
= grub
-core
/script
/function.c
;
156 common
= grub
-core
/script
/lexer.c
;
157 common
= grub
-core
/script
/main.c
;
158 common
= grub
-core
/script
/script.c
;
159 common
= grub
-core
/script
/argv.c
;
160 common
= grub
-core
/io
/gzio.c
;
161 common
= grub
-core
/io
/xzio.c
;
162 common
= grub
-core
/io
/lzopio.c
;
163 common
= grub
-core
/kern
/ia64
/dl_helper.c
;
164 common
= grub
-core
/kern
/arm
/dl_helper.c
;
165 common
= grub
-core
/kern
/arm64
/dl_helper.c
;
166 common
= grub
-core
/kern
/loongarch64
/dl_helper.c
;
167 common
= grub
-core
/lib
/minilzo
/minilzo.c
;
168 common
= grub
-core
/lib
/xzembed
/xz_dec_bcj.c
;
169 common
= grub
-core
/lib
/xzembed
/xz_dec_lzma2.c
;
170 common
= grub
-core
/lib
/xzembed
/xz_dec_stream.c
;
171 common
= grub
-core
/lib
/zstd
/debug.c
;
172 common
= grub
-core
/lib
/zstd
/entropy_common.c
;
173 common
= grub
-core
/lib
/zstd
/error_private.c
;
174 common
= grub
-core
/lib
/zstd
/fse_decompress.c
;
175 common
= grub
-core
/lib
/zstd
/huf_decompress.c
;
176 common
= grub
-core
/lib
/zstd
/module.c
;
177 common
= grub
-core
/lib
/zstd
/xxhash.c
;
178 common
= grub
-core
/lib
/zstd
/zstd_common.c
;
179 common
= grub
-core
/lib
/zstd
/zstd_decompress.c
;
186 common
= util
/grub
-mkimage.c
;
187 common
= util
/mkimage.c
;
188 common
= util
/grub
-mkimage32.c
;
189 common
= util
/grub
-mkimage64.c
;
190 common
= util
/resolve.c
;
191 common
= grub
-core
/kern
/emu
/argp_common.c
;
192 common
= grub
-core
/osdep
/init.c
;
193 common
= grub
-core
/osdep
/config.c
;
194 extra_dist
= grub
-core
/osdep
/aros
/config.c
;
195 extra_dist
= grub
-core
/osdep
/windows
/config.c
;
196 extra_dist
= grub
-core
/osdep
/unix
/config.c
;
197 common
= util
/config.c
;
199 extra_dist
= util
/grub
-mkimagexx.c
;
201 ldadd
= libgrubmods.a
;
202 ldadd
= libgrubgcry.a
;
203 ldadd
= libgrubkern.a
;
204 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
205 ldadd
= '$(LIBLZMA)';
206 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
210 name
= grub
-mkrelpath
;
213 common
= util
/grub
-mkrelpath.c
;
214 common
= grub
-core
/kern
/emu
/argp_common.c
;
215 common
= grub
-core
/osdep
/init.c
;
217 ldadd
= libgrubmods.a
;
218 ldadd
= libgrubgcry.a
;
219 ldadd
= libgrubkern.a
;
220 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
221 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
225 name
= grub
-script
-check
;
228 common
= util
/grub
-script
-check.c
;
229 common
= grub
-core
/kern
/emu
/argp_common.c
;
230 common
= grub
-core
/osdep
/init.c
;
232 ldadd
= libgrubmods.a
;
233 ldadd
= libgrubgcry.a
;
234 ldadd
= libgrubkern.a
;
235 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
236 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
243 common
= util
/grub
-editenv.c
;
244 common
= util
/editenv.c
;
245 common
= util
/grub
-install
-common.c
;
246 common
= grub
-core
/osdep
/init.c
;
247 common
= grub
-core
/osdep
/compress.c
;
248 extra_dist
= grub
-core
/osdep
/unix
/compress.c
;
249 extra_dist
= grub
-core
/osdep
/basic
/compress.c
;
250 common
= util
/mkimage.c
;
251 common
= util
/grub
-mkimage32.c
;
252 common
= util
/grub
-mkimage64.c
;
253 common
= grub
-core
/osdep
/config.c
;
254 common
= util
/config.c
;
255 common
= util
/resolve.c
;
257 ldadd
= '$(LIBLZMA)';
258 ldadd
= libgrubmods.a
;
259 ldadd
= libgrubgcry.a
;
260 ldadd
= libgrubkern.a
;
261 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
262 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
266 name
= grub
-mkpasswd
-pbkdf2
;
269 common
= util
/grub
-mkpasswd
-pbkdf2.c
;
270 common
= grub
-core
/kern
/emu
/argp_common.c
;
271 common
= grub
-core
/osdep
/random.c
;
272 common
= grub
-core
/osdep
/init.c
;
274 ldadd
= libgrubmods.a
;
275 ldadd
= libgrubgcry.a
;
276 ldadd
= libgrubkern.a
;
277 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
278 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
282 name
= grub
-macho2img
;
284 common
= util
/grub
-macho2img.c
;
285 condition
= COND_APPLE_LINKER
;
291 common_nodist
= grub_fstest_init.c
;
292 common
= util
/grub
-fstest.c
;
293 common
= grub
-core
/kern
/emu
/hostfs.c
;
294 common
= grub
-core
/disk
/host.c
;
295 common
= grub
-core
/osdep
/init.c
;
297 ldadd
= libgrubmods.a
;
298 ldadd
= libgrubgcry.a
;
299 ldadd
= libgrubkern.a
;
300 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
301 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
307 common_nodist
= grub_fstest_init.c
;
308 common
= util
/grub
-mount.c
;
309 common
= grub
-core
/kern
/emu
/hostfs.c
;
310 common
= grub
-core
/disk
/host.c
;
311 common
= grub
-core
/osdep
/init.c
;
313 cflags
= '$(FUSE_CFLAGS)';
315 ldadd
= libgrubmods.a
;
316 ldadd
= libgrubgcry.a
;
317 ldadd
= libgrubkern.a
;
318 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
319 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) $(FUSE_LIBS)';
320 condition
= COND_GRUB_MOUNT
;
326 common
= util
/grub
-mkfont.c
;
327 common
= grub
-core
/kern
/emu
/argp_common.c
;
328 common
= grub
-core
/osdep
/init.c
;
330 cflags
= '$(FREETYPE_CFLAGS)';
331 cppflags
= '-DGRUB_MKFONT=1';
333 ldadd
= libgrubmods.a
;
334 ldadd
= libgrubgcry.a
;
335 ldadd
= libgrubkern.a
;
336 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
337 ldadd
= '$(FREETYPE_LIBS)';
338 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
339 condition
= COND_GRUB_MKFONT
;
346 common
= util
/grub
-probe.c
;
347 common
= util
/probe.c
;
348 common
= grub
-core
/osdep
/ofpath.c
;
349 common
= grub
-core
/kern
/emu
/argp_common.c
;
350 common
= grub
-core
/osdep
/init.c
;
352 ldadd
= libgrubmods.a
;
353 ldadd
= libgrubgcry.a
;
354 ldadd
= libgrubkern.a
;
355 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
356 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
360 name
= grub
-bios
-setup
;
363 common
= util
/grub
-setup.c
;
364 common
= util
/setup_bios.c
;
365 extra_dist
= util
/setup.c
;
366 common
= grub
-core
/kern
/emu
/argp_common.c
;
367 common
= grub
-core
/lib
/reed_solomon.c
;
368 common
= grub
-core
/osdep
/blocklist.c
;
369 extra_dist
= grub
-core
/osdep
/generic
/blocklist.c
;
370 extra_dist
= grub
-core
/osdep
/linux
/blocklist.c
;
371 extra_dist
= grub
-core
/osdep
/windows
/blocklist.c
;
372 common
= grub
-core
/osdep
/init.c
;
374 ldadd
= libgrubmods.a
;
375 ldadd
= libgrubkern.a
;
376 ldadd
= libgrubgcry.a
;
377 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
378 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
379 cppflags
= '-DGRUB_SETUP_FUNC=grub_util_bios_setup';
383 name
= grub
-sparc64
-setup
;
386 common
= util
/grub
-setup.c
;
387 common
= util
/setup_sparc.c
;
388 common
= grub
-core
/kern
/emu
/argp_common.c
;
389 common
= grub
-core
/lib
/reed_solomon.c
;
390 common
= grub
-core
/osdep
/ofpath.c
;
391 common
= grub
-core
/osdep
/blocklist.c
;
392 common
= grub
-core
/osdep
/init.c
;
394 ldadd
= libgrubmods.a
;
395 ldadd
= libgrubkern.a
;
396 ldadd
= libgrubgcry.a
;
397 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
398 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
399 cppflags
= '-DGRUB_SETUP_FUNC=grub_util_sparc_setup';
403 name
= grub
-ofpathname
;
406 common
= util
/ieee1275
/grub
-ofpathname.c
;
407 common
= grub
-core
/osdep
/ofpath.c
;
408 common
= grub
-core
/osdep
/init.c
;
410 ldadd
= libgrubmods.a
;
411 ldadd
= libgrubgcry.a
;
412 ldadd
= libgrubkern.a
;
413 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
414 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
418 name
= grub
-mklayout
;
421 common
= util
/grub
-mklayout.c
;
422 common
= grub
-core
/kern
/emu
/argp_common.c
;
423 common
= grub
-core
/osdep
/init.c
;
425 ldadd
= libgrubmods.a
;
426 ldadd
= libgrubgcry.a
;
427 ldadd
= libgrubkern.a
;
428 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
429 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
433 name
= grub
-macbless
;
436 common
= util
/grub
-macbless.c
;
437 common
= grub
-core
/osdep
/init.c
;
438 common
= grub
-core
/kern
/emu
/argp_common.c
;
440 ldadd
= libgrubmods.a
;
441 ldadd
= libgrubgcry.a
;
442 ldadd
= libgrubkern.a
;
443 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
444 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
448 common
= util
/grub.d
/README
;
449 installdir
= grubconf
;
454 common
= util
/grub.d
/00_header.in
;
455 installdir
= grubconf
;
460 common
= util
/grub.d
/10_windows.in
;
461 installdir
= grubconf
;
462 condition
= COND_HOST_WINDOWS
;
467 common
= util
/grub.d
/10_hurd.in
;
468 installdir
= grubconf
;
469 condition
= COND_HOST_HURD
;
473 name
= '10_kfreebsd';
474 common
= util
/grub.d
/10_kfreebsd.in
;
475 installdir
= grubconf
;
476 condition
= COND_HOST_KFREEBSD
;
481 common
= util
/grub.d
/10_illumos.in
;
482 installdir
= grubconf
;
483 condition
= COND_HOST_ILLUMOS
;
488 common
= util
/grub.d
/10_netbsd.in
;
489 installdir
= grubconf
;
490 condition
= COND_HOST_NETBSD
;
495 common
= util
/grub.d
/10_linux.in
;
496 installdir
= grubconf
;
497 condition
= COND_HOST_LINUX
;
502 common
= util
/grub.d
/10_xnu.in
;
503 installdir
= grubconf
;
504 condition
= COND_HOST_XNU
;
508 name
= '20_linux_xen';
509 common
= util
/grub.d
/20_linux_xen.in
;
510 installdir
= grubconf
;
511 condition
= COND_HOST_LINUX
;
516 common
= util
/grub.d
/25_bli.in
;
517 installdir
= grubconf
;
521 name
= '30_os-prober';
522 common
= util
/grub.d
/30_os
-prober.in
;
523 installdir
= grubconf
;
527 name
= '30_uefi-firmware';
528 common
= util
/grub.d
/30_uefi
-firmware.in
;
529 installdir
= grubconf
;
534 common
= util
/grub.d
/40_custom.in
;
535 installdir
= grubconf
;
540 common
= util
/grub.d
/41_custom.in
;
541 installdir
= grubconf
;
546 name
= grub
-mkrescue
;
548 common
= util
/grub
-mkrescue.c
;
549 common
= util
/render
-label.c
;
550 common
= util
/glue
-efi.c
;
551 common
= util
/mkimage.c
;
552 common
= util
/grub
-mkimage32.c
;
553 common
= util
/grub
-mkimage64.c
;
554 common
= util
/grub
-install
-common.c
;
555 common
= util
/setup_bios.c
;
556 common
= util
/setup_sparc.c
;
557 common
= grub
-core
/lib
/reed_solomon.c
;
558 common
= grub
-core
/osdep
/random.c
;
559 common
= grub
-core
/osdep
/ofpath.c
;
560 common
= grub
-core
/osdep
/platform.c
;
561 common
= grub
-core
/osdep
/platform_unix.c
;
562 common
= grub
-core
/osdep
/compress.c
;
563 extra_dist
= grub
-core
/osdep
/unix
/compress.c
;
564 extra_dist
= grub
-core
/osdep
/basic
/compress.c
;
565 common
= util
/editenv.c
;
566 common
= grub
-core
/osdep
/blocklist.c
;
567 common
= grub
-core
/osdep
/config.c
;
568 common
= util
/config.c
;
570 common
= grub
-core
/kern
/emu
/hostfs.c
;
571 common
= grub
-core
/disk
/host.c
;
573 common
= util
/resolve.c
;
575 common
= grub
-core
/kern
/emu
/argp_common.c
;
576 common
= grub
-core
/osdep
/init.c
;
578 ldadd
= '$(LIBLZMA)';
579 ldadd
= libgrubmods.a
;
580 ldadd
= libgrubgcry.a
;
581 ldadd
= libgrubkern.a
;
582 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
583 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
585 condition
= COND_HAVE_EXEC
;
590 name
= grub
-mkstandalone
;
591 common
= util
/grub
-mkstandalone.c
;
593 common
= util
/render
-label.c
;
594 common
= util
/glue
-efi.c
;
595 common
= util
/mkimage.c
;
596 common
= util
/grub
-mkimage32.c
;
597 common
= util
/grub
-mkimage64.c
;
598 common
= util
/grub
-install
-common.c
;
599 common
= util
/setup_bios.c
;
600 common
= util
/setup_sparc.c
;
601 common
= grub
-core
/lib
/reed_solomon.c
;
602 common
= grub
-core
/osdep
/random.c
;
603 common
= grub
-core
/osdep
/ofpath.c
;
604 common
= grub
-core
/osdep
/platform.c
;
605 common
= grub
-core
/osdep
/platform_unix.c
;
606 extra_dist
= grub
-core
/osdep
/linux
/platform.c
;
607 extra_dist
= grub
-core
/osdep
/windows
/platform.c
;
608 extra_dist
= grub
-core
/osdep
/basic
/platform.c
;
609 extra_dist
= grub
-core
/osdep
/basic
/no_platform.c
;
610 extra_dist
= grub
-core
/osdep
/unix
/platform.c
;
611 common
= grub
-core
/osdep
/compress.c
;
612 common
= util
/editenv.c
;
613 common
= grub
-core
/osdep
/blocklist.c
;
614 common
= grub
-core
/osdep
/config.c
;
615 common
= util
/config.c
;
617 common
= grub
-core
/kern
/emu
/hostfs.c
;
618 common
= grub
-core
/disk
/host.c
;
620 common
= util
/resolve.c
;
622 common
= grub
-core
/kern
/emu
/argp_common.c
;
623 common
= grub
-core
/osdep
/init.c
;
625 ldadd
= '$(LIBLZMA)';
626 ldadd
= libgrubmods.a
;
627 ldadd
= libgrubgcry.a
;
628 ldadd
= libgrubkern.a
;
629 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
630 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
638 common
= util
/grub
-install.c
;
639 common
= util
/probe.c
;
640 common
= util
/mkimage.c
;
641 common
= util
/grub
-mkimage32.c
;
642 common
= util
/grub
-mkimage64.c
;
643 common
= util
/grub
-install
-common.c
;
644 common
= util
/setup_bios.c
;
645 common
= util
/setup_sparc.c
;
646 common
= grub
-core
/lib
/reed_solomon.c
;
647 common
= grub
-core
/osdep
/random.c
;
648 common
= grub
-core
/osdep
/ofpath.c
;
649 common
= grub
-core
/osdep
/platform.c
;
650 common
= grub
-core
/osdep
/platform_unix.c
;
651 common
= grub
-core
/osdep
/compress.c
;
652 common
= util
/editenv.c
;
653 common
= grub
-core
/osdep
/blocklist.c
;
654 common
= grub
-core
/osdep
/config.c
;
655 common
= util
/config.c
;
656 common
= util
/render
-label.c
;
657 common
= grub
-core
/kern
/emu
/hostfs.c
;
658 common
= grub
-core
/disk
/host.c
;
660 common
= util
/resolve.c
;
661 common
= grub
-core
/kern
/emu
/argp_common.c
;
662 common
= grub
-core
/osdep
/init.c
;
664 ldadd
= '$(LIBLZMA)';
665 ldadd
= libgrubmods.a
;
666 ldadd
= libgrubgcry.a
;
667 ldadd
= libgrubkern.a
;
668 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
669 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
675 name
= grub
-mknetdir
;
677 common
= util
/grub
-mknetdir.c
;
679 common
= util
/mkimage.c
;
680 common
= util
/grub
-mkimage32.c
;
681 common
= util
/grub
-mkimage64.c
;
682 common
= util
/grub
-install
-common.c
;
683 common
= util
/setup_bios.c
;
684 common
= util
/setup_sparc.c
;
685 common
= grub
-core
/lib
/reed_solomon.c
;
686 common
= grub
-core
/osdep
/random.c
;
687 common
= grub
-core
/osdep
/ofpath.c
;
688 common
= grub
-core
/osdep
/platform.c
;
689 common
= grub
-core
/osdep
/platform_unix.c
;
690 common
= grub
-core
/osdep
/compress.c
;
691 common
= util
/editenv.c
;
692 common
= grub
-core
/osdep
/blocklist.c
;
693 common
= grub
-core
/osdep
/config.c
;
694 common
= util
/config.c
;
696 common
= util
/resolve.c
;
697 common
= grub
-core
/kern
/emu
/argp_common.c
;
698 common
= grub
-core
/osdep
/init.c
;
700 ldadd
= '$(LIBLZMA)';
701 ldadd
= libgrubmods.a
;
702 ldadd
= libgrubgcry.a
;
703 ldadd
= libgrubkern.a
;
704 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
705 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
709 name
= grub
-mkconfig
;
710 common
= util
/grub
-mkconfig.in
;
716 name
= grub
-set
-default
;
717 common
= util
/grub
-set
-default.in
;
724 common
= util
/grub
-reboot.in
;
730 name
= grub
-mkconfig_lib
;
731 common
= util
/grub
-mkconfig_lib.in
;
737 common
= util
/grub
-kbdcomp.in
;
743 common
= tests
/util
/grub
-shell.in
;
748 name
= grub
-shell
-tester
;
749 common
= tests
/util
/grub
-shell
-tester.in
;
754 name
= grub
-shell
-luks
-tester
;
755 common
= tests
/util
/grub
-shell
-luks
-tester.in
;
760 name
= grub
-fs
-tester
;
761 common
= tests
/util
/grub
-fs
-tester.in
;
763 dependencies
= 'garbage-gen$(BUILD_EXEEXT)';
769 common
= tests
/ext234_test.in
;
774 name
= squashfs_test
;
775 common
= tests
/squashfs_test.in
;
781 common
= tests
/iso9660_test.in
;
787 common
= tests
/hfsplus_test.in
;
793 common
= tests
/ntfs_test.in
;
798 name
= reiserfs_test
;
799 common
= tests
/reiserfs_test.in
;
805 common
= tests
/fat_test.in
;
811 common
= tests
/minixfs_test.in
;
817 common
= tests
/xfs_test.in
;
823 common
= tests
/f2fs_test.in
;
829 common
= tests
/nilfs2_test.in
;
835 common
= tests
/romfs_test.in
;
841 common
= tests
/exfat_test.in
;
847 common
= tests
/tar_test.in
;
853 common
= tests
/udf_test.in
;
859 common
= tests
/hfs_test.in
;
865 common
= tests
/jfs_test.in
;
871 common
= tests
/btrfs_test.in
;
877 common
= tests
/zfs_test.in
;
883 common
= tests
/cpio_test.in
;
888 name
= example_scripted_test
;
889 common
= tests
/example_scripted_test.in
;
894 name
= gettext_strings_test
;
895 common
= tests
/gettext_strings_test.in
;
896 extra_dist
= po
/exclude.pot
;
900 testcase
= nonnative
;
902 common
= tests
/pata_test.in
;
906 testcase
= nonnative
;
908 common
= tests
/ahci_test.in
;
912 testcase
= nonnative
;
914 common
= tests
/uhci_test.in
;
918 testcase
= nonnative
;
920 common
= tests
/ohci_test.in
;
924 testcase
= nonnative
;
926 common
= tests
/ehci_test.in
;
930 testcase
= nonnative
;
931 name
= example_grub_script_test
;
932 common
= tests
/example_grub_script_test.in
;
936 testcase
= nonnative
;
937 name
= grub_script_eval
;
938 common
= tests
/grub_script_eval.in
;
942 testcase
= nonnative
;
943 name
= grub_script_test
;
944 common
= tests
/grub_script_test.in
;
948 testcase
= nonnative
;
949 name
= grub_script_echo1
;
950 common
= tests
/grub_script_echo1.in
;
954 testcase
= nonnative
;
955 name
= grub_script_leading_whitespace
;
956 common
= tests
/grub_script_leading_whitespace.in
;
960 testcase
= nonnative
;
961 name
= grub_script_echo_keywords
;
962 common
= tests
/grub_script_echo_keywords.in
;
966 testcase
= nonnative
;
967 name
= grub_script_vars1
;
968 common
= tests
/grub_script_vars1.in
;
972 testcase
= nonnative
;
973 name
= grub_script_for1
;
974 common
= tests
/grub_script_for1.in
;
978 testcase
= nonnative
;
979 name
= grub_script_while1
;
980 common
= tests
/grub_script_while1.in
;
984 testcase
= nonnative
;
985 name
= grub_script_if
;
986 common
= tests
/grub_script_if.in
;
991 name
= grub_script_blanklines
;
992 common
= tests
/grub_script_blanklines.in
;
997 name
= grub_script_final_semicolon
;
998 common
= tests
/grub_script_final_semicolon.in
;
1003 name
= grub_script_dollar
;
1004 common
= tests
/grub_script_dollar.in
;
1008 testcase
= nonnative
;
1009 name
= grub_script_comments
;
1010 common
= tests
/grub_script_comments.in
;
1014 testcase
= nonnative
;
1015 name
= grub_script_functions
;
1016 common
= tests
/grub_script_functions.in
;
1020 testcase
= nonnative
;
1021 name
= grub_script_break
;
1022 common
= tests
/grub_script_break.in
;
1026 testcase
= nonnative
;
1027 name
= grub_script_continue
;
1028 common
= tests
/grub_script_continue.in
;
1032 testcase
= nonnative
;
1033 name
= grub_script_shift
;
1034 common
= tests
/grub_script_shift.in
;
1038 testcase
= nonnative
;
1039 name
= grub_script_blockarg
;
1040 common
= tests
/grub_script_blockarg.in
;
1044 testcase
= nonnative
;
1045 name
= grub_script_setparams
;
1046 common
= tests
/grub_script_setparams.in
;
1050 testcase
= nonnative
;
1051 name
= grub_script_return
;
1052 common
= tests
/grub_script_return.in
;
1056 testcase
= nonnative
;
1057 name
= grub_cmd_cryptomount
;
1058 common
= tests
/grub_cmd_cryptomount.in
;
1062 testcase
= nonnative
;
1063 name
= grub_cmd_regexp
;
1064 common
= tests
/grub_cmd_regexp.in
;
1068 testcase
= nonnative
;
1069 name
= grub_cmd_date
;
1070 common
= tests
/grub_cmd_date.in
;
1074 testcase
= nonnative
;
1075 name
= grub_cmd_set_date
;
1076 common
= tests
/grub_cmd_set_date.in
;
1080 testcase
= nonnative
;
1081 name
= grub_cmd_sleep
;
1082 common
= tests
/grub_cmd_sleep.in
;
1086 testcase
= nonnative
;
1087 name
= grub_script_expansion
;
1088 common
= tests
/grub_script_expansion.in
;
1092 testcase
= nonnative
;
1093 name
= grub_script_not
;
1094 common
= tests
/grub_script_not.in
;
1099 name
= grub_script_no_commands
;
1100 common
= tests
/grub_script_no_commands.in
;
1104 testcase
= nonnative
;
1105 name
= partmap_test
;
1106 common
= tests
/partmap_test.in
;
1110 testcase
= nonnative
;
1111 name
= hddboot_test
;
1112 common
= tests
/hddboot_test.in
;
1116 testcase
= nonnative
;
1117 name
= fddboot_test
;
1118 common
= tests
/fddboot_test.in
;
1122 testcase
= nonnative
;
1124 common
= tests
/cdboot_test.in
;
1128 testcase
= nonnative
;
1129 name
= netboot_test
;
1130 common
= tests
/netboot_test.in
;
1134 testcase
= nonnative
;
1136 common
= tests
/serial_test.in
;
1140 testcase
= nonnative
;
1141 name
= pseries_test
;
1142 common
= tests
/pseries_test.in
;
1146 testcase
= nonnative
;
1147 name
= core_compress_test
;
1148 common
= tests
/core_compress_test.in
;
1152 testcase
= nonnative
;
1153 name
= xzcompress_test
;
1154 common
= tests
/xzcompress_test.in
;
1158 testcase
= nonnative
;
1159 name
= gzcompress_test
;
1160 common
= tests
/gzcompress_test.in
;
1164 testcase
= nonnative
;
1165 name
= lzocompress_test
;
1166 common
= tests
/lzocompress_test.in
;
1170 testcase
= nonnative
;
1171 name
= grub_cmd_echo
;
1172 common
= tests
/grub_cmd_echo.in
;
1176 testcase
= nonnative
;
1178 common
= tests
/help_test.in
;
1182 testcase
= nonnative
;
1183 name
= grub_script_gettext
;
1184 common
= tests
/grub_script_gettext.in
;
1188 testcase
= nonnative
;
1189 name
= grub_script_escape_comma
;
1190 common
= tests
/grub_script_escape_comma.in
;
1194 testcase
= nonnative
;
1195 name
= grub_script_strcmp
;
1196 common
= tests
/grub_script_strcmp.in
;
1200 testcase
= nonnative
;
1201 name
= test_sha512sum
;
1202 common
= tests
/test_sha512sum.in
;
1206 testcase
= nonnative
;
1208 common
= tests
/test_unset.in
;
1212 testcase
= nonnative
;
1213 name
= grub_func_test
;
1214 common
= tests
/grub_func_test.in
;
1218 testcase
= nonnative
;
1220 common
= tests
/grub_cmd_tr.in
;
1224 testcase
= nonnative
;
1225 name
= file_filter_test
;
1226 common
= tests
/file_filter_test.in
;
1230 testcase
= nonnative
;
1231 name
= grub_cmd_test
;
1232 common
= tests
/grub_cmd_test.in
;
1237 name
= syslinux_test
;
1238 common
= tests
/syslinux_test.in
;
1244 common
= tests
/luks1_test.in
;
1250 common
= tests
/luks2_test.in
;
1255 name
= example_unit_test
;
1256 common
= tests
/example_unit_test.c
;
1257 common
= tests
/lib
/unit_test.c
;
1258 common
= grub
-core
/kern
/list.c
;
1259 common
= grub
-core
/kern
/misc.c
;
1260 common
= grub
-core
/tests
/lib
/test.c
;
1261 ldadd
= libgrubmods.a
;
1262 ldadd
= libgrubgcry.a
;
1263 ldadd
= libgrubkern.a
;
1264 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1265 ldadd
= '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1271 common
= tests
/printf_unit_test.c
;
1272 common
= tests
/lib
/unit_test.c
;
1273 common
= grub
-core
/kern
/list.c
;
1274 common
= grub
-core
/kern
/misc.c
;
1275 common
= grub
-core
/tests
/lib
/test.c
;
1276 ldadd
= libgrubmods.a
;
1277 ldadd
= libgrubgcry.a
;
1278 ldadd
= libgrubkern.a
;
1279 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1280 ldadd
= '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1286 common
= tests
/date_unit_test.c
;
1287 common
= tests
/lib
/unit_test.c
;
1288 common
= grub
-core
/kern
/list.c
;
1289 common
= grub
-core
/kern
/misc.c
;
1290 common
= grub
-core
/tests
/lib
/test.c
;
1291 ldadd
= libgrubmods.a
;
1292 ldadd
= libgrubgcry.a
;
1293 ldadd
= libgrubkern.a
;
1294 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1295 ldadd
= '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1300 name
= priority_queue_unit_test
;
1301 common
= tests
/priority_queue_unit_test.cc
;
1302 common
= tests
/lib
/unit_test.c
;
1303 common
= grub
-core
/kern
/list.c
;
1304 common
= grub
-core
/kern
/misc.c
;
1305 common
= grub
-core
/tests
/lib
/test.c
;
1306 common
= grub
-core
/lib
/priority_queue.c
;
1307 ldadd
= libgrubmods.a
;
1308 ldadd
= libgrubgcry.a
;
1309 ldadd
= libgrubkern.a
;
1310 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1311 ldadd
= '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1312 condition
= COND_HAVE_CXX
;
1318 common
= tests
/cmp_unit_test.c
;
1319 common
= tests
/lib
/unit_test.c
;
1320 common
= grub
-core
/kern
/list.c
;
1321 common
= grub
-core
/kern
/misc.c
;
1322 common
= grub
-core
/tests
/lib
/test.c
;
1323 ldadd
= libgrubmods.a
;
1324 ldadd
= libgrubgcry.a
;
1325 ldadd
= libgrubkern.a
;
1326 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1327 ldadd
= '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1331 name
= grub
-menulst2cfg
;
1333 common
= util
/grub
-menulst2cfg.c
;
1334 common
= grub
-core
/lib
/legacy_parse.c
;
1335 common
= grub
-core
/lib
/i386
/pc
/vesa_modes_table.c
;
1336 common
= grub
-core
/osdep
/init.c
;
1338 ldadd
= libgrubmods.a
;
1339 ldadd
= libgrubgcry.a
;
1340 ldadd
= libgrubkern.a
;
1341 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1342 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1346 name
= grub
-syslinux2cfg
;
1348 common
= util
/grub
-syslinux2cfg.c
;
1349 common
= grub
-core
/lib
/syslinux_parse.c
;
1350 common
= grub
-core
/lib
/getline.c
;
1351 common
= grub
-core
/osdep
/init.c
;
1352 common
= grub
-core
/kern
/emu
/hostfs.c
;
1353 common
= grub
-core
/disk
/host.c
;
1354 common
= grub
-core
/kern
/emu
/argp_common.c
;
1356 ldadd
= libgrubmods.a
;
1357 ldadd
= libgrubgcry.a
;
1358 ldadd
= libgrubkern.a
;
1359 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1360 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1364 name
= grub
-glue
-efi
;
1367 common
= util
/grub
-glue
-efi.c
;
1368 common
= util
/glue
-efi.c
;
1369 common
= grub
-core
/kern
/emu
/argp_common.c
;
1370 common
= grub
-core
/osdep
/init.c
;
1372 ldadd
= libgrubmods.a
;
1373 ldadd
= libgrubgcry.a
;
1374 ldadd
= libgrubkern.a
;
1375 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1376 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1380 name
= grub
-render
-label
;
1383 common
= util
/grub
-render
-label.c
;
1384 common
= util
/render
-label.c
;
1385 common
= grub
-core
/kern
/emu
/argp_common.c
;
1386 common
= grub
-core
/kern
/emu
/hostfs.c
;
1387 common
= grub
-core
/disk
/host.c
;
1388 common
= grub
-core
/osdep
/init.c
;
1390 ldadd
= libgrubmods.a
;
1391 ldadd
= libgrubgcry.a
;
1392 ldadd
= libgrubkern.a
;
1393 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1394 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
1401 common
= util
/grub
-file.c
;
1402 common
= util
/render
-label.c
;
1403 common
= grub
-core
/commands
/file.c
;
1404 common
= grub
-core
/commands
/file32.c
;
1405 common
= grub
-core
/commands
/file64.c
;
1406 common
= grub
-core
/loader
/i386
/xen_file.c
;
1407 common
= grub
-core
/loader
/i386
/xen_file32.c
;
1408 common
= grub
-core
/loader
/i386
/xen_file64.c
;
1409 common
= grub
-core
/io
/offset.c
;
1410 common
= grub
-core
/kern
/elf.c
;
1411 common
= grub
-core
/loader
/lzss.c
;
1412 common
= grub
-core
/loader
/macho.c
;
1413 common
= grub
-core
/loader
/macho32.c
;
1414 common
= grub
-core
/loader
/macho64.c
;
1415 common
= grub
-core
/kern
/emu
/hostfs.c
;
1416 common
= grub
-core
/disk
/host.c
;
1417 common
= grub
-core
/osdep
/init.c
;
1419 ldadd
= libgrubmods.a
;
1420 ldadd
= libgrubgcry.a
;
1421 ldadd
= libgrubkern.a
;
1422 ldadd
= grub
-core
/lib
/gnulib
/libgnu.a
;
1423 ldadd
= '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';