]>
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 | 12 | common = util/getroot.c; |
672fa55e VS |
13 | common = grub-core/osdep/unix/getroot.c; |
14 | common = grub-core/osdep/getroot.c; | |
15 | common = grub-core/osdep/devmapper/getroot.c; | |
a4012f07 VS |
16 | common = grub-core/osdep/relpath.c; |
17 | extra_dist = grub-core/osdep/unix/relpath.c; | |
18 | extra_dist = grub-core/osdep/aros/relpath.c; | |
19 | extra_dist = grub-core/osdep/windows/relpath.c; | |
38631371 | 20 | common = grub-core/kern/emu/hostdisk.c; |
672fa55e VS |
21 | common = grub-core/osdep/devmapper/hostdisk.c; |
22 | common = grub-core/osdep/hostdisk.c; | |
23 | common = grub-core/osdep/unix/hostdisk.c; | |
40346de6 | 24 | common = grub-core/osdep/exec.c; |
c1ca4244 | 25 | common = grub-core/osdep/sleep.c; |
4a445f58 | 26 | common = grub-core/osdep/password.c; |
38631371 BC |
27 | common = grub-core/kern/emu/misc.c; |
28 | common = grub-core/kern/emu/mm.c; | |
4b2047e2 | 29 | common = grub-core/kern/env.c; |
38631371 BC |
30 | common = grub-core/kern/err.c; |
31 | common = grub-core/kern/file.c; | |
32 | common = grub-core/kern/fs.c; | |
4b2047e2 BC |
33 | common = grub-core/kern/list.c; |
34 | common = grub-core/kern/misc.c; | |
4b2047e2 | 35 | common = grub-core/kern/partition.c; |
dcd73ec0 VS |
36 | common = grub-core/lib/crypto.c; |
37 | common = grub-core/disk/luks.c; | |
1a1f408f | 38 | common = grub-core/disk/geli.c; |
8585e54b | 39 | common = grub-core/disk/cryptodisk.c; |
dcd73ec0 VS |
40 | common = grub-core/disk/AFSplitter.c; |
41 | common = grub-core/lib/pbkdf2.c; | |
42 | common = grub-core/commands/extcmd.c; | |
43 | common = grub-core/lib/arg.c; | |
076e7c0f VS |
44 | common = grub-core/disk/ldm.c; |
45 | common = grub-core/disk/diskfilter.c; | |
46 | common = grub-core/partmap/gpt.c; | |
b7b78edb | 47 | common = grub-core/partmap/msdos.c; |
ce50dbd7 | 48 | common = grub-core/fs/proc.c; |
4b2047e2 BC |
49 | }; |
50 | ||
8c411768 | 51 | library = { |
38631371 | 52 | name = libgrubmods.a; |
efa68bfa | 53 | cflags = '-fno-builtin -Wno-undef'; |
c029da8a | 54 | cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H'; |
8c411768 | 55 | |
8427685f BC |
56 | common_nodist = grub_script.tab.c; |
57 | common_nodist = grub_script.yy.c; | |
58 | common_nodist = libgrub_a_init.c; | |
59 | common_nodist = grub_script.yy.h; | |
60 | common_nodist = grub_script.tab.h; | |
61 | ||
8427685f | 62 | common = grub-core/commands/blocklist.c; |
3be82e10 | 63 | common = grub-core/commands/xnu_uuid.c; |
77ba5392 | 64 | common = grub-core/commands/testload.c; |
8427685f BC |
65 | common = grub-core/commands/ls.c; |
66 | common = grub-core/disk/dmraid_nvidia.c; | |
8427685f BC |
67 | common = grub-core/disk/loopback.c; |
68 | common = grub-core/disk/lvm.c; | |
69 | common = grub-core/disk/mdraid_linux.c; | |
22e6a774 | 70 | common = grub-core/disk/mdraid_linux_be.c; |
1e8d555b | 71 | common = grub-core/disk/mdraid1x_linux.c; |
8427685f BC |
72 | common = grub-core/disk/raid5_recover.c; |
73 | common = grub-core/disk/raid6_recover.c; | |
a79b8a15 VS |
74 | common = grub-core/font/font.c; |
75 | common = grub-core/gfxmenu/font.c; | |
76 | common = grub-core/normal/charset.c; | |
77 | common = grub-core/video/fb/fbblit.c; | |
78 | common = grub-core/video/fb/fbutil.c; | |
79 | common = grub-core/video/fb/fbfill.c; | |
80 | common = grub-core/video/fb/video_fb.c; | |
81 | common = grub-core/video/video.c; | |
50361660 | 82 | common = grub-core/video/capture.c; |
a79b8a15 VS |
83 | common = grub-core/video/colors.c; |
84 | common = grub-core/unidata.c; | |
85 | common = grub-core/io/bufio.c; | |
8427685f | 86 | common = grub-core/fs/affs.c; |
8427685f | 87 | common = grub-core/fs/afs.c; |
5825b379 | 88 | common = grub-core/fs/bfs.c; |
4dfbc574 | 89 | common = grub-core/fs/btrfs.c; |
5027af38 VS |
90 | common = grub-core/fs/cbfs.c; |
91 | common = grub-core/fs/archelp.c; | |
8427685f | 92 | common = grub-core/fs/cpio.c; |
a1a8b1b9 VS |
93 | common = grub-core/fs/cpio_be.c; |
94 | common = grub-core/fs/odc.c; | |
95 | common = grub-core/fs/newc.c; | |
8427685f BC |
96 | common = grub-core/fs/ext2.c; |
97 | common = grub-core/fs/fat.c; | |
48fe18dc | 98 | common = grub-core/fs/exfat.c; |
8427685f BC |
99 | common = grub-core/fs/fshelp.c; |
100 | common = grub-core/fs/hfs.c; | |
101 | common = grub-core/fs/hfsplus.c; | |
8098f655 | 102 | common = grub-core/fs/hfspluscomp.c; |
8427685f BC |
103 | common = grub-core/fs/iso9660.c; |
104 | common = grub-core/fs/jfs.c; | |
105 | common = grub-core/fs/minix.c; | |
b4a0c915 | 106 | common = grub-core/fs/minix2.c; |
8fc88523 | 107 | common = grub-core/fs/minix3.c; |
ac66b453 VS |
108 | common = grub-core/fs/minix_be.c; |
109 | common = grub-core/fs/minix2_be.c; | |
110 | common = grub-core/fs/minix3_be.c; | |
8427685f BC |
111 | common = grub-core/fs/nilfs2.c; |
112 | common = grub-core/fs/ntfs.c; | |
113 | common = grub-core/fs/ntfscomp.c; | |
114 | common = grub-core/fs/reiserfs.c; | |
29184e93 | 115 | common = grub-core/fs/romfs.c; |
8427685f | 116 | common = grub-core/fs/sfs.c; |
332fa368 | 117 | common = grub-core/fs/squash4.c; |
8427685f BC |
118 | common = grub-core/fs/tar.c; |
119 | common = grub-core/fs/udf.c; | |
120 | common = grub-core/fs/ufs2.c; | |
121 | common = grub-core/fs/ufs.c; | |
d9c48c7b | 122 | common = grub-core/fs/ufs_be.c; |
8427685f | 123 | common = grub-core/fs/xfs.c; |
f003a8c5 | 124 | common = grub-core/fs/zfs/zfscrypt.c; |
bf78d5b2 | 125 | common = grub-core/fs/zfs/zfs.c; |
fdfde32a | 126 | common = grub-core/fs/zfs/zfsinfo.c; |
bf78d5b2 | 127 | common = grub-core/fs/zfs/zfs_lzjb.c; |
038016f4 | 128 | common = grub-core/fs/zfs/zfs_lz4.c; |
bf78d5b2 RM |
129 | common = grub-core/fs/zfs/zfs_sha256.c; |
130 | common = grub-core/fs/zfs/zfs_fletcher.c; | |
8427685f BC |
131 | common = grub-core/lib/envblk.c; |
132 | common = grub-core/lib/hexdump.c; | |
8427685f BC |
133 | common = grub-core/lib/LzFind.c; |
134 | common = grub-core/lib/LzmaEnc.c; | |
3836e89d | 135 | common = grub-core/lib/crc.c; |
9a8d32a2 | 136 | common = grub-core/lib/adler32.c; |
158dc1ea | 137 | common = grub-core/lib/crc64.c; |
8427685f BC |
138 | common = grub-core/normal/datetime.c; |
139 | common = grub-core/normal/misc.c; | |
140 | common = grub-core/partmap/acorn.c; | |
141 | common = grub-core/partmap/amiga.c; | |
142 | common = grub-core/partmap/apple.c; | |
8427685f | 143 | common = grub-core/partmap/sun.c; |
ac9ef7ee | 144 | common = grub-core/partmap/plan.c; |
fb25a861 | 145 | common = grub-core/partmap/dvh.c; |
ad717fae | 146 | common = grub-core/partmap/sunpc.c; |
56a4b23d | 147 | common = grub-core/partmap/bsdlabel.c; |
1e908b34 | 148 | common = grub-core/partmap/dfly.c; |
8427685f BC |
149 | common = grub-core/script/function.c; |
150 | common = grub-core/script/lexer.c; | |
151 | common = grub-core/script/main.c; | |
152 | common = grub-core/script/script.c; | |
153 | common = grub-core/script/argv.c; | |
3be8e5ea | 154 | common = grub-core/io/gzio.c; |
ec543969 | 155 | common = grub-core/io/lzopio.c; |
5452733f | 156 | common = grub-core/kern/ia64/dl_helper.c; |
095f077e | 157 | common = grub-core/lib/minilzo/minilzo.c; |
c029da8a VS |
158 | common = grub-core/lib/xzembed/xz_dec_bcj.c; |
159 | common = grub-core/lib/xzembed/xz_dec_lzma2.c; | |
160 | common = grub-core/lib/xzembed/xz_dec_stream.c; | |
8c411768 BC |
161 | }; |
162 | ||
8c411768 BC |
163 | program = { |
164 | name = grub-mkimage; | |
165 | mansection = 1; | |
166 | ||
8427685f | 167 | common = util/grub-mkimage.c; |
ec16e026 | 168 | common = util/mkimage.c; |
8427685f | 169 | common = util/resolve.c; |
6a656b0e | 170 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 171 | common = grub-core/osdep/init.c; |
c76899a0 | 172 | |
854f383c | 173 | common = grub-core/kern/arm/dl_helper.c; |
389b31cd | 174 | |
a60f6ee1 | 175 | extra_dist = util/grub-mkimagexx.c; |
8c411768 | 176 | |
38631371 | 177 | ldadd = libgrubmods.a; |
dcd73ec0 | 178 | ldadd = libgrubgcry.a; |
38631371 | 179 | ldadd = libgrubkern.a; |
4b2047e2 | 180 | ldadd = grub-core/gnulib/libgnu.a; |
2c44e493 | 181 | ldadd = '$(LIBLZMA)'; |
f4727da9 | 182 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8151bc82 | 183 | cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"'; |
8c411768 BC |
184 | }; |
185 | ||
186 | program = { | |
187 | name = grub-mkrelpath; | |
188 | mansection = 1; | |
189 | ||
8427685f | 190 | common = util/grub-mkrelpath.c; |
6a656b0e | 191 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 192 | common = grub-core/osdep/init.c; |
8c411768 | 193 | |
38631371 | 194 | ldadd = libgrubmods.a; |
7efb5c9e | 195 | ldadd = libgrubgcry.a; |
38631371 | 196 | ldadd = libgrubkern.a; |
15c69261 | 197 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 198 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
199 | }; |
200 | ||
201 | program = { | |
202 | name = grub-script-check; | |
203 | mansection = 1; | |
204 | ||
8427685f | 205 | common = util/grub-script-check.c; |
6a656b0e | 206 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 207 | common = grub-core/osdep/init.c; |
8c411768 | 208 | |
38631371 | 209 | ldadd = libgrubmods.a; |
7efb5c9e | 210 | ldadd = libgrubgcry.a; |
38631371 | 211 | ldadd = libgrubkern.a; |
15c69261 | 212 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 213 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
214 | }; |
215 | ||
216 | program = { | |
217 | name = grub-editenv; | |
218 | mansection = 1; | |
219 | ||
8427685f | 220 | common = util/grub-editenv.c; |
bacfefbb | 221 | common = util/editenv.c; |
ae5540d3 | 222 | common = grub-core/osdep/init.c; |
8c411768 | 223 | |
38631371 | 224 | ldadd = libgrubmods.a; |
7efb5c9e | 225 | ldadd = libgrubgcry.a; |
38631371 | 226 | ldadd = libgrubkern.a; |
15c69261 | 227 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 228 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
229 | }; |
230 | ||
231 | program = { | |
232 | name = grub-mkpasswd-pbkdf2; | |
233 | mansection = 1; | |
234 | ||
8427685f | 235 | common = util/grub-mkpasswd-pbkdf2.c; |
6a656b0e | 236 | common = grub-core/kern/emu/argp_common.c; |
672fa55e | 237 | common = grub-core/osdep/random.c; |
ae5540d3 | 238 | common = grub-core/osdep/init.c; |
8c411768 | 239 | |
38631371 | 240 | ldadd = libgrubmods.a; |
dcd73ec0 | 241 | ldadd = libgrubgcry.a; |
38631371 | 242 | ldadd = libgrubkern.a; |
15c69261 | 243 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 244 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
245 | }; |
246 | ||
247 | program = { | |
248 | name = grub-macho2img; | |
249 | mansection = 1; | |
8427685f | 250 | common = util/grub-macho2img.c; |
911bd640 | 251 | condition = COND_APPLE_CC; |
8c411768 BC |
252 | }; |
253 | ||
8c411768 BC |
254 | program = { |
255 | name = grub-fstest; | |
256 | mansection = 1; | |
905f7773 | 257 | common_nodist = grub_fstest_init.c; |
8427685f | 258 | common = util/grub-fstest.c; |
b6a690ee CW |
259 | common = grub-core/kern/emu/hostfs.c; |
260 | common = grub-core/disk/host.c; | |
ae5540d3 | 261 | common = grub-core/osdep/init.c; |
8c411768 | 262 | |
38631371 | 263 | ldadd = libgrubmods.a; |
dcd73ec0 | 264 | ldadd = libgrubgcry.a; |
38631371 | 265 | ldadd = libgrubkern.a; |
15c69261 | 266 | ldadd = grub-core/gnulib/libgnu.a; |
20fd15f9 | 267 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
268 | }; |
269 | ||
92bb0786 | 270 | program = { |
89644ef1 | 271 | name = grub-mount; |
92bb0786 VS |
272 | mansection = 1; |
273 | common_nodist = grub_fstest_init.c; | |
89644ef1 | 274 | common = util/grub-mount.c; |
92bb0786 VS |
275 | common = grub-core/kern/emu/hostfs.c; |
276 | common = grub-core/disk/host.c; | |
f8f3f155 | 277 | common = grub-core/osdep/init.c; |
92bb0786 VS |
278 | |
279 | ldadd = libgrubmods.a; | |
f1f233ba | 280 | ldadd = libgrubgcry.a; |
92bb0786 VS |
281 | ldadd = libgrubkern.a; |
282 | ldadd = grub-core/gnulib/libgnu.a; | |
794c8c33 | 283 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse'; |
897e6207 | 284 | condition = COND_GRUB_MOUNT; |
8c411768 BC |
285 | }; |
286 | ||
287 | program = { | |
288 | name = grub-mkfont; | |
289 | mansection = 1; | |
8427685f | 290 | common = util/grub-mkfont.c; |
6a656b0e | 291 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 292 | common = grub-core/osdep/init.c; |
8c411768 | 293 | |
8c411768 | 294 | cflags = '$(freetype_cflags)'; |
7c9d0c39 | 295 | cppflags = '-DGRUB_MKFONT=1'; |
2d465fb0 | 296 | |
ae5540d3 VS |
297 | ldadd = libgrubmods.a; |
298 | ldadd = libgrubgcry.a; | |
299 | ldadd = libgrubkern.a; | |
32af299a | 300 | ldadd = grub-core/gnulib/libgnu.a; |
a7363f53 | 301 | ldadd = '$(freetype_libs)'; |
ae5540d3 | 302 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
911bd640 | 303 | condition = COND_GRUB_MKFONT; |
8c411768 BC |
304 | }; |
305 | ||
8c411768 BC |
306 | program = { |
307 | name = grub-probe; | |
308 | installdir = sbin; | |
309 | mansection = 8; | |
8427685f | 310 | common = util/grub-probe.c; |
9a2c903f | 311 | common = grub-core/osdep/ofpath.c; |
6a656b0e | 312 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 313 | common = grub-core/osdep/init.c; |
8c411768 | 314 | |
38631371 | 315 | ldadd = libgrubmods.a; |
dcd73ec0 | 316 | ldadd = libgrubgcry.a; |
38631371 | 317 | ldadd = libgrubkern.a; |
15c69261 | 318 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 319 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 BC |
320 | }; |
321 | ||
322 | program = { | |
c36e5cd1 | 323 | name = grub-bios-setup; |
8c411768 BC |
324 | installdir = sbin; |
325 | mansection = 8; | |
d2ea4551 | 326 | common = util/grub-setup.c; |
c06c7520 | 327 | common = util/setup_bios.c; |
8104063c | 328 | extra_dist = util/setup.c; |
6a656b0e | 329 | common = grub-core/kern/emu/argp_common.c; |
419cbeb0 | 330 | common = grub-core/lib/reed_solomon.c; |
5a869940 VS |
331 | common = grub-core/osdep/blocklist.c; |
332 | extra_dist = grub-core/osdep/generic/blocklist.c; | |
333 | extra_dist = grub-core/osdep/linux/blocklist.c; | |
334 | extra_dist = grub-core/osdep/windows/blocklist.c; | |
ae5540d3 | 335 | common = grub-core/osdep/init.c; |
8c411768 | 336 | |
38631371 BC |
337 | ldadd = libgrubmods.a; |
338 | ldadd = libgrubkern.a; | |
7efb5c9e | 339 | ldadd = libgrubgcry.a; |
15c69261 | 340 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 341 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
c06c7520 | 342 | cppflags = '-DGRUB_SETUP_FUNC=grub_util_bios_setup'; |
c36e5cd1 | 343 | }; |
911bd640 | 344 | |
c36e5cd1 VS |
345 | program = { |
346 | name = grub-sparc64-setup; | |
347 | installdir = sbin; | |
348 | mansection = 8; | |
349 | common = util/grub-setup.c; | |
c06c7520 | 350 | common = util/setup_sparc.c; |
c36e5cd1 VS |
351 | common = grub-core/kern/emu/argp_common.c; |
352 | common = grub-core/lib/reed_solomon.c; | |
9a2c903f | 353 | common = grub-core/osdep/ofpath.c; |
5a869940 | 354 | common = grub-core/osdep/blocklist.c; |
ae5540d3 | 355 | common = grub-core/osdep/init.c; |
c36e5cd1 VS |
356 | |
357 | ldadd = libgrubmods.a; | |
358 | ldadd = libgrubkern.a; | |
359 | ldadd = libgrubgcry.a; | |
360 | ldadd = grub-core/gnulib/libgnu.a; | |
361 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
c06c7520 | 362 | cppflags = '-DGRUB_SETUP_FUNC=grub_util_sparc_setup'; |
8c411768 BC |
363 | }; |
364 | ||
365 | program = { | |
366 | name = grub-ofpathname; | |
367 | installdir = sbin; | |
63e3eea9 | 368 | mansection = 8; |
6c21f5d7 | 369 | common = util/ieee1275/grub-ofpathname.c; |
9a2c903f | 370 | common = grub-core/osdep/ofpath.c; |
ae5540d3 | 371 | common = grub-core/osdep/init.c; |
8c411768 | 372 | |
38631371 | 373 | ldadd = libgrubmods.a; |
7efb5c9e | 374 | ldadd = libgrubgcry.a; |
38631371 | 375 | ldadd = libgrubkern.a; |
15c69261 | 376 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 377 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; |
8c411768 BC |
378 | }; |
379 | ||
5aaf2c18 VS |
380 | program = { |
381 | name = grub-mklayout; | |
382 | mansection = 1; | |
383 | ||
384 | common = util/grub-mklayout.c; | |
6a656b0e | 385 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 386 | common = grub-core/osdep/init.c; |
5aaf2c18 | 387 | |
38631371 | 388 | ldadd = libgrubmods.a; |
7efb5c9e | 389 | ldadd = libgrubgcry.a; |
38631371 | 390 | ldadd = libgrubkern.a; |
15c69261 | 391 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 392 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
5aaf2c18 VS |
393 | }; |
394 | ||
8c411768 | 395 | data = { |
8427685f | 396 | common = util/grub.d/README; |
8c411768 | 397 | installdir = grubconf; |
8c411768 BC |
398 | }; |
399 | ||
400 | script = { | |
401 | name = '00_header'; | |
8427685f | 402 | common = util/grub.d/00_header.in; |
8c411768 | 403 | installdir = grubconf; |
8c411768 BC |
404 | }; |
405 | ||
406 | script = { | |
407 | name = '10_windows'; | |
8427685f | 408 | common = util/grub.d/10_windows.in; |
8c411768 | 409 | installdir = grubconf; |
f7711f5e | 410 | condition = COND_HOST_WINDOWS; |
8c411768 BC |
411 | }; |
412 | ||
413 | script = { | |
414 | name = '10_hurd'; | |
8427685f | 415 | common = util/grub.d/10_hurd.in; |
8c411768 | 416 | installdir = grubconf; |
f7711f5e | 417 | condition = COND_HOST_HURD; |
5815f2c1 BC |
418 | }; |
419 | ||
420 | script = { | |
f51c98c4 | 421 | name = '10_kfreebsd'; |
5815f2c1 BC |
422 | common = util/grub.d/10_kfreebsd.in; |
423 | installdir = grubconf; | |
f7711f5e | 424 | condition = COND_HOST_KFREEBSD; |
5815f2c1 BC |
425 | }; |
426 | ||
958ee221 VS |
427 | script = { |
428 | name = '10_illumos'; | |
429 | common = util/grub.d/10_illumos.in; | |
430 | installdir = grubconf; | |
431 | condition = COND_HOST_ILLUMOS; | |
432 | }; | |
433 | ||
5815f2c1 | 434 | script = { |
f51c98c4 | 435 | name = '10_netbsd'; |
5815f2c1 BC |
436 | common = util/grub.d/10_netbsd.in; |
437 | installdir = grubconf; | |
f7711f5e | 438 | condition = COND_HOST_NETBSD; |
8c411768 BC |
439 | }; |
440 | ||
441 | script = { | |
442 | name = '10_linux'; | |
8427685f | 443 | common = util/grub.d/10_linux.in; |
8c411768 | 444 | installdir = grubconf; |
f7711f5e BC |
445 | condition = COND_HOST_LINUX; |
446 | }; | |
447 | ||
b105df76 VS |
448 | script = { |
449 | name = '10_xnu'; | |
450 | common = util/grub.d/10_xnu.in; | |
451 | installdir = grubconf; | |
452 | condition = COND_HOST_XNU; | |
453 | }; | |
454 | ||
f7711f5e BC |
455 | script = { |
456 | name = '20_linux_xen'; | |
457 | common = util/grub.d/20_linux_xen.in; | |
458 | installdir = grubconf; | |
459 | condition = COND_HOST_LINUX; | |
8c411768 BC |
460 | }; |
461 | ||
462 | script = { | |
463 | name = '30_os-prober'; | |
8427685f | 464 | common = util/grub.d/30_os-prober.in; |
8c411768 | 465 | installdir = grubconf; |
8c411768 BC |
466 | }; |
467 | ||
468 | script = { | |
469 | name = '40_custom'; | |
8427685f | 470 | common = util/grub.d/40_custom.in; |
8c411768 | 471 | installdir = grubconf; |
8c411768 BC |
472 | }; |
473 | ||
297f0c2b BC |
474 | script = { |
475 | name = '41_custom'; | |
8427685f | 476 | common = util/grub.d/41_custom.in; |
297f0c2b | 477 | installdir = grubconf; |
297f0c2b BC |
478 | }; |
479 | ||
8c411768 BC |
480 | script = { |
481 | mansection = 1; | |
482 | name = grub-mkrescue; | |
a79b8a15 VS |
483 | common = util/grub-install_header; |
484 | common = util/grub-mkrescue.in; | |
ab1440bd | 485 | enable = noemu; |
8c411768 BC |
486 | }; |
487 | ||
41aa28ea VS |
488 | script = { |
489 | mansection = 1; | |
490 | name = grub-mkstandalone; | |
aa428238 | 491 | common = util/grub-install_header; |
41aa28ea VS |
492 | common = util/grub-mkstandalone.in; |
493 | }; | |
494 | ||
8c411768 BC |
495 | script = { |
496 | mansection = 8; | |
497 | installdir = sbin; | |
498 | name = grub-install; | |
8427685f | 499 | |
aa428238 | 500 | common = util/grub-install_header; |
6c2111e9 | 501 | common = util/grub-install.in; |
eefe8abd | 502 | enable = noemu; |
8c411768 BC |
503 | }; |
504 | ||
8395034b | 505 | script = { |
288c757d CW |
506 | mansection = 1; |
507 | installdir = bin; | |
8395034b VS |
508 | name = grub-mknetdir; |
509 | ||
aa428238 | 510 | common = util/grub-install_header; |
8395034b VS |
511 | common = util/grub-mknetdir.in; |
512 | }; | |
513 | ||
8c411768 BC |
514 | script = { |
515 | name = grub-mkconfig; | |
8427685f | 516 | common = util/grub-mkconfig.in; |
8c411768 BC |
517 | mansection = 8; |
518 | installdir = sbin; | |
8c411768 BC |
519 | }; |
520 | ||
521 | script = { | |
522 | name = grub-set-default; | |
8427685f | 523 | common = util/grub-set-default.in; |
8c411768 BC |
524 | mansection = 8; |
525 | installdir = sbin; | |
8c411768 BC |
526 | }; |
527 | ||
528 | script = { | |
529 | name = grub-reboot; | |
8427685f | 530 | common = util/grub-reboot.in; |
8c411768 BC |
531 | mansection = 8; |
532 | installdir = sbin; | |
8c411768 BC |
533 | }; |
534 | ||
535 | script = { | |
536 | name = grub-mkconfig_lib; | |
8427685f | 537 | common = util/grub-mkconfig_lib.in; |
f7711f5e | 538 | installdir = noinst; |
8c411768 BC |
539 | }; |
540 | ||
5aaf2c18 VS |
541 | script = { |
542 | name = grub-kbdcomp; | |
543 | common = util/grub-kbdcomp.in; | |
c76899a0 | 544 | mansection = 1; |
5aaf2c18 VS |
545 | }; |
546 | ||
911bd640 | 547 | script = { |
8c411768 | 548 | name = grub-shell; |
8427685f | 549 | common = tests/util/grub-shell.in; |
f7711f5e | 550 | installdir = noinst; |
8c411768 BC |
551 | }; |
552 | ||
911bd640 | 553 | script = { |
8c411768 | 554 | name = grub-shell-tester; |
8427685f | 555 | common = tests/util/grub-shell-tester.in; |
f7711f5e | 556 | installdir = noinst; |
8c411768 BC |
557 | }; |
558 | ||
911bd640 BC |
559 | script = { |
560 | testcase; | |
8c411768 | 561 | name = example_scripted_test; |
8427685f | 562 | common = tests/example_scripted_test.in; |
8c411768 BC |
563 | }; |
564 | ||
43fe02cb VS |
565 | script = { |
566 | testcase; | |
567 | name = gettext_strings_test; | |
568 | common = tests/gettext_strings_test.in; | |
62b15edf | 569 | extra_dist = po/exclude.pot; |
43fe02cb VS |
570 | }; |
571 | ||
f7457fb2 VS |
572 | script = { |
573 | testcase; | |
574 | name = pata_test; | |
575 | common = tests/pata_test.in; | |
576 | }; | |
577 | ||
578 | script = { | |
579 | testcase; | |
580 | name = ahci_test; | |
581 | common = tests/ahci_test.in; | |
582 | }; | |
583 | ||
584 | script = { | |
585 | testcase; | |
586 | name = uhci_test; | |
587 | common = tests/uhci_test.in; | |
588 | }; | |
589 | ||
590 | script = { | |
591 | testcase; | |
592 | name = ohci_test; | |
593 | common = tests/ohci_test.in; | |
594 | }; | |
595 | ||
596 | script = { | |
597 | testcase; | |
598 | name = ehci_test; | |
599 | common = tests/ehci_test.in; | |
600 | }; | |
601 | ||
911bd640 BC |
602 | script = { |
603 | testcase; | |
8c411768 | 604 | name = example_grub_script_test; |
8427685f | 605 | common = tests/example_grub_script_test.in; |
8c411768 BC |
606 | }; |
607 | ||
3d84cb17 VS |
608 | script = { |
609 | testcase; | |
610 | name = grub_script_eval; | |
611 | common = tests/grub_script_eval.in; | |
612 | }; | |
613 | ||
daf01d61 VS |
614 | script = { |
615 | testcase; | |
616 | name = grub_script_test; | |
617 | common = tests/grub_script_test.in; | |
618 | }; | |
619 | ||
911bd640 BC |
620 | script = { |
621 | testcase; | |
8c411768 | 622 | name = grub_script_echo1; |
8427685f | 623 | common = tests/grub_script_echo1.in; |
8c411768 BC |
624 | }; |
625 | ||
ac6fd218 VS |
626 | script = { |
627 | testcase; | |
628 | name = grub_script_leading_whitespace; | |
629 | common = tests/grub_script_leading_whitespace.in; | |
630 | }; | |
631 | ||
911bd640 BC |
632 | script = { |
633 | testcase; | |
8c411768 | 634 | name = grub_script_echo_keywords; |
8427685f | 635 | common = tests/grub_script_echo_keywords.in; |
8c411768 BC |
636 | }; |
637 | ||
911bd640 BC |
638 | script = { |
639 | testcase; | |
8c411768 | 640 | name = grub_script_vars1; |
8427685f | 641 | common = tests/grub_script_vars1.in; |
8c411768 BC |
642 | }; |
643 | ||
911bd640 BC |
644 | script = { |
645 | testcase; | |
8c411768 | 646 | name = grub_script_for1; |
8427685f | 647 | common = tests/grub_script_for1.in; |
8c411768 BC |
648 | }; |
649 | ||
911bd640 BC |
650 | script = { |
651 | testcase; | |
8c411768 | 652 | name = grub_script_while1; |
8427685f | 653 | common = tests/grub_script_while1.in; |
8c411768 BC |
654 | }; |
655 | ||
911bd640 BC |
656 | script = { |
657 | testcase; | |
8c411768 | 658 | name = grub_script_if; |
8427685f | 659 | common = tests/grub_script_if.in; |
8c411768 BC |
660 | }; |
661 | ||
911bd640 BC |
662 | script = { |
663 | testcase; | |
8c411768 | 664 | name = grub_script_blanklines; |
8427685f | 665 | common = tests/grub_script_blanklines.in; |
8c411768 BC |
666 | }; |
667 | ||
911bd640 BC |
668 | script = { |
669 | testcase; | |
8c411768 | 670 | name = grub_script_final_semicolon; |
8427685f | 671 | common = tests/grub_script_final_semicolon.in; |
8c411768 BC |
672 | }; |
673 | ||
911bd640 BC |
674 | script = { |
675 | testcase; | |
8c411768 | 676 | name = grub_script_dollar; |
8427685f | 677 | common = tests/grub_script_dollar.in; |
8c411768 BC |
678 | }; |
679 | ||
911bd640 BC |
680 | script = { |
681 | testcase; | |
8c411768 | 682 | name = grub_script_comments; |
8427685f | 683 | common = tests/grub_script_comments.in; |
8c411768 BC |
684 | }; |
685 | ||
16c7cb32 BC |
686 | script = { |
687 | testcase; | |
688 | name = grub_script_functions; | |
8427685f | 689 | common = tests/grub_script_functions.in; |
16c7cb32 BC |
690 | }; |
691 | ||
692 | script = { | |
693 | testcase; | |
694 | name = grub_script_break; | |
8427685f | 695 | common = tests/grub_script_break.in; |
16c7cb32 BC |
696 | }; |
697 | ||
698 | script = { | |
699 | testcase; | |
700 | name = grub_script_continue; | |
8427685f | 701 | common = tests/grub_script_continue.in; |
16c7cb32 BC |
702 | }; |
703 | ||
704 | script = { | |
705 | testcase; | |
706 | name = grub_script_shift; | |
8427685f | 707 | common = tests/grub_script_shift.in; |
16c7cb32 BC |
708 | }; |
709 | ||
928bad47 BC |
710 | script = { |
711 | testcase; | |
712 | name = grub_script_blockarg; | |
713 | common = tests/grub_script_blockarg.in; | |
714 | }; | |
715 | ||
47b4c2c3 BC |
716 | script = { |
717 | testcase; | |
718 | name = grub_script_setparams; | |
719 | common = tests/grub_script_setparams.in; | |
720 | }; | |
721 | ||
aa5cd41a BC |
722 | script = { |
723 | testcase; | |
724 | name = grub_script_return; | |
725 | common = tests/grub_script_return.in; | |
726 | }; | |
727 | ||
ab8629d2 BC |
728 | script = { |
729 | testcase; | |
730 | name = grub_cmd_regexp; | |
731 | common = tests/grub_cmd_regexp.in; | |
732 | }; | |
733 | ||
e3734b84 VS |
734 | script = { |
735 | testcase; | |
736 | name = grub_cmd_date; | |
737 | common = tests/grub_cmd_date.in; | |
738 | }; | |
739 | ||
3f9634e5 VS |
740 | script = { |
741 | testcase; | |
742 | name = grub_cmd_set_date; | |
743 | common = tests/grub_cmd_set_date.in; | |
744 | }; | |
745 | ||
746 | script = { | |
747 | testcase; | |
748 | name = grub_cmd_sleep; | |
749 | common = tests/grub_cmd_sleep.in; | |
750 | }; | |
751 | ||
8fdefb92 BC |
752 | script = { |
753 | testcase; | |
754 | name = grub_script_expansion; | |
755 | common = tests/grub_script_expansion.in; | |
756 | }; | |
757 | ||
1bce65c7 BC |
758 | script = { |
759 | testcase; | |
760 | name = grub_script_not; | |
761 | common = tests/grub_script_not.in; | |
762 | }; | |
763 | ||
e639c204 CW |
764 | script = { |
765 | testcase; | |
766 | name = grub_script_no_commands; | |
767 | common = tests/grub_script_no_commands.in; | |
768 | }; | |
769 | ||
56672f4a | 770 | script = { |
771 | testcase; | |
772 | name = partmap_test; | |
773 | common = tests/partmap_test.in; | |
774 | }; | |
775 | ||
f93e89ef VS |
776 | script = { |
777 | testcase; | |
778 | name = hddboot_test; | |
779 | common = tests/hddboot_test.in; | |
780 | }; | |
781 | ||
782 | script = { | |
783 | testcase; | |
784 | name = fddboot_test; | |
785 | common = tests/fddboot_test.in; | |
786 | }; | |
787 | ||
788 | script = { | |
789 | testcase; | |
790 | name = cdboot_test; | |
791 | common = tests/cdboot_test.in; | |
792 | }; | |
793 | ||
794 | script = { | |
795 | testcase; | |
796 | name = netboot_test; | |
797 | common = tests/netboot_test.in; | |
798 | }; | |
799 | ||
800 | script = { | |
801 | testcase; | |
802 | name = pseries_test; | |
803 | common = tests/pseries_test.in; | |
804 | }; | |
805 | ||
e7b8fd08 VS |
806 | script = { |
807 | testcase; | |
808 | name = core_compress_test; | |
809 | common = tests/core_compress_test.in; | |
810 | }; | |
811 | ||
f93e89ef VS |
812 | script = { |
813 | testcase; | |
814 | name = xzcompress_test; | |
815 | common = tests/xzcompress_test.in; | |
816 | }; | |
817 | ||
818 | script = { | |
819 | testcase; | |
820 | name = gzcompress_test; | |
821 | common = tests/gzcompress_test.in; | |
822 | }; | |
823 | ||
824 | script = { | |
825 | testcase; | |
826 | name = lzocompress_test; | |
827 | common = tests/lzocompress_test.in; | |
828 | }; | |
829 | ||
79c93b42 BC |
830 | script = { |
831 | testcase; | |
832 | name = grub_cmd_echo; | |
833 | common = tests/grub_cmd_echo.in; | |
834 | }; | |
835 | ||
f7457fb2 VS |
836 | script = { |
837 | testcase; | |
838 | name = help_test; | |
839 | common = tests/help_test.in; | |
840 | }; | |
841 | ||
546fbe9b VS |
842 | script = { |
843 | testcase; | |
844 | name = grub_script_gettext; | |
845 | common = tests/grub_script_gettext.in; | |
846 | }; | |
847 | ||
f7457fb2 VS |
848 | script = { |
849 | testcase; | |
850 | name = grub_script_escape_comma; | |
851 | common = tests/grub_script_escape_comma.in; | |
852 | }; | |
853 | ||
ce41ab7a VS |
854 | script = { |
855 | testcase; | |
856 | name = grub_script_strcmp; | |
857 | common = tests/grub_script_strcmp.in; | |
858 | }; | |
859 | ||
7994a09a BC |
860 | script = { |
861 | testcase; | |
862 | name = test_sha512sum; | |
863 | common = tests/test_sha512sum.in; | |
864 | }; | |
865 | ||
188929eb BC |
866 | script = { |
867 | testcase; | |
868 | name = test_unset; | |
869 | common = tests/test_unset.in; | |
870 | }; | |
871 | ||
50361660 VS |
872 | script = { |
873 | testcase; | |
874 | name = grub_func_test; | |
875 | common = tests/grub_func_test.in; | |
876 | }; | |
877 | ||
3d46c22f BC |
878 | script = { |
879 | testcase; | |
880 | name = grub_cmd_tr; | |
881 | common = tests/grub_cmd_tr.in; | |
882 | }; | |
883 | ||
911bd640 BC |
884 | program = { |
885 | testcase; | |
8c411768 | 886 | name = example_unit_test; |
8427685f BC |
887 | common = tests/example_unit_test.c; |
888 | common = tests/lib/unit_test.c; | |
889 | common = grub-core/kern/list.c; | |
890 | common = grub-core/kern/misc.c; | |
891 | common = grub-core/tests/lib/test.c; | |
38631371 | 892 | ldadd = libgrubmods.a; |
7efb5c9e | 893 | ldadd = libgrubgcry.a; |
38631371 | 894 | ldadd = libgrubkern.a; |
dd363028 | 895 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 896 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 897 | }; |
fff175c7 | 898 | |
12d4f965 VS |
899 | program = { |
900 | testcase; | |
901 | name = printf_test; | |
902 | common = tests/printf_unit_test.c; | |
903 | common = tests/lib/unit_test.c; | |
904 | common = grub-core/kern/list.c; | |
905 | common = grub-core/kern/misc.c; | |
906 | common = grub-core/tests/lib/test.c; | |
907 | ldadd = libgrubmods.a; | |
908 | ldadd = libgrubgcry.a; | |
38631371 | 909 | ldadd = libgrubkern.a; |
dd363028 | 910 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 911 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 912 | }; |
fff175c7 | 913 | |
3d695d7b VS |
914 | program = { |
915 | testcase; | |
916 | name = date_test; | |
917 | common = tests/date_unit_test.c; | |
918 | common = tests/lib/unit_test.c; | |
919 | common = grub-core/kern/list.c; | |
920 | common = grub-core/kern/misc.c; | |
921 | common = grub-core/tests/lib/test.c; | |
922 | ldadd = libgrubmods.a; | |
923 | ldadd = libgrubgcry.a; | |
924 | ldadd = libgrubkern.a; | |
925 | ldadd = grub-core/gnulib/libgnu.a; | |
926 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
927 | }; | |
928 | ||
1eed0e6e VS |
929 | program = { |
930 | testcase; | |
931 | name = priority_queue_unit_test; | |
932 | common = tests/priority_queue_unit_test.cc; | |
933 | common = tests/lib/unit_test.c; | |
934 | common = grub-core/kern/list.c; | |
935 | common = grub-core/kern/misc.c; | |
936 | common = grub-core/tests/lib/test.c; | |
937 | common = grub-core/lib/priority_queue.c; | |
938 | ldadd = libgrubmods.a; | |
939 | ldadd = libgrubgcry.a; | |
940 | ldadd = libgrubkern.a; | |
941 | ldadd = grub-core/gnulib/libgnu.a; | |
942 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
943 | condition = COND_HAVE_CXX; | |
944 | }; | |
945 | ||
ce41ab7a VS |
946 | program = { |
947 | testcase; | |
948 | name = cmp_test; | |
949 | common = tests/cmp_unit_test.c; | |
950 | common = tests/lib/unit_test.c; | |
951 | common = grub-core/kern/list.c; | |
952 | common = grub-core/kern/misc.c; | |
953 | common = grub-core/tests/lib/test.c; | |
954 | ldadd = libgrubmods.a; | |
955 | ldadd = libgrubgcry.a; | |
956 | ldadd = libgrubkern.a; | |
957 | ldadd = grub-core/gnulib/libgnu.a; | |
958 | ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
959 | }; | |
960 | ||
fff175c7 VS |
961 | program = { |
962 | name = grub-menulst2cfg; | |
963 | mansection = 1; | |
964 | common = util/grub-menulst2cfg.c; | |
965 | common = grub-core/lib/legacy_parse.c; | |
e31bb619 | 966 | common = grub-core/lib/i386/pc/vesa_modes_table.c; |
ae5540d3 | 967 | common = grub-core/osdep/init.c; |
e31bb619 | 968 | |
38631371 | 969 | ldadd = libgrubmods.a; |
7efb5c9e | 970 | ldadd = libgrubgcry.a; |
38631371 | 971 | ldadd = libgrubkern.a; |
15c69261 | 972 | ldadd = grub-core/gnulib/libgnu.a; |
f4727da9 | 973 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
fff175c7 | 974 | }; |
a79b8a15 | 975 | |
67ab8353 VS |
976 | program = { |
977 | name = grub-glue-efi; | |
978 | mansection = 1; | |
979 | ||
980 | common = util/grub-glue-efi.c; | |
6f652373 | 981 | common = util/glue-efi.c; |
67ab8353 | 982 | common = grub-core/kern/emu/argp_common.c; |
ae5540d3 | 983 | common = grub-core/osdep/init.c; |
67ab8353 VS |
984 | |
985 | ldadd = libgrubmods.a; | |
986 | ldadd = libgrubgcry.a; | |
987 | ldadd = libgrubkern.a; | |
988 | ldadd = grub-core/gnulib/libgnu.a; | |
989 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
990 | }; | |
991 | ||
a79b8a15 VS |
992 | program = { |
993 | name = grub-render-label; | |
994 | mansection = 1; | |
995 | ||
996 | common = util/grub-render-label.c; | |
44d1c20a | 997 | common = util/render-label.c; |
a79b8a15 VS |
998 | common = grub-core/kern/emu/argp_common.c; |
999 | common = grub-core/kern/emu/hostfs.c; | |
1000 | common = grub-core/disk/host.c; | |
ae5540d3 | 1001 | common = grub-core/osdep/init.c; |
a79b8a15 VS |
1002 | |
1003 | ldadd = libgrubmods.a; | |
1004 | ldadd = libgrubgcry.a; | |
1005 | ldadd = libgrubkern.a; | |
1006 | ldadd = grub-core/gnulib/libgnu.a; | |
1007 | ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; | |
1008 | }; |