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