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