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