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