]>
Commit | Line | Data |
---|---|---|
8c411768 BC |
1 | AutoGen definitions Makefile.tpl; |
2 | ||
4b2047e2 | 3 | library = { |
38631371 | 4 | name = libgrubkern.a; |
4b2047e2 | 5 | cflags = '$(CFLAGS_GNULIB)'; |
365e0cc3 | 6 | cppflags = '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json'; |
4b2047e2 BC |
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; | |
442b86de | 12 | common = grub-core/lib/disk.c; |
2e418de6 | 13 | common = util/getroot.c; |
672fa55e VS |
14 | common = grub-core/osdep/unix/getroot.c; |
15 | common = grub-core/osdep/getroot.c; | |
16 | common = grub-core/osdep/devmapper/getroot.c; | |
a4012f07 | 17 | common = grub-core/osdep/relpath.c; |
e11cb726 | 18 | extra_dist = grub-core/kern/disk_common.c; |
a4012f07 VS |
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; | |
38631371 | 22 | common = grub-core/kern/emu/hostdisk.c; |
672fa55e VS |
23 | common = grub-core/osdep/devmapper/hostdisk.c; |
24 | common = grub-core/osdep/hostdisk.c; | |
25 | common = grub-core/osdep/unix/hostdisk.c; | |
40346de6 | 26 | common = grub-core/osdep/exec.c; |
c1ca4244 | 27 | common = grub-core/osdep/sleep.c; |
4a445f58 | 28 | common = grub-core/osdep/password.c; |
38631371 BC |
29 | common = grub-core/kern/emu/misc.c; |
30 | common = grub-core/kern/emu/mm.c; | |
4b2047e2 | 31 | common = grub-core/kern/env.c; |
38631371 BC |
32 | common = grub-core/kern/err.c; |
33 | common = grub-core/kern/file.c; | |
34 | common = grub-core/kern/fs.c; | |
4b2047e2 BC |
35 | common = grub-core/kern/list.c; |
36 | common = grub-core/kern/misc.c; | |
4b2047e2 | 37 | common = grub-core/kern/partition.c; |
dcd73ec0 | 38 | common = grub-core/lib/crypto.c; |
365e0cc3 | 39 | common = grub-core/lib/json/json.c; |
dcd73ec0 | 40 | common = grub-core/disk/luks.c; |
365e0cc3 | 41 | common = grub-core/disk/luks2.c; |
1a1f408f | 42 | common = grub-core/disk/geli.c; |
8585e54b | 43 | common = grub-core/disk/cryptodisk.c; |
dcd73ec0 VS |
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; | |
076e7c0f VS |
48 | common = grub-core/disk/ldm.c; |
49 | common = grub-core/disk/diskfilter.c; | |
50 | common = grub-core/partmap/gpt.c; | |
b7b78edb | 51 | common = grub-core/partmap/msdos.c; |
ce50dbd7 | 52 | common = grub-core/fs/proc.c; |
4622f4e1 | 53 | common = grub-core/fs/archelp.c; |
4b2047e2 BC |
54 | }; |
55 | ||
8c411768 | 56 | library = { |
38631371 | 57 | name = libgrubmods.a; |
efa68bfa | 58 | cflags = '-fno-builtin -Wno-undef'; |
38612864 | 59 | cppflags = '-I$(srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -I$(srcdir)/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H'; |
8c411768 | 60 | |
8427685f BC |
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; | |
66 | ||
8427685f | 67 | common = grub-core/commands/blocklist.c; |
b8765fa0 | 68 | common = grub-core/commands/macbless.c; |
3be82e10 | 69 | common = grub-core/commands/xnu_uuid.c; |
77ba5392 | 70 | common = grub-core/commands/testload.c; |
8427685f BC |
71 | common = grub-core/commands/ls.c; |
72 | common = grub-core/disk/dmraid_nvidia.c; | |
8427685f BC |
73 | common = grub-core/disk/loopback.c; |
74 | common = grub-core/disk/lvm.c; | |
75 | common = grub-core/disk/mdraid_linux.c; | |
22e6a774 | 76 | common = grub-core/disk/mdraid_linux_be.c; |
1e8d555b | 77 | common = grub-core/disk/mdraid1x_linux.c; |
8427685f BC |
78 | common = grub-core/disk/raid5_recover.c; |
79 | common = grub-core/disk/raid6_recover.c; | |
a79b8a15 VS |
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; | |
50361660 | 88 | common = grub-core/video/capture.c; |
a79b8a15 VS |
89 | common = grub-core/video/colors.c; |
90 | common = grub-core/unidata.c; | |
91 | common = grub-core/io/bufio.c; | |
8427685f | 92 | common = grub-core/fs/affs.c; |
8427685f | 93 | common = grub-core/fs/afs.c; |
5825b379 | 94 | common = grub-core/fs/bfs.c; |
4dfbc574 | 95 | common = grub-core/fs/btrfs.c; |
5027af38 | 96 | common = grub-core/fs/cbfs.c; |
8427685f | 97 | common = grub-core/fs/cpio.c; |
a1a8b1b9 VS |
98 | common = grub-core/fs/cpio_be.c; |
99 | common = grub-core/fs/odc.c; | |
100 | common = grub-core/fs/newc.c; | |
8427685f BC |
101 | common = grub-core/fs/ext2.c; |
102 | common = grub-core/fs/fat.c; | |
48fe18dc | 103 | common = grub-core/fs/exfat.c; |
71f9e4ac | 104 | common = grub-core/fs/f2fs.c; |
8427685f BC |
105 | common = grub-core/fs/fshelp.c; |
106 | common = grub-core/fs/hfs.c; | |
107 | common = grub-core/fs/hfsplus.c; | |
8098f655 | 108 | common = grub-core/fs/hfspluscomp.c; |
8427685f BC |
109 | common = grub-core/fs/iso9660.c; |
110 | common = grub-core/fs/jfs.c; | |
111 | common = grub-core/fs/minix.c; | |
b4a0c915 | 112 | common = grub-core/fs/minix2.c; |
8fc88523 | 113 | common = grub-core/fs/minix3.c; |
ac66b453 VS |
114 | common = grub-core/fs/minix_be.c; |
115 | common = grub-core/fs/minix2_be.c; | |
116 | common = grub-core/fs/minix3_be.c; | |
8427685f BC |
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; | |
29184e93 | 121 | common = grub-core/fs/romfs.c; |
8427685f | 122 | common = grub-core/fs/sfs.c; |
332fa368 | 123 | common = grub-core/fs/squash4.c; |
8427685f BC |
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; | |
d9c48c7b | 128 | common = grub-core/fs/ufs_be.c; |
8427685f | 129 | common = grub-core/fs/xfs.c; |
f003a8c5 | 130 | common = grub-core/fs/zfs/zfscrypt.c; |
bf78d5b2 | 131 | common = grub-core/fs/zfs/zfs.c; |
fdfde32a | 132 | common = grub-core/fs/zfs/zfsinfo.c; |
bf78d5b2 | 133 | common = grub-core/fs/zfs/zfs_lzjb.c; |
038016f4 | 134 | common = grub-core/fs/zfs/zfs_lz4.c; |
bf78d5b2 RM |
135 | common = grub-core/fs/zfs/zfs_sha256.c; |
136 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f BC |
137 | common = grub-core/lib/envblk.c; |
138 | common = grub-core/lib/hexdump.c; | |
8427685f BC |
139 | common = grub-core/lib/LzFind.c; |
140 | common = grub-core/lib/LzmaEnc.c; | |
3836e89d | 141 | common = grub-core/lib/crc.c; |
9a8d32a2 | 142 | common = grub-core/lib/adler32.c; |
158dc1ea | 143 | common = grub-core/lib/crc64.c; |
aa096037 | 144 | common = grub-core/lib/datetime.c; |
8427685f BC |
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; | |
8427685f | 149 | common = grub-core/partmap/sun.c; |
ac9ef7ee | 150 | common = grub-core/partmap/plan.c; |
fb25a861 | 151 | common = grub-core/partmap/dvh.c; |
ad717fae | 152 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 153 | common = grub-core/partmap/bsdlabel.c; |
1e908b34 | 154 | common = grub-core/partmap/dfly.c; |
8427685f BC |
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; | |
3be8e5ea | 160 | common = grub-core/io/gzio.c; |
ec824e0f | 161 | common = grub-core/io/xzio.c; |
ec543969 | 162 | common = grub-core/io/lzopio.c; |
5452733f | 163 | common = grub-core/kern/ia64/dl_helper.c; |
15a463d7 LL |
164 | common = grub-core/kern/arm/dl_helper.c; |
165 | common = grub-core/kern/arm64/dl_helper.c; | |
095f077e | 166 | common = grub-core/lib/minilzo/minilzo.c; |
c029da8a VS |
167 | common = grub-core/lib/xzembed/xz_dec_bcj.c; |
168 | common = grub-core/lib/xzembed/xz_dec_lzma2.c; | |
169 | common = grub-core/lib/xzembed/xz_dec_stream.c; | |
38612864 NT |
170 | common = grub-core/lib/zstd/debug.c; |
171 | common = grub-core/lib/zstd/entropy_common.c; | |
172 | common = grub-core/lib/zstd/error_private.c; | |
173 | common = grub-core/lib/zstd/fse_decompress.c; | |
174 | common = grub-core/lib/zstd/huf_decompress.c; | |
175 | common = grub-core/lib/zstd/module.c; | |
176 | common = grub-core/lib/zstd/xxhash.c; | |
177 | common = grub-core/lib/zstd/zstd_common.c; | |
178 | common = grub-core/lib/zstd/zstd_decompress.c; | |
8c411768 BC |
179 | }; |
180 | ||
8c411768 BC |
181 | program = { |
182 | name = grub-mkimage; | |
183 | mansection = 1; | |
184 | ||
8427685f | 185 | common = util/grub-mkimage.c; |
ec16e026 | 186 | common = util/mkimage.c; |
36212460 VS |
187 | common = util/grub-mkimage32.c; |
188 | common = util/grub-mkimage64.c; | |
8427685f | 189 | common = util/resolve.c; |
6a656b0e | 190 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 191 | common = grub-core/osdep/init.c; |
cd46aa6c | 192 | common = grub-core/osdep/config.c; |
4e7d433d | 193 | extra_dist = grub-core/osdep/aros/config.c; |
cd46aa6c VS |
194 | extra_dist = grub-core/osdep/windows/config.c; |
195 | extra_dist = grub-core/osdep/unix/config.c; | |
196 | common = util/config.c; | |
c76899a0 | 197 | |
a60f6ee1 | 198 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 199 | |
38631371 | 200 | ldadd = libgrubmods.a; |
dcd73ec0 | 201 | ldadd = libgrubgcry.a; |
38631371 | 202 | ldadd = libgrubkern.a; |
35b90906 | 203 | ldadd = grub-core/lib/gnulib/libgnu.a; |
2c44e493 | 204 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 205 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8151bc82 | 206 | cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"'; |
8c411768 BC |
207 | }; |
208 | ||
209 | program = { | |
210 | name = grub-mkrelpath; | |
211 | mansection = 1; | |
212 | ||
8427685f | 213 | common = util/grub-mkrelpath.c; |
6a656b0e | 214 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 215 | common = grub-core/osdep/init.c; |
8c411768 | 216 | |
38631371 | 217 | ldadd = libgrubmods.a; |
7efb5c9e | 218 | ldadd = libgrubgcry.a; |
38631371 | 219 | ldadd = libgrubkern.a; |
35b90906 | 220 | ldadd = grub-core/lib/gnulib/libgnu.a; |
20fd15f9 | 221 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
222 | }; |
223 | ||
224 | program = { | |
225 | name = grub-script-check; | |
226 | mansection = 1; | |
227 | ||
8427685f | 228 | common = util/grub-script-check.c; |
6a656b0e | 229 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 230 | common = grub-core/osdep/init.c; |
8c411768 | 231 | |
38631371 | 232 | ldadd = libgrubmods.a; |
7efb5c9e | 233 | ldadd = libgrubgcry.a; |
38631371 | 234 | ldadd = libgrubkern.a; |
35b90906 | 235 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 236 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
237 | }; |
238 | ||
239 | program = { | |
240 | name = grub-editenv; | |
241 | mansection = 1; | |
242 | ||
8427685f | 243 | common = util/grub-editenv.c; |
bacfefbb | 244 | common = util/editenv.c; |
0ad07e92 | 245 | common = util/grub-install-common.c; |
ae5540d3 | 246 | common = grub-core/osdep/init.c; |
0ad07e92 PJ |
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; | |
8c411768 | 256 | |
0ad07e92 | 257 | ldadd = '$(LIBLZMA)'; |
38631371 | 258 | ldadd = libgrubmods.a; |
7efb5c9e | 259 | ldadd = libgrubgcry.a; |
38631371 | 260 | ldadd = libgrubkern.a; |
35b90906 | 261 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 262 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
263 | }; |
264 | ||
265 | program = { | |
266 | name = grub-mkpasswd-pbkdf2; | |
267 | mansection = 1; | |
268 | ||
8427685f | 269 | common = util/grub-mkpasswd-pbkdf2.c; |
6a656b0e | 270 | common = grub-core/kern/emu/argp_common.c; |
672fa55e | 271 | common = grub-core/osdep/random.c; |
ae5540d3 | 272 | common = grub-core/osdep/init.c; |
8c411768 | 273 | |
38631371 | 274 | ldadd = libgrubmods.a; |
dcd73ec0 | 275 | ldadd = libgrubgcry.a; |
38631371 | 276 | ldadd = libgrubkern.a; |
35b90906 | 277 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 278 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
279 | }; |
280 | ||
281 | program = { | |
282 | name = grub-macho2img; | |
283 | mansection = 1; | |
8427685f | 284 | common = util/grub-macho2img.c; |
a9f25a08 | 285 | condition = COND_APPLE_LINKER; |
8c411768 BC |
286 | }; |
287 | ||
8c411768 BC |
288 | program = { |
289 | name = grub-fstest; | |
290 | mansection = 1; | |
905f7773 | 291 | common_nodist = grub_fstest_init.c; |
8427685f | 292 | common = util/grub-fstest.c; |
b6a690ee CW |
293 | common = grub-core/kern/emu/hostfs.c; |
294 | common = grub-core/disk/host.c; | |
ae5540d3 | 295 | common = grub-core/osdep/init.c; |
8c411768 | 296 | |
38631371 | 297 | ldadd = libgrubmods.a; |
dcd73ec0 | 298 | ldadd = libgrubgcry.a; |
38631371 | 299 | ldadd = libgrubkern.a; |
35b90906 | 300 | ldadd = grub-core/lib/gnulib/libgnu.a; |
20fd15f9 | 301 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
302 | }; |
303 | ||
92bb0786 | 304 | program = { |
89644ef1 | 305 | name = grub-mount; |
92bb0786 VS |
306 | mansection = 1; |
307 | common_nodist = grub_fstest_init.c; | |
89644ef1 | 308 | common = util/grub-mount.c; |
92bb0786 VS |
309 | common = grub-core/kern/emu/hostfs.c; |
310 | common = grub-core/disk/host.c; | |
f8f3f155 | 311 | common = grub-core/osdep/init.c; |
92bb0786 VS |
312 | |
313 | ldadd = libgrubmods.a; | |
f1f233ba | 314 | ldadd = libgrubgcry.a; |
92bb0786 | 315 | ldadd = libgrubkern.a; |
35b90906 | 316 | ldadd = grub-core/lib/gnulib/libgnu.a; |
794c8c33 | 317 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse'; |
897e6207 | 318 | condition = COND_GRUB_MOUNT; |
8c411768 BC |
319 | }; |
320 | ||
321 | program = { | |
322 | name = grub-mkfont; | |
323 | mansection = 1; | |
8427685f | 324 | common = util/grub-mkfont.c; |
6a656b0e | 325 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 326 | common = grub-core/osdep/init.c; |
8c411768 | 327 | |
bcfa0f08 | 328 | cflags = '$(FREETYPE_CFLAGS)'; |
7c9d0c39 | 329 | cppflags = '-DGRUB_MKFONT=1'; |
2d465fb0 | 330 | |
ae5540d3 VS |
331 | ldadd = libgrubmods.a; |
332 | ldadd = libgrubgcry.a; | |
333 | ldadd = libgrubkern.a; | |
35b90906 | 334 | ldadd = grub-core/lib/gnulib/libgnu.a; |
bcfa0f08 | 335 | ldadd = '$(FREETYPE_LIBS)'; |
ae5540d3 | 336 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 337 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
338 | }; |
339 | ||
8c411768 BC |
340 | program = { |
341 | name = grub-probe; | |
342 | installdir = sbin; | |
343 | mansection = 8; | |
8427685f | 344 | common = util/grub-probe.c; |
cd46aa6c | 345 | common = util/probe.c; |
9a2c903f | 346 | common = grub-core/osdep/ofpath.c; |
6a656b0e | 347 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 348 | common = grub-core/osdep/init.c; |
8c411768 | 349 | |
38631371 | 350 | ldadd = libgrubmods.a; |
dcd73ec0 | 351 | ldadd = libgrubgcry.a; |
38631371 | 352 | ldadd = libgrubkern.a; |
35b90906 | 353 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 354 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
355 | }; |
356 | ||
357 | program = { | |
c36e5cd1 | 358 | name = grub-bios-setup; |
8c411768 BC |
359 | installdir = sbin; |
360 | mansection = 8; | |
d2ea4551 | 361 | common = util/grub-setup.c; |
c06c7520 | 362 | common = util/setup_bios.c; |
8104063c | 363 | extra_dist = util/setup.c; |
6a656b0e | 364 | common = grub-core/kern/emu/argp_common.c; |
419cbeb0 | 365 | common = grub-core/lib/reed_solomon.c; |
5a869940 VS |
366 | common = grub-core/osdep/blocklist.c; |
367 | extra_dist = grub-core/osdep/generic/blocklist.c; | |
368 | extra_dist = grub-core/osdep/linux/blocklist.c; | |
369 | extra_dist = grub-core/osdep/windows/blocklist.c; | |
ae5540d3 | 370 | common = grub-core/osdep/init.c; |
8c411768 | 371 | |
38631371 BC |
372 | ldadd = libgrubmods.a; |
373 | ldadd = libgrubkern.a; | |
7efb5c9e | 374 | ldadd = libgrubgcry.a; |
35b90906 | 375 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 376 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
c06c7520 | 377 | cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup'; |
c36e5cd1 | 378 | }; |
911bd640 | 379 | |
c36e5cd1 VS |
380 | program = { |
381 | name = grub-sparc64-setup; | |
382 | installdir = sbin; | |
383 | mansection = 8; | |
384 | common = util/grub-setup.c; | |
c06c7520 | 385 | common = util/setup_sparc.c; |
c36e5cd1 VS |
386 | common = grub-core/kern/emu/argp_common.c; |
387 | common = grub-core/lib/reed_solomon.c; | |
9a2c903f | 388 | common = grub-core/osdep/ofpath.c; |
5a869940 | 389 | common = grub-core/osdep/blocklist.c; |
ae5540d3 | 390 | common = grub-core/osdep/init.c; |
c36e5cd1 VS |
391 | |
392 | ldadd = libgrubmods.a; | |
393 | ldadd = libgrubkern.a; | |
394 | ldadd = libgrubgcry.a; | |
35b90906 | 395 | ldadd = grub-core/lib/gnulib/libgnu.a; |
c36e5cd1 | 396 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
c06c7520 | 397 | cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup'; |
8c411768 BC |
398 | }; |
399 | ||
400 | program = { | |
401 | name = grub-ofpathname; | |
402 | installdir = sbin; | |
63e3eea9 | 403 | mansection = 8; |
6c21f5d7 | 404 | common = util/ieee1275/grub-ofpathname.c; |
9a2c903f | 405 | common = grub-core/osdep/ofpath.c; |
ae5540d3 | 406 | common = grub-core/osdep/init.c; |
8c411768 | 407 | |
38631371 | 408 | ldadd = libgrubmods.a; |
7efb5c9e | 409 | ldadd = libgrubgcry.a; |
38631371 | 410 | ldadd = libgrubkern.a; |
35b90906 | 411 | ldadd = grub-core/lib/gnulib/libgnu.a; |
6ba98355 | 412 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
413 | }; |
414 | ||
5aaf2c18 VS |
415 | program = { |
416 | name = grub-mklayout; | |
417 | mansection = 1; | |
418 | ||
419 | common = util/grub-mklayout.c; | |
6a656b0e | 420 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 421 | common = grub-core/osdep/init.c; |
5aaf2c18 | 422 | |
38631371 | 423 | ldadd = libgrubmods.a; |
7efb5c9e | 424 | ldadd = libgrubgcry.a; |
38631371 | 425 | ldadd = libgrubkern.a; |
35b90906 | 426 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 427 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
428 | }; |
429 | ||
b8765fa0 VS |
430 | program = { |
431 | name = grub-macbless; | |
432 | installdir = sbin; | |
ccd21a65 | 433 | mansection = 8; |
b8765fa0 VS |
434 | common = util/grub-macbless.c; |
435 | common = grub-core/osdep/init.c; | |
436 | common = grub-core/kern/emu/argp_common.c; | |
437 | ||
438 | ldadd = libgrubmods.a; | |
439 | ldadd = libgrubgcry.a; | |
440 | ldadd = libgrubkern.a; | |
35b90906 | 441 | ldadd = grub-core/lib/gnulib/libgnu.a; |
ee83919e | 442 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
b8765fa0 VS |
443 | }; |
444 | ||
8c411768 | 445 | data = { |
8427685f | 446 | common = util/grub.d/README; |
8c411768 | 447 | installdir = grubconf; |
8c411768 BC |
448 | }; |
449 | ||
450 | script = { | |
451 | name = '00_header'; | |
8427685f | 452 | common = util/grub.d/00_header.in; |
8c411768 | 453 | installdir = grubconf; |
8c411768 BC |
454 | }; |
455 | ||
456 | script = { | |
457 | name = '10_windows'; | |
8427685f | 458 | common = util/grub.d/10_windows.in; |
8c411768 | 459 | installdir = grubconf; |
f7711f5e | 460 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
461 | }; |
462 | ||
463 | script = { | |
464 | name = '10_hurd'; | |
8427685f | 465 | common = util/grub.d/10_hurd.in; |
8c411768 | 466 | installdir = grubconf; |
faf4a65e | 467 | condition = COND_HOST_HURD; |
5815f2c1 BC |
468 | }; |
469 | ||
470 | script = { | |
f51c98c4 | 471 | name = '10_kfreebsd'; |
5815f2c1 BC |
472 | common = util/grub.d/10_kfreebsd.in; |
473 | installdir = grubconf; | |
faf4a65e | 474 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
475 | }; |
476 | ||
958ee221 VS |
477 | script = { |
478 | name = '10_illumos'; | |
479 | common = util/grub.d/10_illumos.in; | |
480 | installdir = grubconf; | |
faf4a65e | 481 | condition = COND_HOST_ILLUMOS; |
958ee221 VS |
482 | }; |
483 | ||
5815f2c1 | 484 | script = { |
f51c98c4 | 485 | name = '10_netbsd'; |
5815f2c1 BC |
486 | common = util/grub.d/10_netbsd.in; |
487 | installdir = grubconf; | |
faf4a65e | 488 | condition = COND_HOST_NETBSD; |
8c411768 BC |
489 | }; |
490 | ||
491 | script = { | |
492 | name = '10_linux'; | |
8427685f | 493 | common = util/grub.d/10_linux.in; |
8c411768 | 494 | installdir = grubconf; |
faf4a65e | 495 | condition = COND_HOST_LINUX; |
f7711f5e BC |
496 | }; |
497 | ||
b105df76 VS |
498 | script = { |
499 | name = '10_xnu'; | |
500 | common = util/grub.d/10_xnu.in; | |
501 | installdir = grubconf; | |
faf4a65e | 502 | condition = COND_HOST_XNU; |
b105df76 VS |
503 | }; |
504 | ||
f7711f5e BC |
505 | script = { |
506 | name = '20_linux_xen'; | |
507 | common = util/grub.d/20_linux_xen.in; | |
508 | installdir = grubconf; | |
faf4a65e | 509 | condition = COND_HOST_LINUX; |
8c411768 BC |
510 | }; |
511 | ||
512 | script = { | |
513 | name = '30_os-prober'; | |
8427685f | 514 | common = util/grub.d/30_os-prober.in; |
8c411768 | 515 | installdir = grubconf; |
8c411768 BC |
516 | }; |
517 | ||
46d76f8f SL |
518 | script = { |
519 | name = '30_uefi-firmware'; | |
520 | common = util/grub.d/30_uefi-firmware.in; | |
521 | installdir = grubconf; | |
522 | }; | |
523 | ||
8c411768 BC |
524 | script = { |
525 | name = '40_custom'; | |
8427685f | 526 | common = util/grub.d/40_custom.in; |
8c411768 | 527 | installdir = grubconf; |
8c411768 BC |
528 | }; |
529 | ||
297f0c2b BC |
530 | script = { |
531 | name = '41_custom'; | |
8427685f | 532 | common = util/grub.d/41_custom.in; |
297f0c2b | 533 | installdir = grubconf; |
297f0c2b BC |
534 | }; |
535 | ||
cd46aa6c | 536 | program = { |
8c411768 BC |
537 | mansection = 1; |
538 | name = grub-mkrescue; | |
cd46aa6c VS |
539 | |
540 | common = util/grub-mkrescue.c; | |
541 | common = util/render-label.c; | |
542 | common = util/glue-efi.c; | |
543 | common = util/mkimage.c; | |
36212460 VS |
544 | common = util/grub-mkimage32.c; |
545 | common = util/grub-mkimage64.c; | |
cd46aa6c VS |
546 | common = util/grub-install-common.c; |
547 | common = util/setup_bios.c; | |
548 | common = util/setup_sparc.c; | |
549 | common = grub-core/lib/reed_solomon.c; | |
550 | common = grub-core/osdep/random.c; | |
551 | common = grub-core/osdep/ofpath.c; | |
552 | common = grub-core/osdep/platform.c; | |
553 | common = grub-core/osdep/platform_unix.c; | |
554 | common = grub-core/osdep/compress.c; | |
555 | extra_dist = grub-core/osdep/unix/compress.c; | |
556 | extra_dist = grub-core/osdep/basic/compress.c; | |
557 | common = util/editenv.c; | |
558 | common = grub-core/osdep/blocklist.c; | |
559 | common = grub-core/osdep/config.c; | |
560 | common = util/config.c; | |
561 | ||
562 | common = grub-core/kern/emu/hostfs.c; | |
563 | common = grub-core/disk/host.c; | |
564 | ||
cd46aa6c VS |
565 | common = util/resolve.c; |
566 | ||
567 | common = grub-core/kern/emu/argp_common.c; | |
568 | common = grub-core/osdep/init.c; | |
569 | ||
570 | ldadd = '$(LIBLZMA)'; | |
571 | ldadd = libgrubmods.a; | |
572 | ldadd = libgrubgcry.a; | |
573 | ldadd = libgrubkern.a; | |
35b90906 | 574 | ldadd = grub-core/lib/gnulib/libgnu.a; |
cd46aa6c VS |
575 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
576 | ||
577 | condition = COND_HAVE_EXEC; | |
8c411768 BC |
578 | }; |
579 | ||
cd46aa6c | 580 | program = { |
41aa28ea VS |
581 | mansection = 1; |
582 | name = grub-mkstandalone; | |
cd46aa6c VS |
583 | common = util/grub-mkstandalone.c; |
584 | ||
585 | common = util/render-label.c; | |
586 | common = util/glue-efi.c; | |
587 | common = util/mkimage.c; | |
36212460 VS |
588 | common = util/grub-mkimage32.c; |
589 | common = util/grub-mkimage64.c; | |
cd46aa6c VS |
590 | common = util/grub-install-common.c; |
591 | common = util/setup_bios.c; | |
592 | common = util/setup_sparc.c; | |
593 | common = grub-core/lib/reed_solomon.c; | |
594 | common = grub-core/osdep/random.c; | |
595 | common = grub-core/osdep/ofpath.c; | |
596 | common = grub-core/osdep/platform.c; | |
597 | common = grub-core/osdep/platform_unix.c; | |
598 | extra_dist = grub-core/osdep/linux/platform.c; | |
814442ba | 599 | extra_dist = grub-core/osdep/windows/platform.c; |
cd46aa6c VS |
600 | extra_dist = grub-core/osdep/basic/platform.c; |
601 | extra_dist = grub-core/osdep/basic/no_platform.c; | |
602 | extra_dist = grub-core/osdep/unix/platform.c; | |
603 | common = grub-core/osdep/compress.c; | |
604 | common = util/editenv.c; | |
605 | common = grub-core/osdep/blocklist.c; | |
606 | common = grub-core/osdep/config.c; | |
607 | common = util/config.c; | |
608 | ||
609 | common = grub-core/kern/emu/hostfs.c; | |
610 | common = grub-core/disk/host.c; | |
611 | ||
cd46aa6c VS |
612 | common = util/resolve.c; |
613 | ||
614 | common = grub-core/kern/emu/argp_common.c; | |
615 | common = grub-core/osdep/init.c; | |
616 | ||
617 | ldadd = '$(LIBLZMA)'; | |
618 | ldadd = libgrubmods.a; | |
619 | ldadd = libgrubgcry.a; | |
620 | ldadd = libgrubkern.a; | |
35b90906 | 621 | ldadd = grub-core/lib/gnulib/libgnu.a; |
cd46aa6c | 622 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
41aa28ea VS |
623 | }; |
624 | ||
cd46aa6c | 625 | program = { |
8c411768 BC |
626 | mansection = 8; |
627 | installdir = sbin; | |
628 | name = grub-install; | |
8427685f | 629 | |
cd46aa6c VS |
630 | common = util/grub-install.c; |
631 | common = util/probe.c; | |
632 | common = util/mkimage.c; | |
36212460 VS |
633 | common = util/grub-mkimage32.c; |
634 | common = util/grub-mkimage64.c; | |
cd46aa6c VS |
635 | common = util/grub-install-common.c; |
636 | common = util/setup_bios.c; | |
637 | common = util/setup_sparc.c; | |
638 | common = grub-core/lib/reed_solomon.c; | |
639 | common = grub-core/osdep/random.c; | |
640 | common = grub-core/osdep/ofpath.c; | |
641 | common = grub-core/osdep/platform.c; | |
642 | common = grub-core/osdep/platform_unix.c; | |
643 | common = grub-core/osdep/compress.c; | |
644 | common = util/editenv.c; | |
645 | common = grub-core/osdep/blocklist.c; | |
646 | common = grub-core/osdep/config.c; | |
647 | common = util/config.c; | |
b8765fa0 VS |
648 | common = util/render-label.c; |
649 | common = grub-core/kern/emu/hostfs.c; | |
650 | common = grub-core/disk/host.c; | |
cd46aa6c | 651 | |
cd46aa6c | 652 | common = util/resolve.c; |
cd46aa6c VS |
653 | common = grub-core/kern/emu/argp_common.c; |
654 | common = grub-core/osdep/init.c; | |
655 | ||
656 | ldadd = '$(LIBLZMA)'; | |
657 | ldadd = libgrubmods.a; | |
658 | ldadd = libgrubgcry.a; | |
659 | ldadd = libgrubkern.a; | |
35b90906 | 660 | ldadd = grub-core/lib/gnulib/libgnu.a; |
cd46aa6c | 661 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
662 | }; |
663 | ||
cd46aa6c | 664 | program = { |
288c757d CW |
665 | mansection = 1; |
666 | installdir = bin; | |
8395034b VS |
667 | name = grub-mknetdir; |
668 | ||
cd46aa6c VS |
669 | common = util/grub-mknetdir.c; |
670 | ||
671 | common = util/mkimage.c; | |
36212460 VS |
672 | common = util/grub-mkimage32.c; |
673 | common = util/grub-mkimage64.c; | |
cd46aa6c VS |
674 | common = util/grub-install-common.c; |
675 | common = util/setup_bios.c; | |
676 | common = util/setup_sparc.c; | |
677 | common = grub-core/lib/reed_solomon.c; | |
678 | common = grub-core/osdep/random.c; | |
679 | common = grub-core/osdep/ofpath.c; | |
680 | common = grub-core/osdep/platform.c; | |
681 | common = grub-core/osdep/platform_unix.c; | |
682 | common = grub-core/osdep/compress.c; | |
683 | common = util/editenv.c; | |
684 | common = grub-core/osdep/blocklist.c; | |
685 | common = grub-core/osdep/config.c; | |
686 | common = util/config.c; | |
687 | ||
cd46aa6c VS |
688 | common = util/resolve.c; |
689 | common = grub-core/kern/emu/argp_common.c; | |
690 | common = grub-core/osdep/init.c; | |
691 | ||
692 | ldadd = '$(LIBLZMA)'; | |
693 | ldadd = libgrubmods.a; | |
694 | ldadd = libgrubgcry.a; | |
695 | ldadd = libgrubkern.a; | |
35b90906 | 696 | ldadd = grub-core/lib/gnulib/libgnu.a; |
cd46aa6c | 697 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8395034b VS |
698 | }; |
699 | ||
8c411768 BC |
700 | script = { |
701 | name = grub-mkconfig; | |
8427685f | 702 | common = util/grub-mkconfig.in; |
8c411768 BC |
703 | mansection = 8; |
704 | installdir = sbin; | |
8c411768 BC |
705 | }; |
706 | ||
707 | script = { | |
708 | name = grub-set-default; | |
8427685f | 709 | common = util/grub-set-default.in; |
8c411768 BC |
710 | mansection = 8; |
711 | installdir = sbin; | |
8c411768 BC |
712 | }; |
713 | ||
714 | script = { | |
715 | name = grub-reboot; | |
8427685f | 716 | common = util/grub-reboot.in; |
8c411768 BC |
717 | mansection = 8; |
718 | installdir = sbin; | |
8c411768 BC |
719 | }; |
720 | ||
721 | script = { | |
722 | name = grub-mkconfig_lib; | |
8427685f | 723 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 724 | installdir = noinst; |
8c411768 BC |
725 | }; |
726 | ||
5aaf2c18 VS |
727 | script = { |
728 | name = grub-kbdcomp; | |
729 | common = util/grub-kbdcomp.in; | |
c76899a0 | 730 | mansection = 1; |
5aaf2c18 VS |
731 | }; |
732 | ||
911bd640 | 733 | script = { |
8c411768 | 734 | name = grub-shell; |
8427685f | 735 | common = tests/util/grub-shell.in; |
f7711f5e | 736 | installdir = noinst; |
8c411768 BC |
737 | }; |
738 | ||
911bd640 | 739 | script = { |
8c411768 | 740 | name = grub-shell-tester; |
8427685f | 741 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 742 | installdir = noinst; |
8c411768 BC |
743 | }; |
744 | ||
7d44ff7d VS |
745 | script = { |
746 | name = grub-fs-tester; | |
747 | common = tests/util/grub-fs-tester.in; | |
748 | installdir = noinst; | |
1ecf96fc | 749 | dependencies = 'garbage-gen$(BUILD_EXEEXT)'; |
7d44ff7d VS |
750 | }; |
751 | ||
752 | script = { | |
753 | testcase; | |
754 | name = ext234_test; | |
755 | common = tests/ext234_test.in; | |
756 | }; | |
757 | ||
758 | script = { | |
759 | testcase; | |
760 | name = squashfs_test; | |
761 | common = tests/squashfs_test.in; | |
762 | }; | |
763 | ||
764 | script = { | |
765 | testcase; | |
766 | name = iso9660_test; | |
767 | common = tests/iso9660_test.in; | |
768 | }; | |
769 | ||
770 | script = { | |
771 | testcase; | |
772 | name = hfsplus_test; | |
773 | common = tests/hfsplus_test.in; | |
774 | }; | |
775 | ||
776 | script = { | |
777 | testcase; | |
778 | name = ntfs_test; | |
779 | common = tests/ntfs_test.in; | |
780 | }; | |
781 | ||
782 | script = { | |
783 | testcase; | |
784 | name = reiserfs_test; | |
785 | common = tests/reiserfs_test.in; | |
786 | }; | |
787 | ||
788 | script = { | |
789 | testcase; | |
790 | name = fat_test; | |
791 | common = tests/fat_test.in; | |
792 | }; | |
793 | ||
794 | script = { | |
795 | testcase; | |
796 | name = minixfs_test; | |
797 | common = tests/minixfs_test.in; | |
798 | }; | |
799 | ||
800 | script = { | |
801 | testcase; | |
802 | name = xfs_test; | |
803 | common = tests/xfs_test.in; | |
804 | }; | |
805 | ||
71f9e4ac JK |
806 | script = { |
807 | testcase; | |
808 | name = f2fs_test; | |
809 | common = tests/f2fs_test.in; | |
810 | }; | |
811 | ||
7d44ff7d VS |
812 | script = { |
813 | testcase; | |
814 | name = nilfs2_test; | |
815 | common = tests/nilfs2_test.in; | |
816 | }; | |
817 | ||
818 | script = { | |
819 | testcase; | |
820 | name = romfs_test; | |
821 | common = tests/romfs_test.in; | |
822 | }; | |
823 | ||
824 | script = { | |
825 | testcase; | |
826 | name = exfat_test; | |
827 | common = tests/exfat_test.in; | |
828 | }; | |
829 | ||
830 | script = { | |
831 | testcase; | |
832 | name = tar_test; | |
833 | common = tests/tar_test.in; | |
834 | }; | |
835 | ||
836 | script = { | |
837 | testcase; | |
838 | name = udf_test; | |
839 | common = tests/udf_test.in; | |
840 | }; | |
841 | ||
842 | script = { | |
843 | testcase; | |
844 | name = hfs_test; | |
845 | common = tests/hfs_test.in; | |
846 | }; | |
847 | ||
848 | script = { | |
849 | testcase; | |
850 | name = jfs_test; | |
851 | common = tests/jfs_test.in; | |
852 | }; | |
853 | ||
854 | script = { | |
855 | testcase; | |
856 | name = btrfs_test; | |
857 | common = tests/btrfs_test.in; | |
858 | }; | |
859 | ||
860 | script = { | |
861 | testcase; | |
862 | name = zfs_test; | |
863 | common = tests/zfs_test.in; | |
864 | }; | |
865 | ||
866 | script = { | |
867 | testcase; | |
868 | name = cpio_test; | |
869 | common = tests/cpio_test.in; | |
870 | }; | |
871 | ||
911bd640 BC |
872 | script = { |
873 | testcase; | |
8c411768 | 874 | name = example_scripted_test; |
8427685f | 875 | common = tests/example_scripted_test.in; |
8c411768 BC |
876 | }; |
877 | ||
43fe02cb VS |
878 | script = { |
879 | testcase; | |
880 | name = gettext_strings_test; | |
881 | common = tests/gettext_strings_test.in; | |
62b15edf | 882 | extra_dist = po/exclude.pot; |
43fe02cb VS |
883 | }; |
884 | ||
f7457fb2 VS |
885 | script = { |
886 | testcase; | |
887 | name = pata_test; | |
888 | common = tests/pata_test.in; | |
889 | }; | |
890 | ||
891 | script = { | |
892 | testcase; | |
893 | name = ahci_test; | |
894 | common = tests/ahci_test.in; | |
895 | }; | |
896 | ||
897 | script = { | |
898 | testcase; | |
899 | name = uhci_test; | |
900 | common = tests/uhci_test.in; | |
901 | }; | |
902 | ||
903 | script = { | |
904 | testcase; | |
905 | name = ohci_test; | |
906 | common = tests/ohci_test.in; | |
907 | }; | |
908 | ||
909 | script = { | |
910 | testcase; | |
911 | name = ehci_test; | |
912 | common = tests/ehci_test.in; | |
913 | }; | |
914 | ||
911bd640 BC |
915 | script = { |
916 | testcase; | |
8c411768 | 917 | name = example_grub_script_test; |
8427685f | 918 | common = tests/example_grub_script_test.in; |
8c411768 BC |
919 | }; |
920 | ||
3d84cb17 VS |
921 | script = { |
922 | testcase; | |
923 | name = grub_script_eval; | |
924 | common = tests/grub_script_eval.in; | |
925 | }; | |
926 | ||
daf01d61 VS |
927 | script = { |
928 | testcase; | |
929 | name = grub_script_test; | |
930 | common = tests/grub_script_test.in; | |
931 | }; | |
932 | ||
911bd640 BC |
933 | script = { |
934 | testcase; | |
8c411768 | 935 | name = grub_script_echo1; |
8427685f | 936 | common = tests/grub_script_echo1.in; |
8c411768 BC |
937 | }; |
938 | ||
ac6fd218 VS |
939 | script = { |
940 | testcase; | |
941 | name = grub_script_leading_whitespace; | |
942 | common = tests/grub_script_leading_whitespace.in; | |
943 | }; | |
944 | ||
911bd640 BC |
945 | script = { |
946 | testcase; | |
8c411768 | 947 | name = grub_script_echo_keywords; |
8427685f | 948 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
949 | }; |
950 | ||
911bd640 BC |
951 | script = { |
952 | testcase; | |
8c411768 | 953 | name = grub_script_vars1; |
8427685f | 954 | common = tests/grub_script_vars1.in; |
8c411768 BC |
955 | }; |
956 | ||
911bd640 BC |
957 | script = { |
958 | testcase; | |
8c411768 | 959 | name = grub_script_for1; |
8427685f | 960 | common = tests/grub_script_for1.in; |
8c411768 BC |
961 | }; |
962 | ||
911bd640 BC |
963 | script = { |
964 | testcase; | |
8c411768 | 965 | name = grub_script_while1; |
8427685f | 966 | common = tests/grub_script_while1.in; |
8c411768 BC |
967 | }; |
968 | ||
911bd640 BC |
969 | script = { |
970 | testcase; | |
8c411768 | 971 | name = grub_script_if; |
8427685f | 972 | common = tests/grub_script_if.in; |
8c411768 BC |
973 | }; |
974 | ||
911bd640 BC |
975 | script = { |
976 | testcase; | |
8c411768 | 977 | name = grub_script_blanklines; |
8427685f | 978 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
979 | }; |
980 | ||
911bd640 BC |
981 | script = { |
982 | testcase; | |
8c411768 | 983 | name = grub_script_final_semicolon; |
8427685f | 984 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
985 | }; |
986 | ||
911bd640 BC |
987 | script = { |
988 | testcase; | |
8c411768 | 989 | name = grub_script_dollar; |
8427685f | 990 | common = tests/grub_script_dollar.in; |
8c411768 BC |
991 | }; |
992 | ||
911bd640 BC |
993 | script = { |
994 | testcase; | |
8c411768 | 995 | name = grub_script_comments; |
8427685f | 996 | common = tests/grub_script_comments.in; |
8c411768 BC |
997 | }; |
998 | ||
16c7cb32 BC |
999 | script = { |
1000 | testcase; | |
1001 | name = grub_script_functions; | |
8427685f | 1002 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
1003 | }; |
1004 | ||
1005 | script = { | |
1006 | testcase; | |
1007 | name = grub_script_break; | |
8427685f | 1008 | common = tests/grub_script_break.in; |
16c7cb32 BC |
1009 | }; |
1010 | ||
1011 | script = { | |
1012 | testcase; | |
1013 | name = grub_script_continue; | |
8427685f | 1014 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
1015 | }; |
1016 | ||
1017 | script = { | |
1018 | testcase; | |
1019 | name = grub_script_shift; | |
8427685f | 1020 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
1021 | }; |
1022 | ||
928bad47 BC |
1023 | script = { |
1024 | testcase; | |
1025 | name = grub_script_blockarg; | |
1026 | common = tests/grub_script_blockarg.in; | |
1027 | }; | |
1028 | ||
47b4c2c3 BC |
1029 | script = { |
1030 | testcase; | |
1031 | name = grub_script_setparams; | |
1032 | common = tests/grub_script_setparams.in; | |
1033 | }; | |
1034 | ||
aa5cd41a BC |
1035 | script = { |
1036 | testcase; | |
1037 | name = grub_script_return; | |
1038 | common = tests/grub_script_return.in; | |
1039 | }; | |
1040 | ||
ab8629d2 BC |
1041 | script = { |
1042 | testcase; | |
1043 | name = grub_cmd_regexp; | |
1044 | common = tests/grub_cmd_regexp.in; | |
1045 | }; | |
1046 | ||
e3734b84 VS |
1047 | script = { |
1048 | testcase; | |
1049 | name = grub_cmd_date; | |
1050 | common = tests/grub_cmd_date.in; | |
1051 | }; | |
1052 | ||
3f9634e5 VS |
1053 | script = { |
1054 | testcase; | |
1055 | name = grub_cmd_set_date; | |
1056 | common = tests/grub_cmd_set_date.in; | |
1057 | }; | |
1058 | ||
1059 | script = { | |
1060 | testcase; | |
1061 | name = grub_cmd_sleep; | |
1062 | common = tests/grub_cmd_sleep.in; | |
1063 | }; | |
1064 | ||
8fdefb92 BC |
1065 | script = { |
1066 | testcase; | |
1067 | name = grub_script_expansion; | |
1068 | common = tests/grub_script_expansion.in; | |
1069 | }; | |
1070 | ||
1bce65c7 BC |
1071 | script = { |
1072 | testcase; | |
1073 | name = grub_script_not; | |
1074 | common = tests/grub_script_not.in; | |
1075 | }; | |
1076 | ||
e639c204 CW |
1077 | script = { |
1078 | testcase; | |
1079 | name = grub_script_no_commands; | |
1080 | common = tests/grub_script_no_commands.in; | |
1081 | }; | |
1082 | ||
56672f4a | 1083 | script = { |
1084 | testcase; | |
1085 | name = partmap_test; | |
1086 | common = tests/partmap_test.in; | |
1087 | }; | |
1088 | ||
f93e89ef VS |
1089 | script = { |
1090 | testcase; | |
1091 | name = hddboot_test; | |
1092 | common = tests/hddboot_test.in; | |
1093 | }; | |
1094 | ||
1095 | script = { | |
1096 | testcase; | |
1097 | name = fddboot_test; | |
1098 | common = tests/fddboot_test.in; | |
1099 | }; | |
1100 | ||
1101 | script = { | |
1102 | testcase; | |
1103 | name = cdboot_test; | |
1104 | common = tests/cdboot_test.in; | |
1105 | }; | |
1106 | ||
1107 | script = { | |
1108 | testcase; | |
1109 | name = netboot_test; | |
1110 | common = tests/netboot_test.in; | |
1111 | }; | |
1112 | ||
1113 | script = { | |
1114 | testcase; | |
1115 | name = pseries_test; | |
1116 | common = tests/pseries_test.in; | |
1117 | }; | |
1118 | ||
e7b8fd08 VS |
1119 | script = { |
1120 | testcase; | |
1121 | name = core_compress_test; | |
1122 | common = tests/core_compress_test.in; | |
1123 | }; | |
1124 | ||
f93e89ef VS |
1125 | script = { |
1126 | testcase; | |
1127 | name = xzcompress_test; | |
1128 | common = tests/xzcompress_test.in; | |
1129 | }; | |
1130 | ||
1131 | script = { | |
1132 | testcase; | |
1133 | name = gzcompress_test; | |
1134 | common = tests/gzcompress_test.in; | |
1135 | }; | |
1136 | ||
1137 | script = { | |
1138 | testcase; | |
1139 | name = lzocompress_test; | |
1140 | common = tests/lzocompress_test.in; | |
1141 | }; | |
1142 | ||
79c93b42 BC |
1143 | script = { |
1144 | testcase; | |
1145 | name = grub_cmd_echo; | |
1146 | common = tests/grub_cmd_echo.in; | |
1147 | }; | |
1148 | ||
f7457fb2 VS |
1149 | script = { |
1150 | testcase; | |
1151 | name = help_test; | |
1152 | common = tests/help_test.in; | |
1153 | }; | |
1154 | ||
546fbe9b VS |
1155 | script = { |
1156 | testcase; | |
1157 | name = grub_script_gettext; | |
1158 | common = tests/grub_script_gettext.in; | |
1159 | }; | |
1160 | ||
f7457fb2 VS |
1161 | script = { |
1162 | testcase; | |
1163 | name = grub_script_escape_comma; | |
1164 | common = tests/grub_script_escape_comma.in; | |
1165 | }; | |
1166 | ||
ce41ab7a VS |
1167 | script = { |
1168 | testcase; | |
1169 | name = grub_script_strcmp; | |
1170 | common = tests/grub_script_strcmp.in; | |
1171 | }; | |
1172 | ||
7994a09a BC |
1173 | script = { |
1174 | testcase; | |
1175 | name = test_sha512sum; | |
1176 | common = tests/test_sha512sum.in; | |
1177 | }; | |
1178 | ||
188929eb BC |
1179 | script = { |
1180 | testcase; | |
1181 | name = test_unset; | |
1182 | common = tests/test_unset.in; | |
1183 | }; | |
1184 | ||
50361660 VS |
1185 | script = { |
1186 | testcase; | |
1187 | name = grub_func_test; | |
1188 | common = tests/grub_func_test.in; | |
1189 | }; | |
1190 | ||
3d46c22f BC |
1191 | script = { |
1192 | testcase; | |
1193 | name = grub_cmd_tr; | |
1194 | common = tests/grub_cmd_tr.in; | |
1195 | }; | |
1196 | ||
272e0466 AB |
1197 | script = { |
1198 | testcase; | |
1199 | name = file_filter_test; | |
1200 | common = tests/file_filter_test.in; | |
1201 | }; | |
1202 | ||
1e047e53 AB |
1203 | script = { |
1204 | testcase; | |
1205 | name = grub_cmd_test; | |
1206 | common = tests/grub_cmd_test.in; | |
1207 | }; | |
1208 | ||
d3d2e549 VS |
1209 | script = { |
1210 | testcase; | |
1211 | name = syslinux_test; | |
1212 | common = tests/syslinux_test.in; | |
1213 | }; | |
1214 | ||
911bd640 BC |
1215 | program = { |
1216 | testcase; | |
8c411768 | 1217 | name = example_unit_test; |
8427685f BC |
1218 | common = tests/example_unit_test.c; |
1219 | common = tests/lib/unit_test.c; | |
1220 | common = grub-core/kern/list.c; | |
1221 | common = grub-core/kern/misc.c; | |
1222 | common = grub-core/tests/lib/test.c; | |
38631371 | 1223 | ldadd = libgrubmods.a; |
7efb5c9e | 1224 | ldadd = libgrubgcry.a; |
38631371 | 1225 | ldadd = libgrubkern.a; |
35b90906 | 1226 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 1227 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 1228 | }; |
fff175c7 | 1229 | |
12d4f965 VS |
1230 | program = { |
1231 | testcase; | |
1232 | name = printf_test; | |
1233 | common = tests/printf_unit_test.c; | |
1234 | common = tests/lib/unit_test.c; | |
1235 | common = grub-core/kern/list.c; | |
1236 | common = grub-core/kern/misc.c; | |
1237 | common = grub-core/tests/lib/test.c; | |
1238 | ldadd = libgrubmods.a; | |
1239 | ldadd = libgrubgcry.a; | |
38631371 | 1240 | ldadd = libgrubkern.a; |
35b90906 | 1241 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 1242 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 1243 | }; |
fff175c7 | 1244 | |
3d695d7b VS |
1245 | program = { |
1246 | testcase; | |
1247 | name = date_test; | |
1248 | common = tests/date_unit_test.c; | |
1249 | common = tests/lib/unit_test.c; | |
1250 | common = grub-core/kern/list.c; | |
1251 | common = grub-core/kern/misc.c; | |
1252 | common = grub-core/tests/lib/test.c; | |
1253 | ldadd = libgrubmods.a; | |
1254 | ldadd = libgrubgcry.a; | |
1255 | ldadd = libgrubkern.a; | |
35b90906 | 1256 | ldadd = grub-core/lib/gnulib/libgnu.a; |
3d695d7b VS |
1257 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1258 | }; | |
1259 | ||
1eed0e6e VS |
1260 | program = { |
1261 | testcase; | |
1262 | name = priority_queue_unit_test; | |
1263 | common = tests/priority_queue_unit_test.cc; | |
1264 | common = tests/lib/unit_test.c; | |
1265 | common = grub-core/kern/list.c; | |
1266 | common = grub-core/kern/misc.c; | |
1267 | common = grub-core/tests/lib/test.c; | |
1268 | common = grub-core/lib/priority_queue.c; | |
1269 | ldadd = libgrubmods.a; | |
1270 | ldadd = libgrubgcry.a; | |
1271 | ldadd = libgrubkern.a; | |
35b90906 | 1272 | ldadd = grub-core/lib/gnulib/libgnu.a; |
1eed0e6e VS |
1273 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1274 | condition = COND_HAVE_CXX; | |
1275 | }; | |
1276 | ||
ce41ab7a VS |
1277 | program = { |
1278 | testcase; | |
1279 | name = cmp_test; | |
1280 | common = tests/cmp_unit_test.c; | |
1281 | common = tests/lib/unit_test.c; | |
1282 | common = grub-core/kern/list.c; | |
1283 | common = grub-core/kern/misc.c; | |
1284 | common = grub-core/tests/lib/test.c; | |
1285 | ldadd = libgrubmods.a; | |
1286 | ldadd = libgrubgcry.a; | |
1287 | ldadd = libgrubkern.a; | |
35b90906 | 1288 | ldadd = grub-core/lib/gnulib/libgnu.a; |
ce41ab7a VS |
1289 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1290 | }; | |
1291 | ||
fff175c7 VS |
1292 | program = { |
1293 | name = grub-menulst2cfg; | |
1294 | mansection = 1; | |
1295 | common = util/grub-menulst2cfg.c; | |
1296 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 | 1297 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
ae5540d3 | 1298 | common = grub-core/osdep/init.c; |
e31bb619 | 1299 | |
38631371 | 1300 | ldadd = libgrubmods.a; |
7efb5c9e | 1301 | ldadd = libgrubgcry.a; |
38631371 | 1302 | ldadd = libgrubkern.a; |
35b90906 | 1303 | ldadd = grub-core/lib/gnulib/libgnu.a; |
f4727da9 | 1304 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 1305 | }; |
a79b8a15 | 1306 | |
8f5add13 VS |
1307 | program = { |
1308 | name = grub-syslinux2cfg; | |
1309 | mansection = 1; | |
1310 | common = util/grub-syslinux2cfg.c; | |
1311 | common = grub-core/lib/syslinux_parse.c; | |
1312 | common = grub-core/lib/getline.c; | |
1313 | common = grub-core/osdep/init.c; | |
1314 | common = grub-core/kern/emu/hostfs.c; | |
1315 | common = grub-core/disk/host.c; | |
1316 | common = grub-core/kern/emu/argp_common.c; | |
1317 | ||
1318 | ldadd = libgrubmods.a; | |
1319 | ldadd = libgrubgcry.a; | |
1320 | ldadd = libgrubkern.a; | |
35b90906 | 1321 | ldadd = grub-core/lib/gnulib/libgnu.a; |
8f5add13 VS |
1322 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1323 | }; | |
1324 | ||
67ab8353 VS |
1325 | program = { |
1326 | name = grub-glue-efi; | |
1327 | mansection = 1; | |
1328 | ||
1329 | common = util/grub-glue-efi.c; | |
6f652373 | 1330 | common = util/glue-efi.c; |
67ab8353 | 1331 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 1332 | common = grub-core/osdep/init.c; |
67ab8353 VS |
1333 | |
1334 | ldadd = libgrubmods.a; | |
1335 | ldadd = libgrubgcry.a; | |
1336 | ldadd = libgrubkern.a; | |
35b90906 | 1337 | ldadd = grub-core/lib/gnulib/libgnu.a; |
67ab8353 VS |
1338 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1339 | }; | |
1340 | ||
a79b8a15 VS |
1341 | program = { |
1342 | name = grub-render-label; | |
1343 | mansection = 1; | |
1344 | ||
1345 | common = util/grub-render-label.c; | |
44d1c20a | 1346 | common = util/render-label.c; |
a79b8a15 VS |
1347 | common = grub-core/kern/emu/argp_common.c; |
1348 | common = grub-core/kern/emu/hostfs.c; | |
1349 | common = grub-core/disk/host.c; | |
ae5540d3 | 1350 | common = grub-core/osdep/init.c; |
a79b8a15 VS |
1351 | |
1352 | ldadd = libgrubmods.a; | |
1353 | ldadd = libgrubgcry.a; | |
1354 | ldadd = libgrubkern.a; | |
35b90906 | 1355 | ldadd = grub-core/lib/gnulib/libgnu.a; |
a79b8a15 VS |
1356 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1357 | }; | |
ec824e0f VS |
1358 | |
1359 | program = { | |
1360 | name = grub-file; | |
1361 | mansection = 1; | |
1362 | ||
1363 | common = util/grub-file.c; | |
1364 | common = util/render-label.c; | |
1365 | common = grub-core/commands/file.c; | |
1366 | common = grub-core/commands/file32.c; | |
1367 | common = grub-core/commands/file64.c; | |
1368 | common = grub-core/loader/i386/xen_file.c; | |
1369 | common = grub-core/loader/i386/xen_file32.c; | |
1370 | common = grub-core/loader/i386/xen_file64.c; | |
1371 | common = grub-core/io/offset.c; | |
1372 | common = grub-core/kern/elf.c; | |
1373 | common = grub-core/loader/lzss.c; | |
1374 | common = grub-core/loader/macho.c; | |
1375 | common = grub-core/loader/macho32.c; | |
1376 | common = grub-core/loader/macho64.c; | |
1377 | common = grub-core/kern/emu/hostfs.c; | |
1378 | common = grub-core/disk/host.c; | |
1379 | common = grub-core/osdep/init.c; | |
1380 | ||
1381 | ldadd = libgrubmods.a; | |
1382 | ldadd = libgrubgcry.a; | |
1383 | ldadd = libgrubkern.a; | |
35b90906 | 1384 | ldadd = grub-core/lib/gnulib/libgnu.a; |
ec824e0f VS |
1385 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
1386 | }; |