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