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