]>
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; | |
2e418de6 VS |
12 | common = util/getroot.c; |
13 | common = util/raid.c; | |
38631371 BC |
14 | common = grub-core/kern/emu/hostdisk.c; |
15 | common = grub-core/kern/emu/misc.c; | |
16 | common = grub-core/kern/emu/mm.c; | |
4b2047e2 | 17 | common = grub-core/kern/env.c; |
38631371 BC |
18 | common = grub-core/kern/err.c; |
19 | common = grub-core/kern/file.c; | |
20 | common = grub-core/kern/fs.c; | |
4b2047e2 BC |
21 | common = grub-core/kern/list.c; |
22 | common = grub-core/kern/misc.c; | |
4b2047e2 | 23 | common = grub-core/kern/partition.c; |
dcd73ec0 VS |
24 | common = grub-core/lib/crypto.c; |
25 | common = grub-core/disk/luks.c; | |
1a1f408f | 26 | common = grub-core/disk/geli.c; |
8585e54b | 27 | common = grub-core/disk/cryptodisk.c; |
dcd73ec0 VS |
28 | common = grub-core/disk/AFSplitter.c; |
29 | common = grub-core/lib/pbkdf2.c; | |
30 | common = grub-core/commands/extcmd.c; | |
31 | common = grub-core/lib/arg.c; | |
076e7c0f VS |
32 | common = grub-core/disk/ldm.c; |
33 | common = grub-core/disk/diskfilter.c; | |
34 | common = grub-core/partmap/gpt.c; | |
4b2047e2 BC |
35 | }; |
36 | ||
8c411768 | 37 | library = { |
38631371 | 38 | name = libgrubmods.a; |
095f077e | 39 | cflags = '$(CFLAGS_POSIX) -Wno-undef'; |
c029da8a | 40 | cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H'; |
8c411768 | 41 | |
8427685f BC |
42 | common_nodist = grub_script.tab.c; |
43 | common_nodist = grub_script.yy.c; | |
44 | common_nodist = libgrub_a_init.c; | |
45 | common_nodist = grub_script.yy.h; | |
46 | common_nodist = grub_script.tab.h; | |
47 | ||
8427685f | 48 | common = grub-core/commands/blocklist.c; |
3be82e10 | 49 | common = grub-core/commands/xnu_uuid.c; |
77ba5392 | 50 | common = grub-core/commands/testload.c; |
8427685f BC |
51 | common = grub-core/commands/ls.c; |
52 | common = grub-core/disk/dmraid_nvidia.c; | |
8427685f BC |
53 | common = grub-core/disk/loopback.c; |
54 | common = grub-core/disk/lvm.c; | |
55 | common = grub-core/disk/mdraid_linux.c; | |
1e8d555b | 56 | common = grub-core/disk/mdraid1x_linux.c; |
8427685f BC |
57 | common = grub-core/disk/raid5_recover.c; |
58 | common = grub-core/disk/raid6_recover.c; | |
8427685f | 59 | common = grub-core/fs/affs.c; |
8427685f | 60 | common = grub-core/fs/afs.c; |
5825b379 | 61 | common = grub-core/fs/bfs.c; |
4dfbc574 | 62 | common = grub-core/fs/btrfs.c; |
8427685f | 63 | common = grub-core/fs/cpio.c; |
a1a8b1b9 VS |
64 | common = grub-core/fs/cpio_be.c; |
65 | common = grub-core/fs/odc.c; | |
66 | common = grub-core/fs/newc.c; | |
8427685f BC |
67 | common = grub-core/fs/ext2.c; |
68 | common = grub-core/fs/fat.c; | |
48fe18dc | 69 | common = grub-core/fs/exfat.c; |
8427685f BC |
70 | common = grub-core/fs/fshelp.c; |
71 | common = grub-core/fs/hfs.c; | |
72 | common = grub-core/fs/hfsplus.c; | |
73 | common = grub-core/fs/iso9660.c; | |
74 | common = grub-core/fs/jfs.c; | |
75 | common = grub-core/fs/minix.c; | |
b4a0c915 | 76 | common = grub-core/fs/minix2.c; |
8fc88523 | 77 | common = grub-core/fs/minix3.c; |
8427685f BC |
78 | common = grub-core/fs/nilfs2.c; |
79 | common = grub-core/fs/ntfs.c; | |
80 | common = grub-core/fs/ntfscomp.c; | |
81 | common = grub-core/fs/reiserfs.c; | |
29184e93 | 82 | common = grub-core/fs/romfs.c; |
8427685f | 83 | common = grub-core/fs/sfs.c; |
332fa368 | 84 | common = grub-core/fs/squash4.c; |
8427685f BC |
85 | common = grub-core/fs/tar.c; |
86 | common = grub-core/fs/udf.c; | |
87 | common = grub-core/fs/ufs2.c; | |
88 | common = grub-core/fs/ufs.c; | |
89 | common = grub-core/fs/xfs.c; | |
f003a8c5 | 90 | common = grub-core/fs/zfs/zfscrypt.c; |
bf78d5b2 | 91 | common = grub-core/fs/zfs/zfs.c; |
fdfde32a | 92 | common = grub-core/fs/zfs/zfsinfo.c; |
bf78d5b2 RM |
93 | common = grub-core/fs/zfs/zfs_lzjb.c; |
94 | common = grub-core/fs/zfs/zfs_sha256.c; | |
95 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f BC |
96 | common = grub-core/lib/envblk.c; |
97 | common = grub-core/lib/hexdump.c; | |
8427685f BC |
98 | common = grub-core/lib/LzFind.c; |
99 | common = grub-core/lib/LzmaEnc.c; | |
3836e89d | 100 | common = grub-core/lib/crc.c; |
9a8d32a2 | 101 | common = grub-core/lib/adler32.c; |
158dc1ea | 102 | common = grub-core/lib/crc64.c; |
8427685f BC |
103 | common = grub-core/normal/datetime.c; |
104 | common = grub-core/normal/misc.c; | |
105 | common = grub-core/partmap/acorn.c; | |
106 | common = grub-core/partmap/amiga.c; | |
107 | common = grub-core/partmap/apple.c; | |
8427685f BC |
108 | common = grub-core/partmap/msdos.c; |
109 | common = grub-core/partmap/sun.c; | |
ac9ef7ee | 110 | common = grub-core/partmap/plan.c; |
fb25a861 | 111 | common = grub-core/partmap/dvh.c; |
ad717fae | 112 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 113 | common = grub-core/partmap/bsdlabel.c; |
8427685f BC |
114 | common = grub-core/script/function.c; |
115 | common = grub-core/script/lexer.c; | |
116 | common = grub-core/script/main.c; | |
117 | common = grub-core/script/script.c; | |
118 | common = grub-core/script/argv.c; | |
3be8e5ea | 119 | common = grub-core/io/gzio.c; |
ec543969 | 120 | common = grub-core/io/lzopio.c; |
5452733f | 121 | common = grub-core/kern/ia64/dl_helper.c; |
095f077e | 122 | common = grub-core/lib/minilzo/minilzo.c; |
c029da8a VS |
123 | common = grub-core/lib/xzembed/xz_dec_bcj.c; |
124 | common = grub-core/lib/xzembed/xz_dec_lzma2.c; | |
125 | common = grub-core/lib/xzembed/xz_dec_stream.c; | |
8c411768 BC |
126 | }; |
127 | ||
128 | program = { | |
129 | name = grub-bin2h; | |
8427685f | 130 | common = util/bin2h.c; |
38631371 | 131 | ldadd = libgrubmods.a; |
7efb5c9e | 132 | ldadd = libgrubgcry.a; |
38631371 | 133 | ldadd = libgrubkern.a; |
15c69261 | 134 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 135 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER)'; |
24c9143a | 136 | installdir = noinst; |
8c411768 BC |
137 | }; |
138 | ||
139 | program = { | |
140 | name = grub-mkimage; | |
141 | mansection = 1; | |
142 | ||
8427685f BC |
143 | common = util/grub-mkimage.c; |
144 | common = util/resolve.c; | |
c76899a0 VS |
145 | common = util/argp_common.c; |
146 | ||
a60f6ee1 | 147 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 148 | |
38631371 | 149 | ldadd = libgrubmods.a; |
dcd73ec0 | 150 | ldadd = libgrubgcry.a; |
38631371 | 151 | ldadd = libgrubkern.a; |
4b2047e2 | 152 | ldadd = grub-core/gnulib/libgnu.a; |
2c44e493 | 153 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 154 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
d270972a | 155 | cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"'; |
8c411768 BC |
156 | }; |
157 | ||
158 | program = { | |
159 | name = grub-mkrelpath; | |
160 | mansection = 1; | |
161 | ||
8427685f | 162 | common = util/grub-mkrelpath.c; |
8e1e4e39 | 163 | common = util/argp_common.c; |
8c411768 | 164 | |
38631371 | 165 | ldadd = libgrubmods.a; |
7efb5c9e | 166 | ldadd = libgrubgcry.a; |
38631371 | 167 | ldadd = libgrubkern.a; |
15c69261 | 168 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 169 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
170 | }; |
171 | ||
172 | program = { | |
173 | name = grub-script-check; | |
174 | mansection = 1; | |
175 | ||
8427685f | 176 | common = util/grub-script-check.c; |
8e1e4e39 | 177 | common = util/argp_common.c; |
8c411768 | 178 | |
38631371 | 179 | ldadd = libgrubmods.a; |
7efb5c9e | 180 | ldadd = libgrubgcry.a; |
38631371 | 181 | ldadd = libgrubkern.a; |
15c69261 | 182 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 183 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
184 | }; |
185 | ||
186 | program = { | |
187 | name = grub-editenv; | |
188 | mansection = 1; | |
189 | ||
8427685f | 190 | common = util/grub-editenv.c; |
8c411768 | 191 | |
38631371 | 192 | ldadd = libgrubmods.a; |
7efb5c9e | 193 | ldadd = libgrubgcry.a; |
38631371 | 194 | ldadd = libgrubkern.a; |
15c69261 | 195 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 196 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
197 | }; |
198 | ||
199 | program = { | |
200 | name = grub-mkpasswd-pbkdf2; | |
201 | mansection = 1; | |
202 | ||
8427685f | 203 | common = util/grub-mkpasswd-pbkdf2.c; |
8e1e4e39 | 204 | common = util/argp_common.c; |
8c411768 | 205 | |
38631371 | 206 | ldadd = libgrubmods.a; |
dcd73ec0 | 207 | ldadd = libgrubgcry.a; |
38631371 | 208 | ldadd = libgrubkern.a; |
15c69261 | 209 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 210 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
211 | cflags = '$(CFLAGS_GCRY)'; |
212 | cppflags = '$(CPPFLAGS_GCRY)'; | |
8c411768 BC |
213 | }; |
214 | ||
215 | program = { | |
216 | name = grub-macho2img; | |
217 | mansection = 1; | |
8427685f | 218 | common = util/grub-macho2img.c; |
911bd640 | 219 | condition = COND_APPLE_CC; |
8c411768 BC |
220 | }; |
221 | ||
222 | program = { | |
223 | name = grub-pe2elf; | |
224 | mansection = 1; | |
8427685f | 225 | common = util/grub-pe2elf.c; |
8c411768 | 226 | |
38631371 | 227 | ldadd = libgrubmods.a; |
7efb5c9e | 228 | ldadd = libgrubgcry.a; |
38631371 | 229 | ldadd = libgrubkern.a; |
15c69261 | 230 | ldadd = grub-core/gnulib/libgnu.a; |
4b2047e2 | 231 | ldadd = '$(LIBINTL)'; |
911bd640 | 232 | condition = COND_GRUB_PE2ELF; |
8c411768 BC |
233 | }; |
234 | ||
235 | program = { | |
236 | name = grub-fstest; | |
237 | mansection = 1; | |
905f7773 | 238 | common_nodist = grub_fstest_init.c; |
8427685f | 239 | common = util/grub-fstest.c; |
b6a690ee CW |
240 | common = grub-core/kern/emu/hostfs.c; |
241 | common = grub-core/disk/host.c; | |
8c411768 | 242 | |
c55f5018 SJ |
243 | cflags = '$(CFLAGS_GCRY)'; |
244 | cppflags = '$(CPPFLAGS_GCRY)'; | |
15c69261 | 245 | |
38631371 | 246 | ldadd = libgrubmods.a; |
dcd73ec0 | 247 | ldadd = libgrubgcry.a; |
38631371 | 248 | ldadd = libgrubkern.a; |
15c69261 | 249 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 250 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
251 | }; |
252 | ||
92bb0786 | 253 | program = { |
89644ef1 | 254 | name = grub-mount; |
92bb0786 VS |
255 | mansection = 1; |
256 | common_nodist = grub_fstest_init.c; | |
89644ef1 | 257 | common = util/grub-mount.c; |
92bb0786 VS |
258 | common = grub-core/kern/emu/hostfs.c; |
259 | common = grub-core/disk/host.c; | |
260 | ||
261 | ldadd = libgrubmods.a; | |
f1f233ba | 262 | ldadd = libgrubgcry.a; |
92bb0786 VS |
263 | ldadd = libgrubkern.a; |
264 | ldadd = grub-core/gnulib/libgnu.a; | |
338c7fab | 265 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse'; |
897e6207 | 266 | condition = COND_GRUB_MOUNT; |
8c411768 BC |
267 | }; |
268 | ||
269 | program = { | |
270 | name = grub-mkfont; | |
271 | mansection = 1; | |
8427685f BC |
272 | common = util/grub-mkfont.c; |
273 | common = grub-core/unidata.c; | |
8e1e4e39 | 274 | common = util/argp_common.c; |
8c411768 | 275 | |
8c411768 | 276 | cflags = '$(freetype_cflags)'; |
2d465fb0 | 277 | |
38631371 | 278 | ldadd = libgrubmods.a; |
7efb5c9e | 279 | ldadd = libgrubgcry.a; |
38631371 | 280 | ldadd = libgrubkern.a; |
15c69261 | 281 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 282 | ldadd = '$(freetype_libs)'; |
f4727da9 | 283 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 284 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
285 | }; |
286 | ||
8c411768 BC |
287 | program = { |
288 | name = grub-probe; | |
289 | installdir = sbin; | |
290 | mansection = 8; | |
8427685f | 291 | common = util/grub-probe.c; |
6babad5e | 292 | common = util/ieee1275/ofpath.c; |
8e1e4e39 | 293 | common = util/argp_common.c; |
8c411768 | 294 | |
38631371 | 295 | ldadd = libgrubmods.a; |
dcd73ec0 | 296 | ldadd = libgrubgcry.a; |
38631371 | 297 | ldadd = libgrubkern.a; |
15c69261 | 298 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 299 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
300 | }; |
301 | ||
302 | program = { | |
303 | name = grub-setup; | |
304 | installdir = sbin; | |
305 | mansection = 8; | |
d2ea4551 | 306 | common = util/grub-setup.c; |
d2ea4551 | 307 | common = util/lvm.c; |
c76899a0 | 308 | common = util/argp_common.c; |
419cbeb0 | 309 | common = grub-core/lib/reed_solomon.c; |
8c411768 BC |
310 | |
311 | sparc64_ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 312 | |
38631371 BC |
313 | ldadd = libgrubmods.a; |
314 | ldadd = libgrubkern.a; | |
7efb5c9e | 315 | ldadd = libgrubgcry.a; |
15c69261 | 316 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 317 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 BC |
318 | |
319 | enable = i386_pc; | |
320 | enable = sparc64_ieee1275; | |
8c411768 BC |
321 | }; |
322 | ||
323 | program = { | |
324 | name = grub-ofpathname; | |
325 | installdir = sbin; | |
63e3eea9 | 326 | mansection = 8; |
8427685f BC |
327 | ieee1275 = util/ieee1275/grub-ofpathname.c; |
328 | ieee1275 = util/ieee1275/ofpath.c; | |
8c411768 | 329 | |
38631371 | 330 | ldadd = libgrubmods.a; |
7efb5c9e | 331 | ldadd = libgrubgcry.a; |
38631371 | 332 | ldadd = libgrubkern.a; |
15c69261 | 333 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 334 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
4b2047e2 | 335 | |
911bd640 | 336 | enable = sparc64_ieee1275; |
8c411768 BC |
337 | }; |
338 | ||
5aaf2c18 VS |
339 | program = { |
340 | name = grub-mklayout; | |
341 | mansection = 1; | |
342 | ||
343 | common = util/grub-mklayout.c; | |
c76899a0 | 344 | common = util/argp_common.c; |
5aaf2c18 | 345 | |
38631371 | 346 | ldadd = libgrubmods.a; |
7efb5c9e | 347 | ldadd = libgrubgcry.a; |
38631371 | 348 | ldadd = libgrubkern.a; |
15c69261 | 349 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 350 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
351 | }; |
352 | ||
8c411768 | 353 | data = { |
8427685f | 354 | common = util/grub.d/README; |
8c411768 | 355 | installdir = grubconf; |
8c411768 BC |
356 | }; |
357 | ||
358 | script = { | |
359 | name = '00_header'; | |
8427685f | 360 | common = util/grub.d/00_header.in; |
8c411768 | 361 | installdir = grubconf; |
8c411768 BC |
362 | }; |
363 | ||
364 | script = { | |
365 | name = '10_windows'; | |
8427685f | 366 | common = util/grub.d/10_windows.in; |
8c411768 | 367 | installdir = grubconf; |
f7711f5e | 368 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
369 | }; |
370 | ||
371 | script = { | |
372 | name = '10_hurd'; | |
8427685f | 373 | common = util/grub.d/10_hurd.in; |
8c411768 | 374 | installdir = grubconf; |
f7711f5e | 375 | condition = COND_HOST_HURD; |
5815f2c1 BC |
376 | }; |
377 | ||
378 | script = { | |
f51c98c4 | 379 | name = '10_kfreebsd'; |
5815f2c1 BC |
380 | common = util/grub.d/10_kfreebsd.in; |
381 | installdir = grubconf; | |
f7711f5e | 382 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
383 | }; |
384 | ||
958ee221 VS |
385 | script = { |
386 | name = '10_illumos'; | |
387 | common = util/grub.d/10_illumos.in; | |
388 | installdir = grubconf; | |
389 | condition = COND_HOST_ILLUMOS; | |
390 | }; | |
391 | ||
5815f2c1 | 392 | script = { |
f51c98c4 | 393 | name = '10_netbsd'; |
5815f2c1 BC |
394 | common = util/grub.d/10_netbsd.in; |
395 | installdir = grubconf; | |
f7711f5e | 396 | condition = COND_HOST_NETBSD; |
8c411768 BC |
397 | }; |
398 | ||
399 | script = { | |
400 | name = '10_linux'; | |
8427685f | 401 | common = util/grub.d/10_linux.in; |
8c411768 | 402 | installdir = grubconf; |
f7711f5e BC |
403 | condition = COND_HOST_LINUX; |
404 | }; | |
405 | ||
406 | script = { | |
407 | name = '20_linux_xen'; | |
408 | common = util/grub.d/20_linux_xen.in; | |
409 | installdir = grubconf; | |
410 | condition = COND_HOST_LINUX; | |
8c411768 BC |
411 | }; |
412 | ||
413 | script = { | |
414 | name = '30_os-prober'; | |
8427685f | 415 | common = util/grub.d/30_os-prober.in; |
8c411768 | 416 | installdir = grubconf; |
8c411768 BC |
417 | }; |
418 | ||
419 | script = { | |
420 | name = '40_custom'; | |
8427685f | 421 | common = util/grub.d/40_custom.in; |
8c411768 | 422 | installdir = grubconf; |
8c411768 BC |
423 | }; |
424 | ||
297f0c2b BC |
425 | script = { |
426 | name = '41_custom'; | |
8427685f | 427 | common = util/grub.d/41_custom.in; |
297f0c2b | 428 | installdir = grubconf; |
297f0c2b BC |
429 | }; |
430 | ||
8c411768 BC |
431 | script = { |
432 | mansection = 1; | |
433 | name = grub-mkrescue; | |
eefe8abd | 434 | x86 = util/grub-mkrescue.in; |
8c411768 | 435 | powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; |
911bd640 | 436 | enable = i386_pc; |
6585de4c VS |
437 | enable = i386_efi; |
438 | enable = x86_64_efi; | |
911bd640 | 439 | enable = i386_qemu; |
f5c1e402 | 440 | enable = i386_multiboot; |
911bd640 BC |
441 | enable = i386_coreboot; |
442 | enable = powerpc_ieee1275; | |
8c411768 BC |
443 | }; |
444 | ||
41aa28ea VS |
445 | script = { |
446 | mansection = 1; | |
447 | name = grub-mkstandalone; | |
448 | common = util/grub-mkstandalone.in; | |
449 | }; | |
450 | ||
8c411768 BC |
451 | script = { |
452 | mansection = 8; | |
453 | installdir = sbin; | |
454 | name = grub-install; | |
8427685f | 455 | |
6c2111e9 | 456 | common = util/grub-install.in; |
eefe8abd | 457 | enable = noemu; |
8c411768 BC |
458 | }; |
459 | ||
8395034b VS |
460 | script = { |
461 | mansection = 8; | |
462 | installdir = sbin; | |
463 | name = grub-mknetdir; | |
464 | ||
465 | common = util/grub-mknetdir.in; | |
466 | }; | |
467 | ||
8c411768 BC |
468 | script = { |
469 | name = grub-mkconfig; | |
8427685f | 470 | common = util/grub-mkconfig.in; |
8c411768 BC |
471 | mansection = 8; |
472 | installdir = sbin; | |
8c411768 BC |
473 | }; |
474 | ||
475 | script = { | |
476 | name = grub-set-default; | |
8427685f | 477 | common = util/grub-set-default.in; |
8c411768 BC |
478 | mansection = 8; |
479 | installdir = sbin; | |
8c411768 BC |
480 | }; |
481 | ||
482 | script = { | |
483 | name = grub-reboot; | |
8427685f | 484 | common = util/grub-reboot.in; |
8c411768 BC |
485 | mansection = 8; |
486 | installdir = sbin; | |
8c411768 BC |
487 | }; |
488 | ||
489 | script = { | |
490 | name = grub-mkconfig_lib; | |
8427685f | 491 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 492 | installdir = noinst; |
8c411768 BC |
493 | }; |
494 | ||
5aaf2c18 VS |
495 | script = { |
496 | name = grub-kbdcomp; | |
497 | common = util/grub-kbdcomp.in; | |
c76899a0 | 498 | mansection = 1; |
5aaf2c18 VS |
499 | }; |
500 | ||
911bd640 | 501 | script = { |
8c411768 | 502 | name = grub-shell; |
8427685f | 503 | common = tests/util/grub-shell.in; |
f7711f5e | 504 | installdir = noinst; |
8c411768 BC |
505 | }; |
506 | ||
911bd640 | 507 | script = { |
8c411768 | 508 | name = grub-shell-tester; |
8427685f | 509 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 510 | installdir = noinst; |
8c411768 BC |
511 | }; |
512 | ||
911bd640 BC |
513 | script = { |
514 | testcase; | |
8c411768 | 515 | name = example_scripted_test; |
8427685f | 516 | common = tests/example_scripted_test.in; |
8c411768 BC |
517 | }; |
518 | ||
911bd640 BC |
519 | script = { |
520 | testcase; | |
8c411768 | 521 | name = example_grub_script_test; |
8427685f | 522 | common = tests/example_grub_script_test.in; |
8c411768 BC |
523 | }; |
524 | ||
911bd640 BC |
525 | script = { |
526 | testcase; | |
8c411768 | 527 | name = grub_script_echo1; |
8427685f | 528 | common = tests/grub_script_echo1.in; |
8c411768 BC |
529 | }; |
530 | ||
911bd640 BC |
531 | script = { |
532 | testcase; | |
8c411768 | 533 | name = grub_script_echo_keywords; |
8427685f | 534 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
535 | }; |
536 | ||
911bd640 BC |
537 | script = { |
538 | testcase; | |
8c411768 | 539 | name = grub_script_vars1; |
8427685f | 540 | common = tests/grub_script_vars1.in; |
8c411768 BC |
541 | }; |
542 | ||
911bd640 BC |
543 | script = { |
544 | testcase; | |
8c411768 | 545 | name = grub_script_for1; |
8427685f | 546 | common = tests/grub_script_for1.in; |
8c411768 BC |
547 | }; |
548 | ||
911bd640 BC |
549 | script = { |
550 | testcase; | |
8c411768 | 551 | name = grub_script_while1; |
8427685f | 552 | common = tests/grub_script_while1.in; |
8c411768 BC |
553 | }; |
554 | ||
911bd640 BC |
555 | script = { |
556 | testcase; | |
8c411768 | 557 | name = grub_script_if; |
8427685f | 558 | common = tests/grub_script_if.in; |
8c411768 BC |
559 | }; |
560 | ||
911bd640 BC |
561 | script = { |
562 | testcase; | |
8c411768 | 563 | name = grub_script_blanklines; |
8427685f | 564 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
565 | }; |
566 | ||
911bd640 BC |
567 | script = { |
568 | testcase; | |
8c411768 | 569 | name = grub_script_final_semicolon; |
8427685f | 570 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
571 | }; |
572 | ||
911bd640 BC |
573 | script = { |
574 | testcase; | |
8c411768 | 575 | name = grub_script_dollar; |
8427685f | 576 | common = tests/grub_script_dollar.in; |
8c411768 BC |
577 | }; |
578 | ||
911bd640 BC |
579 | script = { |
580 | testcase; | |
8c411768 | 581 | name = grub_script_comments; |
8427685f | 582 | common = tests/grub_script_comments.in; |
8c411768 BC |
583 | }; |
584 | ||
16c7cb32 BC |
585 | script = { |
586 | testcase; | |
587 | name = grub_script_functions; | |
8427685f | 588 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
589 | }; |
590 | ||
591 | script = { | |
592 | testcase; | |
593 | name = grub_script_break; | |
8427685f | 594 | common = tests/grub_script_break.in; |
16c7cb32 BC |
595 | }; |
596 | ||
597 | script = { | |
598 | testcase; | |
599 | name = grub_script_continue; | |
8427685f | 600 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
601 | }; |
602 | ||
603 | script = { | |
604 | testcase; | |
605 | name = grub_script_shift; | |
8427685f | 606 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
607 | }; |
608 | ||
928bad47 BC |
609 | script = { |
610 | testcase; | |
611 | name = grub_script_blockarg; | |
612 | common = tests/grub_script_blockarg.in; | |
613 | }; | |
614 | ||
47b4c2c3 BC |
615 | script = { |
616 | testcase; | |
617 | name = grub_script_setparams; | |
618 | common = tests/grub_script_setparams.in; | |
619 | }; | |
620 | ||
aa5cd41a BC |
621 | script = { |
622 | testcase; | |
623 | name = grub_script_return; | |
624 | common = tests/grub_script_return.in; | |
625 | }; | |
626 | ||
ab8629d2 BC |
627 | script = { |
628 | testcase; | |
629 | name = grub_cmd_regexp; | |
630 | common = tests/grub_cmd_regexp.in; | |
631 | }; | |
632 | ||
8fdefb92 BC |
633 | script = { |
634 | testcase; | |
635 | name = grub_script_expansion; | |
636 | common = tests/grub_script_expansion.in; | |
637 | }; | |
638 | ||
1bce65c7 BC |
639 | script = { |
640 | testcase; | |
641 | name = grub_script_not; | |
642 | common = tests/grub_script_not.in; | |
643 | }; | |
644 | ||
56672f4a | 645 | script = { |
646 | testcase; | |
647 | name = partmap_test; | |
648 | common = tests/partmap_test.in; | |
649 | }; | |
650 | ||
79c93b42 BC |
651 | script = { |
652 | testcase; | |
653 | name = grub_cmd_echo; | |
654 | common = tests/grub_cmd_echo.in; | |
655 | }; | |
656 | ||
911bd640 BC |
657 | program = { |
658 | testcase; | |
8c411768 | 659 | name = example_unit_test; |
8427685f BC |
660 | common = tests/example_unit_test.c; |
661 | common = tests/lib/unit_test.c; | |
662 | common = grub-core/kern/list.c; | |
663 | common = grub-core/kern/misc.c; | |
664 | common = grub-core/tests/lib/test.c; | |
8c411768 | 665 | cflags = -Wno-format; |
38631371 | 666 | ldadd = libgrubmods.a; |
7efb5c9e | 667 | ldadd = libgrubgcry.a; |
38631371 | 668 | ldadd = libgrubkern.a; |
dd363028 | 669 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 670 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 671 | }; |
fff175c7 | 672 | |
12d4f965 VS |
673 | program = { |
674 | testcase; | |
675 | name = printf_test; | |
676 | common = tests/printf_unit_test.c; | |
677 | common = tests/lib/unit_test.c; | |
678 | common = grub-core/kern/list.c; | |
679 | common = grub-core/kern/misc.c; | |
680 | common = grub-core/tests/lib/test.c; | |
681 | ldadd = libgrubmods.a; | |
682 | ldadd = libgrubgcry.a; | |
38631371 | 683 | ldadd = libgrubkern.a; |
dd363028 | 684 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 685 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 686 | }; |
fff175c7 VS |
687 | |
688 | program = { | |
689 | name = grub-menulst2cfg; | |
690 | mansection = 1; | |
691 | common = util/grub-menulst2cfg.c; | |
692 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 VS |
693 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
694 | ||
38631371 | 695 | ldadd = libgrubmods.a; |
7efb5c9e | 696 | ldadd = libgrubgcry.a; |
38631371 | 697 | ldadd = libgrubkern.a; |
15c69261 | 698 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 699 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 700 | }; |