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