source: grub-pc/trunk/fuentes/Makefile.util.am @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 5 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 93.2 KB
Line 
1libgrubkern_a_SOURCES  =
2nodist_libgrubkern_a_SOURCES  =
3libgrubkern_a_CFLAGS  =
4libgrubkern_a_CPPFLAGS  =
5libgrubkern_a_CCASFLAGS  =
6libgrubmods_a_SOURCES  =
7nodist_libgrubmods_a_SOURCES  =
8libgrubmods_a_CFLAGS  =
9libgrubmods_a_CPPFLAGS  =
10libgrubmods_a_CCASFLAGS  =
11libgrubgcry_a_SOURCES  =
12nodist_libgrubgcry_a_SOURCES  =
13libgrubgcry_a_CFLAGS  =
14libgrubgcry_a_CPPFLAGS  =
15libgrubgcry_a_CCASFLAGS  =
16noinst_LIBRARIES += libgrubkern.a
17libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/lib/disk.c util/getroot.c grub-core/osdep/unix/getroot.c grub-core/osdep/getroot.c grub-core/osdep/devmapper/getroot.c grub-core/osdep/relpath.c grub-core/kern/emu/hostdisk.c grub-core/osdep/devmapper/hostdisk.c grub-core/osdep/hostdisk.c grub-core/osdep/unix/hostdisk.c grub-core/osdep/exec.c grub-core/osdep/sleep.c grub-core/osdep/password.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c grub-core/lib/crypto.c grub-core/disk/luks.c grub-core/disk/geli.c grub-core/disk/cryptodisk.c grub-core/disk/AFSplitter.c grub-core/lib/pbkdf2.c grub-core/commands/extcmd.c grub-core/lib/arg.c grub-core/disk/ldm.c grub-core/disk/diskfilter.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/fs/proc.c
18nodist_libgrubkern_a_SOURCES +=
19libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB)
20libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB)
21libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
22dist_noinst_DATA += grub-core/kern/disk_common.c grub-core/osdep/unix/relpath.c grub-core/osdep/aros/relpath.c grub-core/osdep/windows/relpath.c
23BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES)
24CLEANFILES += $(nodist_libgrubkern_a_SOURCES)
25noinst_LIBRARIES += libgrubmods.a
26libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/macbless.c grub-core/commands/xnu_uuid.c grub-core/commands/testload.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid_linux_be.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/font/font.c grub-core/gfxmenu/font.c grub-core/normal/charset.c grub-core/video/fb/fbblit.c grub-core/video/fb/fbutil.c grub-core/video/fb/fbfill.c grub-core/video/fb/video_fb.c grub-core/video/video.c grub-core/video/capture.c grub-core/video/colors.c grub-core/unidata.c grub-core/io/bufio.c grub-core/fs/affs.c grub-core/fs/afs.c grub-core/fs/bfs.c grub-core/fs/btrfs.c grub-core/fs/cbfs.c grub-core/fs/archelp.c grub-core/fs/cpio.c grub-core/fs/cpio_be.c grub-core/fs/odc.c grub-core/fs/newc.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/exfat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/hfspluscomp.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/minix3.c grub-core/fs/minix_be.c grub-core/fs/minix2_be.c grub-core/fs/minix3_be.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/romfs.c grub-core/fs/sfs.c grub-core/fs/squash4.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/ufs_be.c grub-core/fs/xfs.c grub-core/fs/zfs/zfscrypt.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfsinfo.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_lz4.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/crc.c grub-core/lib/adler32.c grub-core/lib/crc64.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/sun.c grub-core/partmap/plan.c grub-core/partmap/dvh.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/partmap/dfly.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c grub-core/io/xzio.c grub-core/io/lzopio.c grub-core/kern/ia64/dl_helper.c grub-core/kern/arm/dl_helper.c grub-core/kern/arm64/dl_helper.c grub-core/lib/minilzo/minilzo.c grub-core/lib/xzembed/xz_dec_bcj.c grub-core/lib/xzembed/xz_dec_lzma2.c grub-core/lib/xzembed/xz_dec_stream.c
27nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h
28libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) -fno-builtin -Wno-undef
29libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) -I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H
30libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
31dist_noinst_DATA +=
32BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES)
33CLEANFILES += $(nodist_libgrubmods_a_SOURCES)
34noinst_LIBRARIES += libgrubgcry.a
35libgrubgcry_a_SOURCES += grub-core/lib/libgcrypt-grub/cipher/arcfour.c grub-core/lib/libgcrypt-grub/cipher/blowfish.c grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c grub-core/lib/libgcrypt-grub/cipher/camellia.c grub-core/lib/libgcrypt-grub/cipher/cast5.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/libgcrypt-grub/cipher/des.c grub-core/lib/libgcrypt-grub/cipher/idea.c grub-core/lib/libgcrypt-grub/cipher/md4.c grub-core/lib/libgcrypt-grub/cipher/md5.c grub-core/lib/libgcrypt-grub/cipher/rfc2268.c grub-core/lib/libgcrypt-grub/cipher/rijndael.c grub-core/lib/libgcrypt-grub/cipher/rmd160.c grub-core/lib/libgcrypt-grub/cipher/seed.c grub-core/lib/libgcrypt-grub/cipher/serpent.c grub-core/lib/libgcrypt-grub/cipher/sha1.c grub-core/lib/libgcrypt-grub/cipher/sha256.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/tiger.c grub-core/lib/libgcrypt-grub/cipher/twofish.c grub-core/lib/libgcrypt-grub/cipher/whirlpool.c grub-core/lib/libgcrypt-grub/cipher/init.c
36nodist_libgrubgcry_a_SOURCES +=
37libgrubgcry_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY)
38libgrubgcry_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY)
39libgrubgcry_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY)
40dist_noinst_DATA += grub-core/lib/libgcrypt-grub/cipher/ChangeLog
41BUILT_SOURCES += $(nodist_libgrubgcry_a_SOURCES)
42CLEANFILES += $(nodist_libgrubgcry_a_SOURCES)
43bin_PROGRAMS += grub-mkimage
44if COND_MAN_PAGES
45man_MANS += grub-mkimage.1
46
47grub-mkimage.1: grub-mkimage
48        chmod a+x grub-mkimage
49        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage
50       
51CLEANFILES += grub-mkimage.1
52endif
53grub_mkimage_SOURCES  = util/grub-mkimage.c util/mkimage.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c grub-core/osdep/config.c util/config.c
54nodist_grub_mkimage_SOURCES  =
55grub_mkimage_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
56grub_mkimage_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
57grub_mkimage_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
58grub_mkimage_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBDIR=\"$(pkglibdir)\"
59grub_mkimage_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
60dist_noinst_DATA += grub-core/osdep/aros/config.c grub-core/osdep/windows/config.c grub-core/osdep/unix/config.c util/grub-mkimagexx.c
61BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES)
62CLEANFILES += $(nodist_grub_mkimage_SOURCES)
63bin_PROGRAMS += grub-mkrelpath
64if COND_MAN_PAGES
65man_MANS += grub-mkrelpath.1
66
67grub-mkrelpath.1: grub-mkrelpath
68        chmod a+x grub-mkrelpath
69        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath
70       
71CLEANFILES += grub-mkrelpath.1
72endif
73grub_mkrelpath_SOURCES  = util/grub-mkrelpath.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
74nodist_grub_mkrelpath_SOURCES  =
75grub_mkrelpath_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
76grub_mkrelpath_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
77grub_mkrelpath_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
78grub_mkrelpath_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
79grub_mkrelpath_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
80dist_noinst_DATA +=
81BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES)
82CLEANFILES += $(nodist_grub_mkrelpath_SOURCES)
83bin_PROGRAMS += grub-script-check
84if COND_MAN_PAGES
85man_MANS += grub-script-check.1
86
87grub-script-check.1: grub-script-check
88        chmod a+x grub-script-check
89        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check
90       
91CLEANFILES += grub-script-check.1
92endif
93grub_script_check_SOURCES  = util/grub-script-check.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
94nodist_grub_script_check_SOURCES  =
95grub_script_check_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
96grub_script_check_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
97grub_script_check_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
98grub_script_check_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
99grub_script_check_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
100dist_noinst_DATA +=
101BUILT_SOURCES += $(nodist_grub_script_check_SOURCES)
102CLEANFILES += $(nodist_grub_script_check_SOURCES)
103bin_PROGRAMS += grub-editenv
104if COND_MAN_PAGES
105man_MANS += grub-editenv.1
106
107grub-editenv.1: grub-editenv
108        chmod a+x grub-editenv
109        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv
110       
111CLEANFILES += grub-editenv.1
112endif
113grub_editenv_SOURCES  = util/grub-editenv.c util/editenv.c grub-core/osdep/init.c
114nodist_grub_editenv_SOURCES  =
115grub_editenv_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
116grub_editenv_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
117grub_editenv_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
118grub_editenv_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
119grub_editenv_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
120dist_noinst_DATA +=
121BUILT_SOURCES += $(nodist_grub_editenv_SOURCES)
122CLEANFILES += $(nodist_grub_editenv_SOURCES)
123bin_PROGRAMS += grub-mkpasswd-pbkdf2
124if COND_MAN_PAGES
125man_MANS += grub-mkpasswd-pbkdf2.1
126
127grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2
128        chmod a+x grub-mkpasswd-pbkdf2
129        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2
130       
131CLEANFILES += grub-mkpasswd-pbkdf2.1
132endif
133grub_mkpasswd_pbkdf2_SOURCES  = util/grub-mkpasswd-pbkdf2.c grub-core/kern/emu/argp_common.c grub-core/osdep/random.c grub-core/osdep/init.c
134nodist_grub_mkpasswd_pbkdf2_SOURCES  =
135grub_mkpasswd_pbkdf2_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
136grub_mkpasswd_pbkdf2_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
137grub_mkpasswd_pbkdf2_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
138grub_mkpasswd_pbkdf2_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
139grub_mkpasswd_pbkdf2_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
140dist_noinst_DATA +=
141BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES)
142CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES)
143if COND_APPLE_LINKER
144bin_PROGRAMS += grub-macho2img
145if COND_MAN_PAGES
146man_MANS += grub-macho2img.1
147
148grub-macho2img.1: grub-macho2img
149        chmod a+x grub-macho2img
150        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img
151       
152CLEANFILES += grub-macho2img.1
153endif
154grub_macho2img_SOURCES  = util/grub-macho2img.c
155nodist_grub_macho2img_SOURCES  =
156grub_macho2img_LDADD  =
157grub_macho2img_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
158grub_macho2img_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
159grub_macho2img_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
160grub_macho2img_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
161dist_noinst_DATA +=
162BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES)
163CLEANFILES += $(nodist_grub_macho2img_SOURCES)
164endif COND_APPLE_LINKER
165bin_PROGRAMS += grub-fstest
166if COND_MAN_PAGES
167man_MANS += grub-fstest.1
168
169grub-fstest.1: grub-fstest
170        chmod a+x grub-fstest
171        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest
172       
173CLEANFILES += grub-fstest.1
174endif
175grub_fstest_SOURCES  = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
176nodist_grub_fstest_SOURCES  = grub_fstest_init.c
177grub_fstest_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
178grub_fstest_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
179grub_fstest_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
180grub_fstest_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
181grub_fstest_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
182dist_noinst_DATA +=
183BUILT_SOURCES += $(nodist_grub_fstest_SOURCES)
184CLEANFILES += $(nodist_grub_fstest_SOURCES)
185if COND_GRUB_MOUNT
186bin_PROGRAMS += grub-mount
187if COND_MAN_PAGES
188man_MANS += grub-mount.1
189
190grub-mount.1: grub-mount
191        chmod a+x grub-mount
192        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mount.h2m -o $@ grub-mount
193       
194CLEANFILES += grub-mount.1
195endif
196grub_mount_SOURCES  = util/grub-mount.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
197nodist_grub_mount_SOURCES  = grub_fstest_init.c
198grub_mount_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse
199grub_mount_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
200grub_mount_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
201grub_mount_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
202grub_mount_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
203dist_noinst_DATA +=
204BUILT_SOURCES += $(nodist_grub_mount_SOURCES)
205CLEANFILES += $(nodist_grub_mount_SOURCES)
206endif COND_GRUB_MOUNT
207if COND_GRUB_MKFONT
208bin_PROGRAMS += grub-mkfont
209if COND_MAN_PAGES
210man_MANS += grub-mkfont.1
211
212grub-mkfont.1: grub-mkfont
213        chmod a+x grub-mkfont
214        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont
215       
216CLEANFILES += grub-mkfont.1
217endif
218grub_mkfont_SOURCES  = util/grub-mkfont.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
219nodist_grub_mkfont_SOURCES  =
220grub_mkfont_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
221grub_mkfont_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags)
222grub_mkfont_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
223grub_mkfont_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_MKFONT=1
224grub_mkfont_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
225dist_noinst_DATA +=
226BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES)
227CLEANFILES += $(nodist_grub_mkfont_SOURCES)
228endif COND_GRUB_MKFONT
229sbin_PROGRAMS += grub-probe
230if COND_MAN_PAGES
231man_MANS += grub-probe.8
232
233grub-probe.8: grub-probe
234        chmod a+x grub-probe
235        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe
236       
237CLEANFILES += grub-probe.8
238endif
239grub_probe_SOURCES  = util/grub-probe.c util/probe.c grub-core/osdep/ofpath.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
240nodist_grub_probe_SOURCES  =
241grub_probe_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
242grub_probe_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
243grub_probe_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
244grub_probe_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
245grub_probe_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
246dist_noinst_DATA +=
247BUILT_SOURCES += $(nodist_grub_probe_SOURCES)
248CLEANFILES += $(nodist_grub_probe_SOURCES)
249sbin_PROGRAMS += grub-bios-setup
250if COND_MAN_PAGES
251man_MANS += grub-bios-setup.8
252
253grub-bios-setup.8: grub-bios-setup
254        chmod a+x grub-bios-setup
255        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-bios-setup.h2m -o $@ grub-bios-setup
256       
257CLEANFILES += grub-bios-setup.8
258endif
259grub_bios_setup_SOURCES  = util/grub-setup.c util/setup_bios.c grub-core/kern/emu/argp_common.c grub-core/lib/reed_solomon.c grub-core/osdep/blocklist.c grub-core/osdep/init.c
260nodist_grub_bios_setup_SOURCES  =
261grub_bios_setup_LDADD  = libgrubmods.a libgrubkern.a libgrubgcry.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
262grub_bios_setup_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
263grub_bios_setup_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
264grub_bios_setup_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_SETUP_FUNC=grub_util_bios_setup
265grub_bios_setup_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
266dist_noinst_DATA += util/setup.c grub-core/osdep/generic/blocklist.c grub-core/osdep/linux/blocklist.c grub-core/osdep/windows/blocklist.c
267BUILT_SOURCES += $(nodist_grub_bios_setup_SOURCES)
268CLEANFILES += $(nodist_grub_bios_setup_SOURCES)
269sbin_PROGRAMS += grub-sparc64-setup
270if COND_MAN_PAGES
271man_MANS += grub-sparc64-setup.8
272
273grub-sparc64-setup.8: grub-sparc64-setup
274        chmod a+x grub-sparc64-setup
275        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-sparc64-setup.h2m -o $@ grub-sparc64-setup
276       
277CLEANFILES += grub-sparc64-setup.8
278endif
279grub_sparc64_setup_SOURCES  = util/grub-setup.c util/setup_sparc.c grub-core/kern/emu/argp_common.c grub-core/lib/reed_solomon.c grub-core/osdep/ofpath.c grub-core/osdep/blocklist.c grub-core/osdep/init.c
280nodist_grub_sparc64_setup_SOURCES  =
281grub_sparc64_setup_LDADD  = libgrubmods.a libgrubkern.a libgrubgcry.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
282grub_sparc64_setup_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
283grub_sparc64_setup_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
284grub_sparc64_setup_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_SETUP_FUNC=grub_util_sparc_setup
285grub_sparc64_setup_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
286dist_noinst_DATA +=
287BUILT_SOURCES += $(nodist_grub_sparc64_setup_SOURCES)
288CLEANFILES += $(nodist_grub_sparc64_setup_SOURCES)
289sbin_PROGRAMS += grub-ofpathname
290if COND_MAN_PAGES
291man_MANS += grub-ofpathname.8
292
293grub-ofpathname.8: grub-ofpathname
294        chmod a+x grub-ofpathname
295        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-ofpathname.h2m -o $@ grub-ofpathname
296       
297CLEANFILES += grub-ofpathname.8
298endif
299grub_ofpathname_SOURCES  = util/ieee1275/grub-ofpathname.c grub-core/osdep/ofpath.c grub-core/osdep/init.c
300nodist_grub_ofpathname_SOURCES  =
301grub_ofpathname_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)
302grub_ofpathname_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
303grub_ofpathname_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
304grub_ofpathname_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
305grub_ofpathname_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
306dist_noinst_DATA +=
307BUILT_SOURCES += $(nodist_grub_ofpathname_SOURCES)
308CLEANFILES += $(nodist_grub_ofpathname_SOURCES)
309bin_PROGRAMS += grub-mklayout
310if COND_MAN_PAGES
311man_MANS += grub-mklayout.1
312
313grub-mklayout.1: grub-mklayout
314        chmod a+x grub-mklayout
315        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout
316       
317CLEANFILES += grub-mklayout.1
318endif
319grub_mklayout_SOURCES  = util/grub-mklayout.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
320nodist_grub_mklayout_SOURCES  =
321grub_mklayout_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
322grub_mklayout_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
323grub_mklayout_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
324grub_mklayout_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
325grub_mklayout_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
326dist_noinst_DATA +=
327BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES)
328CLEANFILES += $(nodist_grub_mklayout_SOURCES)
329sbin_PROGRAMS += grub-macbless
330if COND_MAN_PAGES
331man_MANS += grub-macbless.1
332
333grub-macbless.1: grub-macbless
334        chmod a+x grub-macbless
335        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macbless.h2m -o $@ grub-macbless
336       
337CLEANFILES += grub-macbless.1
338endif
339grub_macbless_SOURCES  = util/grub-macbless.c grub-core/osdep/init.c grub-core/kern/emu/argp_common.c
340nodist_grub_macbless_SOURCES  =
341grub_macbless_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
342grub_macbless_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
343grub_macbless_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
344grub_macbless_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
345grub_macbless_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
346dist_noinst_DATA +=
347BUILT_SOURCES += $(nodist_grub_macbless_SOURCES)
348CLEANFILES += $(nodist_grub_macbless_SOURCES)
349if COND_HAVE_EXEC
350bin_PROGRAMS += grub-mkrescue
351if COND_MAN_PAGES
352man_MANS += grub-mkrescue.1
353
354grub-mkrescue.1: grub-mkrescue
355        chmod a+x grub-mkrescue
356        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue
357       
358CLEANFILES += grub-mkrescue.1
359endif
360grub_mkrescue_SOURCES  = util/grub-mkrescue.c util/render-label.c util/glue-efi.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
361nodist_grub_mkrescue_SOURCES  =
362grub_mkrescue_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
363grub_mkrescue_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
364grub_mkrescue_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
365grub_mkrescue_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
366grub_mkrescue_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
367dist_noinst_DATA += grub-core/osdep/unix/compress.c grub-core/osdep/basic/compress.c
368BUILT_SOURCES += $(nodist_grub_mkrescue_SOURCES)
369CLEANFILES += $(nodist_grub_mkrescue_SOURCES)
370endif COND_HAVE_EXEC
371bin_PROGRAMS += grub-mkstandalone
372if COND_MAN_PAGES
373man_MANS += grub-mkstandalone.1
374
375grub-mkstandalone.1: grub-mkstandalone
376        chmod a+x grub-mkstandalone
377        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkstandalone.h2m -o $@ grub-mkstandalone
378       
379CLEANFILES += grub-mkstandalone.1
380endif
381grub_mkstandalone_SOURCES  = util/grub-mkstandalone.c util/render-label.c util/glue-efi.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
382nodist_grub_mkstandalone_SOURCES  =
383grub_mkstandalone_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
384grub_mkstandalone_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
385grub_mkstandalone_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
386grub_mkstandalone_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
387grub_mkstandalone_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
388dist_noinst_DATA += grub-core/osdep/linux/platform.c grub-core/osdep/windows/platform.c grub-core/osdep/basic/platform.c grub-core/osdep/basic/no_platform.c grub-core/osdep/unix/platform.c
389BUILT_SOURCES += $(nodist_grub_mkstandalone_SOURCES)
390CLEANFILES += $(nodist_grub_mkstandalone_SOURCES)
391
392if COND_i386_pc
393sbin_PROGRAMS += grub-install
394if COND_MAN_PAGES
395man_MANS += grub-install.8
396
397grub-install.8: grub-install
398        chmod a+x grub-install
399        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
400       
401CLEANFILES += grub-install.8
402endif
403grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
404nodist_grub_install_SOURCES  =
405grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
406grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
407grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
408grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
409grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
410dist_noinst_DATA +=
411BUILT_SOURCES += $(nodist_grub_install_SOURCES)
412CLEANFILES += $(nodist_grub_install_SOURCES)
413endif
414
415if COND_i386_efi
416sbin_PROGRAMS += grub-install
417if COND_MAN_PAGES
418man_MANS += grub-install.8
419
420grub-install.8: grub-install
421        chmod a+x grub-install
422        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
423       
424CLEANFILES += grub-install.8
425endif
426grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
427nodist_grub_install_SOURCES  =
428grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
429grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
430grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
431grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
432grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
433dist_noinst_DATA +=
434BUILT_SOURCES += $(nodist_grub_install_SOURCES)
435CLEANFILES += $(nodist_grub_install_SOURCES)
436endif
437
438if COND_i386_qemu
439sbin_PROGRAMS += grub-install
440if COND_MAN_PAGES
441man_MANS += grub-install.8
442
443grub-install.8: grub-install
444        chmod a+x grub-install
445        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
446       
447CLEANFILES += grub-install.8
448endif
449grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
450nodist_grub_install_SOURCES  =
451grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
452grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
453grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
454grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
455grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
456dist_noinst_DATA +=
457BUILT_SOURCES += $(nodist_grub_install_SOURCES)
458CLEANFILES += $(nodist_grub_install_SOURCES)
459endif
460
461if COND_i386_coreboot
462sbin_PROGRAMS += grub-install
463if COND_MAN_PAGES
464man_MANS += grub-install.8
465
466grub-install.8: grub-install
467        chmod a+x grub-install
468        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
469       
470CLEANFILES += grub-install.8
471endif
472grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
473nodist_grub_install_SOURCES  =
474grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
475grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
476grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
477grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
478grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
479dist_noinst_DATA +=
480BUILT_SOURCES += $(nodist_grub_install_SOURCES)
481CLEANFILES += $(nodist_grub_install_SOURCES)
482endif
483
484if COND_i386_multiboot
485sbin_PROGRAMS += grub-install
486if COND_MAN_PAGES
487man_MANS += grub-install.8
488
489grub-install.8: grub-install
490        chmod a+x grub-install
491        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
492       
493CLEANFILES += grub-install.8
494endif
495grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
496nodist_grub_install_SOURCES  =
497grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
498grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
499grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
500grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
501grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
502dist_noinst_DATA +=
503BUILT_SOURCES += $(nodist_grub_install_SOURCES)
504CLEANFILES += $(nodist_grub_install_SOURCES)
505endif
506
507if COND_i386_ieee1275
508sbin_PROGRAMS += grub-install
509if COND_MAN_PAGES
510man_MANS += grub-install.8
511
512grub-install.8: grub-install
513        chmod a+x grub-install
514        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
515       
516CLEANFILES += grub-install.8
517endif
518grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
519nodist_grub_install_SOURCES  =
520grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
521grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
522grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
523grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
524grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
525dist_noinst_DATA +=
526BUILT_SOURCES += $(nodist_grub_install_SOURCES)
527CLEANFILES += $(nodist_grub_install_SOURCES)
528endif
529
530if COND_x86_64_efi
531sbin_PROGRAMS += grub-install
532if COND_MAN_PAGES
533man_MANS += grub-install.8
534
535grub-install.8: grub-install
536        chmod a+x grub-install
537        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
538       
539CLEANFILES += grub-install.8
540endif
541grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
542nodist_grub_install_SOURCES  =
543grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
544grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
545grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
546grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
547grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
548dist_noinst_DATA +=
549BUILT_SOURCES += $(nodist_grub_install_SOURCES)
550CLEANFILES += $(nodist_grub_install_SOURCES)
551endif
552
553if COND_i386_xen
554sbin_PROGRAMS += grub-install
555if COND_MAN_PAGES
556man_MANS += grub-install.8
557
558grub-install.8: grub-install
559        chmod a+x grub-install
560        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
561       
562CLEANFILES += grub-install.8
563endif
564grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
565nodist_grub_install_SOURCES  =
566grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
567grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
568grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
569grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
570grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
571dist_noinst_DATA +=
572BUILT_SOURCES += $(nodist_grub_install_SOURCES)
573CLEANFILES += $(nodist_grub_install_SOURCES)
574endif
575
576if COND_x86_64_xen
577sbin_PROGRAMS += grub-install
578if COND_MAN_PAGES
579man_MANS += grub-install.8
580
581grub-install.8: grub-install
582        chmod a+x grub-install
583        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
584       
585CLEANFILES += grub-install.8
586endif
587grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
588nodist_grub_install_SOURCES  =
589grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
590grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
591grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
592grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
593grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
594dist_noinst_DATA +=
595BUILT_SOURCES += $(nodist_grub_install_SOURCES)
596CLEANFILES += $(nodist_grub_install_SOURCES)
597endif
598
599if COND_mips_loongson
600sbin_PROGRAMS += grub-install
601if COND_MAN_PAGES
602man_MANS += grub-install.8
603
604grub-install.8: grub-install
605        chmod a+x grub-install
606        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
607       
608CLEANFILES += grub-install.8
609endif
610grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
611nodist_grub_install_SOURCES  =
612grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
613grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
614grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
615grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
616grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
617dist_noinst_DATA +=
618BUILT_SOURCES += $(nodist_grub_install_SOURCES)
619CLEANFILES += $(nodist_grub_install_SOURCES)
620endif
621
622if COND_sparc64_ieee1275
623sbin_PROGRAMS += grub-install
624if COND_MAN_PAGES
625man_MANS += grub-install.8
626
627grub-install.8: grub-install
628        chmod a+x grub-install
629        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
630       
631CLEANFILES += grub-install.8
632endif
633grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
634nodist_grub_install_SOURCES  =
635grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
636grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
637grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
638grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
639grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
640dist_noinst_DATA +=
641BUILT_SOURCES += $(nodist_grub_install_SOURCES)
642CLEANFILES += $(nodist_grub_install_SOURCES)
643endif
644
645if COND_powerpc_ieee1275
646sbin_PROGRAMS += grub-install
647if COND_MAN_PAGES
648man_MANS += grub-install.8
649
650grub-install.8: grub-install
651        chmod a+x grub-install
652        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
653       
654CLEANFILES += grub-install.8
655endif
656grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
657nodist_grub_install_SOURCES  =
658grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
659grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
660grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
661grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
662grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
663dist_noinst_DATA +=
664BUILT_SOURCES += $(nodist_grub_install_SOURCES)
665CLEANFILES += $(nodist_grub_install_SOURCES)
666endif
667
668if COND_mips_arc
669sbin_PROGRAMS += grub-install
670if COND_MAN_PAGES
671man_MANS += grub-install.8
672
673grub-install.8: grub-install
674        chmod a+x grub-install
675        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
676       
677CLEANFILES += grub-install.8
678endif
679grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
680nodist_grub_install_SOURCES  =
681grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
682grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
683grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
684grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
685grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
686dist_noinst_DATA +=
687BUILT_SOURCES += $(nodist_grub_install_SOURCES)
688CLEANFILES += $(nodist_grub_install_SOURCES)
689endif
690
691if COND_ia64_efi
692sbin_PROGRAMS += grub-install
693if COND_MAN_PAGES
694man_MANS += grub-install.8
695
696grub-install.8: grub-install
697        chmod a+x grub-install
698        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
699       
700CLEANFILES += grub-install.8
701endif
702grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
703nodist_grub_install_SOURCES  =
704grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
705grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
706grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
707grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
708grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
709dist_noinst_DATA +=
710BUILT_SOURCES += $(nodist_grub_install_SOURCES)
711CLEANFILES += $(nodist_grub_install_SOURCES)
712endif
713
714if COND_mips_qemu_mips
715sbin_PROGRAMS += grub-install
716if COND_MAN_PAGES
717man_MANS += grub-install.8
718
719grub-install.8: grub-install
720        chmod a+x grub-install
721        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
722       
723CLEANFILES += grub-install.8
724endif
725grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
726nodist_grub_install_SOURCES  =
727grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
728grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
729grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
730grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
731grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
732dist_noinst_DATA +=
733BUILT_SOURCES += $(nodist_grub_install_SOURCES)
734CLEANFILES += $(nodist_grub_install_SOURCES)
735endif
736
737if COND_arm_uboot
738sbin_PROGRAMS += grub-install
739if COND_MAN_PAGES
740man_MANS += grub-install.8
741
742grub-install.8: grub-install
743        chmod a+x grub-install
744        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
745       
746CLEANFILES += grub-install.8
747endif
748grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
749nodist_grub_install_SOURCES  =
750grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
751grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
752grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
753grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
754grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
755dist_noinst_DATA +=
756BUILT_SOURCES += $(nodist_grub_install_SOURCES)
757CLEANFILES += $(nodist_grub_install_SOURCES)
758endif
759
760if COND_arm_efi
761sbin_PROGRAMS += grub-install
762if COND_MAN_PAGES
763man_MANS += grub-install.8
764
765grub-install.8: grub-install
766        chmod a+x grub-install
767        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
768       
769CLEANFILES += grub-install.8
770endif
771grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
772nodist_grub_install_SOURCES  =
773grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
774grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
775grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
776grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
777grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
778dist_noinst_DATA +=
779BUILT_SOURCES += $(nodist_grub_install_SOURCES)
780CLEANFILES += $(nodist_grub_install_SOURCES)
781endif
782
783if COND_arm64_efi
784sbin_PROGRAMS += grub-install
785if COND_MAN_PAGES
786man_MANS += grub-install.8
787
788grub-install.8: grub-install
789        chmod a+x grub-install
790        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install
791       
792CLEANFILES += grub-install.8
793endif
794grub_install_SOURCES  = util/grub-install.c util/probe.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/render-label.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
795nodist_grub_install_SOURCES  =
796grub_install_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
797grub_install_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
798grub_install_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
799grub_install_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
800grub_install_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
801dist_noinst_DATA +=
802BUILT_SOURCES += $(nodist_grub_install_SOURCES)
803CLEANFILES += $(nodist_grub_install_SOURCES)
804endif
805bin_PROGRAMS += grub-mknetdir
806if COND_MAN_PAGES
807man_MANS += grub-mknetdir.1
808
809grub-mknetdir.1: grub-mknetdir
810        chmod a+x grub-mknetdir
811        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir
812       
813CLEANFILES += grub-mknetdir.1
814endif
815grub_mknetdir_SOURCES  = util/grub-mknetdir.c util/mkimage.c util/grub-install-common.c util/setup_bios.c util/setup_sparc.c grub-core/lib/reed_solomon.c grub-core/osdep/random.c grub-core/osdep/ofpath.c grub-core/osdep/platform.c grub-core/osdep/platform_unix.c grub-core/osdep/compress.c util/editenv.c grub-core/osdep/blocklist.c grub-core/osdep/config.c util/config.c util/resolve.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
816nodist_grub_mknetdir_SOURCES  =
817grub_mknetdir_LDADD  = $(LIBLZMA) libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
818grub_mknetdir_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
819grub_mknetdir_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
820grub_mknetdir_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
821grub_mknetdir_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
822dist_noinst_DATA +=
823BUILT_SOURCES += $(nodist_grub_mknetdir_SOURCES)
824CLEANFILES += $(nodist_grub_mknetdir_SOURCES)
825check_PROGRAMS += example_unit_test
826TESTS += example_unit_test
827example_unit_test_SOURCES  = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
828nodist_example_unit_test_SOURCES  =
829example_unit_test_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
830example_unit_test_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
831example_unit_test_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
832example_unit_test_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
833example_unit_test_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
834dist_noinst_DATA +=
835BUILT_SOURCES += $(nodist_example_unit_test_SOURCES)
836CLEANFILES += $(nodist_example_unit_test_SOURCES)
837check_PROGRAMS += printf_test
838TESTS += printf_test
839printf_test_SOURCES  = tests/printf_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
840nodist_printf_test_SOURCES  =
841printf_test_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
842printf_test_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
843printf_test_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
844printf_test_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
845printf_test_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
846dist_noinst_DATA +=
847BUILT_SOURCES += $(nodist_printf_test_SOURCES)
848CLEANFILES += $(nodist_printf_test_SOURCES)
849check_PROGRAMS += date_test
850TESTS += date_test
851date_test_SOURCES  = tests/date_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
852nodist_date_test_SOURCES  =
853date_test_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
854date_test_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
855date_test_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
856date_test_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
857date_test_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
858dist_noinst_DATA +=
859BUILT_SOURCES += $(nodist_date_test_SOURCES)
860CLEANFILES += $(nodist_date_test_SOURCES)
861if COND_HAVE_CXX
862check_PROGRAMS += priority_queue_unit_test
863TESTS += priority_queue_unit_test
864priority_queue_unit_test_SOURCES  = tests/priority_queue_unit_test.cc tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c grub-core/lib/priority_queue.c
865nodist_priority_queue_unit_test_SOURCES  =
866priority_queue_unit_test_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
867priority_queue_unit_test_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
868priority_queue_unit_test_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
869priority_queue_unit_test_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
870priority_queue_unit_test_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
871dist_noinst_DATA +=
872BUILT_SOURCES += $(nodist_priority_queue_unit_test_SOURCES)
873CLEANFILES += $(nodist_priority_queue_unit_test_SOURCES)
874endif COND_HAVE_CXX
875check_PROGRAMS += cmp_test
876TESTS += cmp_test
877cmp_test_SOURCES  = tests/cmp_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c
878nodist_cmp_test_SOURCES  =
879cmp_test_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
880cmp_test_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
881cmp_test_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
882cmp_test_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
883cmp_test_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
884dist_noinst_DATA +=
885BUILT_SOURCES += $(nodist_cmp_test_SOURCES)
886CLEANFILES += $(nodist_cmp_test_SOURCES)
887bin_PROGRAMS += grub-menulst2cfg
888if COND_MAN_PAGES
889man_MANS += grub-menulst2cfg.1
890
891grub-menulst2cfg.1: grub-menulst2cfg
892        chmod a+x grub-menulst2cfg
893        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg
894       
895CLEANFILES += grub-menulst2cfg.1
896endif
897grub_menulst2cfg_SOURCES  = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c grub-core/osdep/init.c
898nodist_grub_menulst2cfg_SOURCES  =
899grub_menulst2cfg_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
900grub_menulst2cfg_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
901grub_menulst2cfg_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
902grub_menulst2cfg_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
903grub_menulst2cfg_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
904dist_noinst_DATA +=
905BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES)
906CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES)
907bin_PROGRAMS += grub-syslinux2cfg
908if COND_MAN_PAGES
909man_MANS += grub-syslinux2cfg.1
910
911grub-syslinux2cfg.1: grub-syslinux2cfg
912        chmod a+x grub-syslinux2cfg
913        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-syslinux2cfg.h2m -o $@ grub-syslinux2cfg
914       
915CLEANFILES += grub-syslinux2cfg.1
916endif
917grub_syslinux2cfg_SOURCES  = util/grub-syslinux2cfg.c grub-core/lib/syslinux_parse.c grub-core/lib/getline.c grub-core/osdep/init.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/kern/emu/argp_common.c
918nodist_grub_syslinux2cfg_SOURCES  =
919grub_syslinux2cfg_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
920grub_syslinux2cfg_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
921grub_syslinux2cfg_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
922grub_syslinux2cfg_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
923grub_syslinux2cfg_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
924dist_noinst_DATA +=
925BUILT_SOURCES += $(nodist_grub_syslinux2cfg_SOURCES)
926CLEANFILES += $(nodist_grub_syslinux2cfg_SOURCES)
927bin_PROGRAMS += grub-glue-efi
928if COND_MAN_PAGES
929man_MANS += grub-glue-efi.1
930
931grub-glue-efi.1: grub-glue-efi
932        chmod a+x grub-glue-efi
933        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-glue-efi.h2m -o $@ grub-glue-efi
934       
935CLEANFILES += grub-glue-efi.1
936endif
937grub_glue_efi_SOURCES  = util/grub-glue-efi.c util/glue-efi.c grub-core/kern/emu/argp_common.c grub-core/osdep/init.c
938nodist_grub_glue_efi_SOURCES  =
939grub_glue_efi_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
940grub_glue_efi_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
941grub_glue_efi_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
942grub_glue_efi_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
943grub_glue_efi_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
944dist_noinst_DATA +=
945BUILT_SOURCES += $(nodist_grub_glue_efi_SOURCES)
946CLEANFILES += $(nodist_grub_glue_efi_SOURCES)
947bin_PROGRAMS += grub-render-label
948if COND_MAN_PAGES
949man_MANS += grub-render-label.1
950
951grub-render-label.1: grub-render-label
952        chmod a+x grub-render-label
953        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-render-label.h2m -o $@ grub-render-label
954       
955CLEANFILES += grub-render-label.1
956endif
957grub_render_label_SOURCES  = util/grub-render-label.c util/render-label.c grub-core/kern/emu/argp_common.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
958nodist_grub_render_label_SOURCES  =
959grub_render_label_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
960grub_render_label_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
961grub_render_label_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
962grub_render_label_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
963grub_render_label_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
964dist_noinst_DATA +=
965BUILT_SOURCES += $(nodist_grub_render_label_SOURCES)
966CLEANFILES += $(nodist_grub_render_label_SOURCES)
967bin_PROGRAMS += grub-file
968if COND_MAN_PAGES
969man_MANS += grub-file.1
970
971grub-file.1: grub-file
972        chmod a+x grub-file
973        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-file.h2m -o $@ grub-file
974       
975CLEANFILES += grub-file.1
976endif
977grub_file_SOURCES  = util/grub-file.c util/render-label.c grub-core/commands/file.c grub-core/commands/file32.c grub-core/commands/file64.c grub-core/loader/i386/xen_file.c grub-core/loader/i386/xen_file32.c grub-core/loader/i386/xen_file64.c grub-core/io/offset.c grub-core/kern/elf.c grub-core/loader/lzss.c grub-core/loader/macho.c grub-core/loader/macho32.c grub-core/loader/macho64.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c grub-core/osdep/init.c
978nodist_grub_file_SOURCES  =
979grub_file_LDADD  = libgrubmods.a libgrubgcry.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)
980grub_file_CFLAGS  = $(AM_CFLAGS) $(CFLAGS_PROGRAM)
981grub_file_LDFLAGS  = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM)
982grub_file_CPPFLAGS  = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM)
983grub_file_CCASFLAGS  = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM)
984dist_noinst_DATA +=
985BUILT_SOURCES += $(nodist_grub_file_SOURCES)
986CLEANFILES += $(nodist_grub_file_SOURCES)
987grubconf_SCRIPTS += 00_header
988
98900_header: $(top_builddir)/config.status util/grub.d/00_header.in
990        (for x in util/grub.d/00_header.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
991        chmod a+x 00_header
992       
993CLEANFILES += 00_header
994EXTRA_DIST +=
995dist_noinst_DATA += util/grub.d/00_header.in
996if COND_HOST_WINDOWS
997grubconf_SCRIPTS += 10_windows
998
99910_windows: $(top_builddir)/config.status util/grub.d/10_windows.in
1000        (for x in util/grub.d/10_windows.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1001        chmod a+x 10_windows
1002       
1003CLEANFILES += 10_windows
1004EXTRA_DIST +=
1005dist_noinst_DATA += util/grub.d/10_windows.in
1006endif COND_HOST_WINDOWS
1007if COND_HOST_HURD
1008grubconf_SCRIPTS += 10_hurd
1009
101010_hurd: $(top_builddir)/config.status util/grub.d/10_hurd.in
1011        (for x in util/grub.d/10_hurd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1012        chmod a+x 10_hurd
1013       
1014CLEANFILES += 10_hurd
1015EXTRA_DIST +=
1016dist_noinst_DATA += util/grub.d/10_hurd.in
1017endif COND_HOST_HURD
1018if COND_HOST_KFREEBSD
1019grubconf_SCRIPTS += 10_kfreebsd
1020
102110_kfreebsd: $(top_builddir)/config.status util/grub.d/10_kfreebsd.in
1022        (for x in util/grub.d/10_kfreebsd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1023        chmod a+x 10_kfreebsd
1024       
1025CLEANFILES += 10_kfreebsd
1026EXTRA_DIST +=
1027dist_noinst_DATA += util/grub.d/10_kfreebsd.in
1028endif COND_HOST_KFREEBSD
1029if COND_HOST_ILLUMOS
1030grubconf_SCRIPTS += 10_illumos
1031
103210_illumos: $(top_builddir)/config.status util/grub.d/10_illumos.in
1033        (for x in util/grub.d/10_illumos.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1034        chmod a+x 10_illumos
1035       
1036CLEANFILES += 10_illumos
1037EXTRA_DIST +=
1038dist_noinst_DATA += util/grub.d/10_illumos.in
1039endif COND_HOST_ILLUMOS
1040if COND_HOST_NETBSD
1041grubconf_SCRIPTS += 10_netbsd
1042
104310_netbsd: $(top_builddir)/config.status util/grub.d/10_netbsd.in
1044        (for x in util/grub.d/10_netbsd.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1045        chmod a+x 10_netbsd
1046       
1047CLEANFILES += 10_netbsd
1048EXTRA_DIST +=
1049dist_noinst_DATA += util/grub.d/10_netbsd.in
1050endif COND_HOST_NETBSD
1051if COND_HOST_LINUX
1052grubconf_SCRIPTS += 10_linux
1053
105410_linux: $(top_builddir)/config.status util/grub.d/10_linux.in
1055        (for x in util/grub.d/10_linux.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1056        chmod a+x 10_linux
1057       
1058CLEANFILES += 10_linux
1059EXTRA_DIST +=
1060dist_noinst_DATA += util/grub.d/10_linux.in
1061endif COND_HOST_LINUX
1062if COND_HOST_XNU
1063grubconf_SCRIPTS += 10_xnu
1064
106510_xnu: $(top_builddir)/config.status util/grub.d/10_xnu.in
1066        (for x in util/grub.d/10_xnu.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1067        chmod a+x 10_xnu
1068       
1069CLEANFILES += 10_xnu
1070EXTRA_DIST +=
1071dist_noinst_DATA += util/grub.d/10_xnu.in
1072endif COND_HOST_XNU
1073if COND_HOST_LINUX
1074grubconf_SCRIPTS += 20_linux_xen
1075
107620_linux_xen: $(top_builddir)/config.status util/grub.d/20_linux_xen.in
1077        (for x in util/grub.d/20_linux_xen.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1078        chmod a+x 20_linux_xen
1079       
1080CLEANFILES += 20_linux_xen
1081EXTRA_DIST +=
1082dist_noinst_DATA += util/grub.d/20_linux_xen.in
1083endif COND_HOST_LINUX
1084grubconf_SCRIPTS += 30_os-prober
1085
108630_os-prober: $(top_builddir)/config.status util/grub.d/30_os-prober.in
1087        (for x in util/grub.d/30_os-prober.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1088        chmod a+x 30_os-prober
1089       
1090CLEANFILES += 30_os-prober
1091EXTRA_DIST +=
1092dist_noinst_DATA += util/grub.d/30_os-prober.in
1093grubconf_SCRIPTS += 40_custom
1094
109540_custom: $(top_builddir)/config.status util/grub.d/40_custom.in
1096        (for x in util/grub.d/40_custom.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1097        chmod a+x 40_custom
1098       
1099CLEANFILES += 40_custom
1100EXTRA_DIST +=
1101dist_noinst_DATA += util/grub.d/40_custom.in
1102grubconf_SCRIPTS += 41_custom
1103
110441_custom: $(top_builddir)/config.status util/grub.d/41_custom.in
1105        (for x in util/grub.d/41_custom.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1106        chmod a+x 41_custom
1107       
1108CLEANFILES += 41_custom
1109EXTRA_DIST +=
1110dist_noinst_DATA += util/grub.d/41_custom.in
1111sbin_SCRIPTS += grub-mkconfig
1112if COND_MAN_PAGES
1113man_MANS += grub-mkconfig.8
1114
1115grub-mkconfig.8: grub-mkconfig grub-mkconfig_lib
1116        chmod a+x grub-mkconfig
1117        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig
1118       
1119CLEANFILES += grub-mkconfig.8
1120endif
1121
1122grub-mkconfig: $(top_builddir)/config.status util/grub-mkconfig.in
1123        (for x in util/grub-mkconfig.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1124        chmod a+x grub-mkconfig
1125       
1126CLEANFILES += grub-mkconfig
1127EXTRA_DIST +=
1128dist_noinst_DATA += util/grub-mkconfig.in
1129sbin_SCRIPTS += grub-set-default
1130if COND_MAN_PAGES
1131man_MANS += grub-set-default.8
1132
1133grub-set-default.8: grub-set-default grub-mkconfig_lib
1134        chmod a+x grub-set-default
1135        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default
1136       
1137CLEANFILES += grub-set-default.8
1138endif
1139
1140grub-set-default: $(top_builddir)/config.status util/grub-set-default.in
1141        (for x in util/grub-set-default.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1142        chmod a+x grub-set-default
1143       
1144CLEANFILES += grub-set-default
1145EXTRA_DIST +=
1146dist_noinst_DATA += util/grub-set-default.in
1147sbin_SCRIPTS += grub-reboot
1148if COND_MAN_PAGES
1149man_MANS += grub-reboot.8
1150
1151grub-reboot.8: grub-reboot grub-mkconfig_lib
1152        chmod a+x grub-reboot
1153        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot
1154       
1155CLEANFILES += grub-reboot.8
1156endif
1157
1158grub-reboot: $(top_builddir)/config.status util/grub-reboot.in
1159        (for x in util/grub-reboot.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1160        chmod a+x grub-reboot
1161       
1162CLEANFILES += grub-reboot
1163EXTRA_DIST +=
1164dist_noinst_DATA += util/grub-reboot.in
1165noinst_SCRIPTS += grub-mkconfig_lib
1166
1167grub-mkconfig_lib: $(top_builddir)/config.status util/grub-mkconfig_lib.in
1168        (for x in util/grub-mkconfig_lib.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1169        chmod a+x grub-mkconfig_lib
1170       
1171CLEANFILES += grub-mkconfig_lib
1172EXTRA_DIST +=
1173dist_noinst_DATA += util/grub-mkconfig_lib.in
1174bin_SCRIPTS += grub-kbdcomp
1175if COND_MAN_PAGES
1176man_MANS += grub-kbdcomp.1
1177
1178grub-kbdcomp.1: grub-kbdcomp grub-mkconfig_lib
1179        chmod a+x grub-kbdcomp
1180        PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-kbdcomp.h2m -o $@ grub-kbdcomp
1181       
1182CLEANFILES += grub-kbdcomp.1
1183endif
1184
1185grub-kbdcomp: $(top_builddir)/config.status util/grub-kbdcomp.in
1186        (for x in util/grub-kbdcomp.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1187        chmod a+x grub-kbdcomp
1188       
1189CLEANFILES += grub-kbdcomp
1190EXTRA_DIST +=
1191dist_noinst_DATA += util/grub-kbdcomp.in
1192noinst_SCRIPTS += grub-shell
1193
1194grub-shell: $(top_builddir)/config.status tests/util/grub-shell.in
1195        (for x in tests/util/grub-shell.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1196        chmod a+x grub-shell
1197       
1198CLEANFILES += grub-shell
1199EXTRA_DIST +=
1200dist_noinst_DATA += tests/util/grub-shell.in
1201noinst_SCRIPTS += grub-shell-tester
1202
1203grub-shell-tester: $(top_builddir)/config.status tests/util/grub-shell-tester.in
1204        (for x in tests/util/grub-shell-tester.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1205        chmod a+x grub-shell-tester
1206       
1207CLEANFILES += grub-shell-tester
1208EXTRA_DIST +=
1209dist_noinst_DATA += tests/util/grub-shell-tester.in
1210noinst_SCRIPTS += grub-fs-tester
1211
1212grub-fs-tester: $(top_builddir)/config.status tests/util/grub-fs-tester.in garbage-gen
1213        (for x in tests/util/grub-fs-tester.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1214        chmod a+x grub-fs-tester
1215       
1216CLEANFILES += grub-fs-tester
1217EXTRA_DIST +=
1218dist_noinst_DATA += tests/util/grub-fs-tester.in
1219check_SCRIPTS += ext234_test
1220TESTS += ext234_test
1221
1222ext234_test: $(top_builddir)/config.status tests/ext234_test.in
1223        (for x in tests/ext234_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1224        chmod a+x ext234_test
1225       
1226CLEANFILES += ext234_test
1227EXTRA_DIST +=
1228dist_noinst_DATA += tests/ext234_test.in
1229check_SCRIPTS += squashfs_test
1230TESTS += squashfs_test
1231
1232squashfs_test: $(top_builddir)/config.status tests/squashfs_test.in
1233        (for x in tests/squashfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1234        chmod a+x squashfs_test
1235       
1236CLEANFILES += squashfs_test
1237EXTRA_DIST +=
1238dist_noinst_DATA += tests/squashfs_test.in
1239check_SCRIPTS += iso9660_test
1240TESTS += iso9660_test
1241
1242iso9660_test: $(top_builddir)/config.status tests/iso9660_test.in
1243        (for x in tests/iso9660_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1244        chmod a+x iso9660_test
1245       
1246CLEANFILES += iso9660_test
1247EXTRA_DIST +=
1248dist_noinst_DATA += tests/iso9660_test.in
1249check_SCRIPTS += hfsplus_test
1250TESTS += hfsplus_test
1251
1252hfsplus_test: $(top_builddir)/config.status tests/hfsplus_test.in
1253        (for x in tests/hfsplus_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1254        chmod a+x hfsplus_test
1255       
1256CLEANFILES += hfsplus_test
1257EXTRA_DIST +=
1258dist_noinst_DATA += tests/hfsplus_test.in
1259check_SCRIPTS += ntfs_test
1260TESTS += ntfs_test
1261
1262ntfs_test: $(top_builddir)/config.status tests/ntfs_test.in
1263        (for x in tests/ntfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1264        chmod a+x ntfs_test
1265       
1266CLEANFILES += ntfs_test
1267EXTRA_DIST +=
1268dist_noinst_DATA += tests/ntfs_test.in
1269check_SCRIPTS += reiserfs_test
1270TESTS += reiserfs_test
1271
1272reiserfs_test: $(top_builddir)/config.status tests/reiserfs_test.in
1273        (for x in tests/reiserfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1274        chmod a+x reiserfs_test
1275       
1276CLEANFILES += reiserfs_test
1277EXTRA_DIST +=
1278dist_noinst_DATA += tests/reiserfs_test.in
1279check_SCRIPTS += fat_test
1280TESTS += fat_test
1281
1282fat_test: $(top_builddir)/config.status tests/fat_test.in
1283        (for x in tests/fat_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1284        chmod a+x fat_test
1285       
1286CLEANFILES += fat_test
1287EXTRA_DIST +=
1288dist_noinst_DATA += tests/fat_test.in
1289check_SCRIPTS += minixfs_test
1290TESTS += minixfs_test
1291
1292minixfs_test: $(top_builddir)/config.status tests/minixfs_test.in
1293        (for x in tests/minixfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1294        chmod a+x minixfs_test
1295       
1296CLEANFILES += minixfs_test
1297EXTRA_DIST +=
1298dist_noinst_DATA += tests/minixfs_test.in
1299check_SCRIPTS += xfs_test
1300TESTS += xfs_test
1301
1302xfs_test: $(top_builddir)/config.status tests/xfs_test.in
1303        (for x in tests/xfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1304        chmod a+x xfs_test
1305       
1306CLEANFILES += xfs_test
1307EXTRA_DIST +=
1308dist_noinst_DATA += tests/xfs_test.in
1309check_SCRIPTS += nilfs2_test
1310TESTS += nilfs2_test
1311
1312nilfs2_test: $(top_builddir)/config.status tests/nilfs2_test.in
1313        (for x in tests/nilfs2_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1314        chmod a+x nilfs2_test
1315       
1316CLEANFILES += nilfs2_test
1317EXTRA_DIST +=
1318dist_noinst_DATA += tests/nilfs2_test.in
1319check_SCRIPTS += romfs_test
1320TESTS += romfs_test
1321
1322romfs_test: $(top_builddir)/config.status tests/romfs_test.in
1323        (for x in tests/romfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1324        chmod a+x romfs_test
1325       
1326CLEANFILES += romfs_test
1327EXTRA_DIST +=
1328dist_noinst_DATA += tests/romfs_test.in
1329check_SCRIPTS += exfat_test
1330TESTS += exfat_test
1331
1332exfat_test: $(top_builddir)/config.status tests/exfat_test.in
1333        (for x in tests/exfat_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1334        chmod a+x exfat_test
1335       
1336CLEANFILES += exfat_test
1337EXTRA_DIST +=
1338dist_noinst_DATA += tests/exfat_test.in
1339check_SCRIPTS += tar_test
1340TESTS += tar_test
1341
1342tar_test: $(top_builddir)/config.status tests/tar_test.in
1343        (for x in tests/tar_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1344        chmod a+x tar_test
1345       
1346CLEANFILES += tar_test
1347EXTRA_DIST +=
1348dist_noinst_DATA += tests/tar_test.in
1349check_SCRIPTS += udf_test
1350TESTS += udf_test
1351
1352udf_test: $(top_builddir)/config.status tests/udf_test.in
1353        (for x in tests/udf_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1354        chmod a+x udf_test
1355       
1356CLEANFILES += udf_test
1357EXTRA_DIST +=
1358dist_noinst_DATA += tests/udf_test.in
1359check_SCRIPTS += hfs_test
1360TESTS += hfs_test
1361
1362hfs_test: $(top_builddir)/config.status tests/hfs_test.in
1363        (for x in tests/hfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1364        chmod a+x hfs_test
1365       
1366CLEANFILES += hfs_test
1367EXTRA_DIST +=
1368dist_noinst_DATA += tests/hfs_test.in
1369check_SCRIPTS += jfs_test
1370TESTS += jfs_test
1371
1372jfs_test: $(top_builddir)/config.status tests/jfs_test.in
1373        (for x in tests/jfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1374        chmod a+x jfs_test
1375       
1376CLEANFILES += jfs_test
1377EXTRA_DIST +=
1378dist_noinst_DATA += tests/jfs_test.in
1379check_SCRIPTS += btrfs_test
1380TESTS += btrfs_test
1381
1382btrfs_test: $(top_builddir)/config.status tests/btrfs_test.in
1383        (for x in tests/btrfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1384        chmod a+x btrfs_test
1385       
1386CLEANFILES += btrfs_test
1387EXTRA_DIST +=
1388dist_noinst_DATA += tests/btrfs_test.in
1389check_SCRIPTS += zfs_test
1390TESTS += zfs_test
1391
1392zfs_test: $(top_builddir)/config.status tests/zfs_test.in
1393        (for x in tests/zfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1394        chmod a+x zfs_test
1395       
1396CLEANFILES += zfs_test
1397EXTRA_DIST +=
1398dist_noinst_DATA += tests/zfs_test.in
1399check_SCRIPTS += cpio_test
1400TESTS += cpio_test
1401
1402cpio_test: $(top_builddir)/config.status tests/cpio_test.in
1403        (for x in tests/cpio_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1404        chmod a+x cpio_test
1405       
1406CLEANFILES += cpio_test
1407EXTRA_DIST +=
1408dist_noinst_DATA += tests/cpio_test.in
1409check_SCRIPTS += example_scripted_test
1410TESTS += example_scripted_test
1411
1412example_scripted_test: $(top_builddir)/config.status tests/example_scripted_test.in
1413        (for x in tests/example_scripted_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1414        chmod a+x example_scripted_test
1415       
1416CLEANFILES += example_scripted_test
1417EXTRA_DIST +=
1418dist_noinst_DATA += tests/example_scripted_test.in
1419check_SCRIPTS += gettext_strings_test
1420TESTS += gettext_strings_test
1421
1422gettext_strings_test: $(top_builddir)/config.status tests/gettext_strings_test.in
1423        (for x in tests/gettext_strings_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1424        chmod a+x gettext_strings_test
1425       
1426CLEANFILES += gettext_strings_test
1427EXTRA_DIST += po/exclude.pot
1428dist_noinst_DATA += tests/gettext_strings_test.in
1429check_SCRIPTS += pata_test
1430TESTS += pata_test
1431
1432pata_test: $(top_builddir)/config.status tests/pata_test.in
1433        (for x in tests/pata_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1434        chmod a+x pata_test
1435       
1436CLEANFILES += pata_test
1437EXTRA_DIST +=
1438dist_noinst_DATA += tests/pata_test.in
1439check_SCRIPTS += ahci_test
1440TESTS += ahci_test
1441
1442ahci_test: $(top_builddir)/config.status tests/ahci_test.in
1443        (for x in tests/ahci_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1444        chmod a+x ahci_test
1445       
1446CLEANFILES += ahci_test
1447EXTRA_DIST +=
1448dist_noinst_DATA += tests/ahci_test.in
1449check_SCRIPTS += uhci_test
1450TESTS += uhci_test
1451
1452uhci_test: $(top_builddir)/config.status tests/uhci_test.in
1453        (for x in tests/uhci_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1454        chmod a+x uhci_test
1455       
1456CLEANFILES += uhci_test
1457EXTRA_DIST +=
1458dist_noinst_DATA += tests/uhci_test.in
1459check_SCRIPTS += ohci_test
1460TESTS += ohci_test
1461
1462ohci_test: $(top_builddir)/config.status tests/ohci_test.in
1463        (for x in tests/ohci_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1464        chmod a+x ohci_test
1465       
1466CLEANFILES += ohci_test
1467EXTRA_DIST +=
1468dist_noinst_DATA += tests/ohci_test.in
1469check_SCRIPTS += ehci_test
1470TESTS += ehci_test
1471
1472ehci_test: $(top_builddir)/config.status tests/ehci_test.in
1473        (for x in tests/ehci_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1474        chmod a+x ehci_test
1475       
1476CLEANFILES += ehci_test
1477EXTRA_DIST +=
1478dist_noinst_DATA += tests/ehci_test.in
1479check_SCRIPTS += example_grub_script_test
1480TESTS += example_grub_script_test
1481
1482example_grub_script_test: $(top_builddir)/config.status tests/example_grub_script_test.in
1483        (for x in tests/example_grub_script_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1484        chmod a+x example_grub_script_test
1485       
1486CLEANFILES += example_grub_script_test
1487EXTRA_DIST +=
1488dist_noinst_DATA += tests/example_grub_script_test.in
1489check_SCRIPTS += grub_script_eval
1490TESTS += grub_script_eval
1491
1492grub_script_eval: $(top_builddir)/config.status tests/grub_script_eval.in
1493        (for x in tests/grub_script_eval.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1494        chmod a+x grub_script_eval
1495       
1496CLEANFILES += grub_script_eval
1497EXTRA_DIST +=
1498dist_noinst_DATA += tests/grub_script_eval.in
1499check_SCRIPTS += grub_script_test
1500TESTS += grub_script_test
1501
1502grub_script_test: $(top_builddir)/config.status tests/grub_script_test.in
1503        (for x in tests/grub_script_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1504        chmod a+x grub_script_test
1505       
1506CLEANFILES += grub_script_test
1507EXTRA_DIST +=
1508dist_noinst_DATA += tests/grub_script_test.in
1509check_SCRIPTS += grub_script_echo1
1510TESTS += grub_script_echo1
1511
1512grub_script_echo1: $(top_builddir)/config.status tests/grub_script_echo1.in
1513        (for x in tests/grub_script_echo1.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1514        chmod a+x grub_script_echo1
1515       
1516CLEANFILES += grub_script_echo1
1517EXTRA_DIST +=
1518dist_noinst_DATA += tests/grub_script_echo1.in
1519check_SCRIPTS += grub_script_leading_whitespace
1520TESTS += grub_script_leading_whitespace
1521
1522grub_script_leading_whitespace: $(top_builddir)/config.status tests/grub_script_leading_whitespace.in
1523        (for x in tests/grub_script_leading_whitespace.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1524        chmod a+x grub_script_leading_whitespace
1525       
1526CLEANFILES += grub_script_leading_whitespace
1527EXTRA_DIST +=
1528dist_noinst_DATA += tests/grub_script_leading_whitespace.in
1529check_SCRIPTS += grub_script_echo_keywords
1530TESTS += grub_script_echo_keywords
1531
1532grub_script_echo_keywords: $(top_builddir)/config.status tests/grub_script_echo_keywords.in
1533        (for x in tests/grub_script_echo_keywords.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1534        chmod a+x grub_script_echo_keywords
1535       
1536CLEANFILES += grub_script_echo_keywords
1537EXTRA_DIST +=
1538dist_noinst_DATA += tests/grub_script_echo_keywords.in
1539check_SCRIPTS += grub_script_vars1
1540TESTS += grub_script_vars1
1541
1542grub_script_vars1: $(top_builddir)/config.status tests/grub_script_vars1.in
1543        (for x in tests/grub_script_vars1.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1544        chmod a+x grub_script_vars1
1545       
1546CLEANFILES += grub_script_vars1
1547EXTRA_DIST +=
1548dist_noinst_DATA += tests/grub_script_vars1.in
1549check_SCRIPTS += grub_script_for1
1550TESTS += grub_script_for1
1551
1552grub_script_for1: $(top_builddir)/config.status tests/grub_script_for1.in
1553        (for x in tests/grub_script_for1.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1554        chmod a+x grub_script_for1
1555       
1556CLEANFILES += grub_script_for1
1557EXTRA_DIST +=
1558dist_noinst_DATA += tests/grub_script_for1.in
1559check_SCRIPTS += grub_script_while1
1560TESTS += grub_script_while1
1561
1562grub_script_while1: $(top_builddir)/config.status tests/grub_script_while1.in
1563        (for x in tests/grub_script_while1.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1564        chmod a+x grub_script_while1
1565       
1566CLEANFILES += grub_script_while1
1567EXTRA_DIST +=
1568dist_noinst_DATA += tests/grub_script_while1.in
1569check_SCRIPTS += grub_script_if
1570TESTS += grub_script_if
1571
1572grub_script_if: $(top_builddir)/config.status tests/grub_script_if.in
1573        (for x in tests/grub_script_if.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1574        chmod a+x grub_script_if
1575       
1576CLEANFILES += grub_script_if
1577EXTRA_DIST +=
1578dist_noinst_DATA += tests/grub_script_if.in
1579check_SCRIPTS += grub_script_blanklines
1580TESTS += grub_script_blanklines
1581
1582grub_script_blanklines: $(top_builddir)/config.status tests/grub_script_blanklines.in
1583        (for x in tests/grub_script_blanklines.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1584        chmod a+x grub_script_blanklines
1585       
1586CLEANFILES += grub_script_blanklines
1587EXTRA_DIST +=
1588dist_noinst_DATA += tests/grub_script_blanklines.in
1589check_SCRIPTS += grub_script_final_semicolon
1590TESTS += grub_script_final_semicolon
1591
1592grub_script_final_semicolon: $(top_builddir)/config.status tests/grub_script_final_semicolon.in
1593        (for x in tests/grub_script_final_semicolon.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1594        chmod a+x grub_script_final_semicolon
1595       
1596CLEANFILES += grub_script_final_semicolon
1597EXTRA_DIST +=
1598dist_noinst_DATA += tests/grub_script_final_semicolon.in
1599check_SCRIPTS += grub_script_dollar
1600TESTS += grub_script_dollar
1601
1602grub_script_dollar: $(top_builddir)/config.status tests/grub_script_dollar.in
1603        (for x in tests/grub_script_dollar.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1604        chmod a+x grub_script_dollar
1605       
1606CLEANFILES += grub_script_dollar
1607EXTRA_DIST +=
1608dist_noinst_DATA += tests/grub_script_dollar.in
1609check_SCRIPTS += grub_script_comments
1610TESTS += grub_script_comments
1611
1612grub_script_comments: $(top_builddir)/config.status tests/grub_script_comments.in
1613        (for x in tests/grub_script_comments.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1614        chmod a+x grub_script_comments
1615       
1616CLEANFILES += grub_script_comments
1617EXTRA_DIST +=
1618dist_noinst_DATA += tests/grub_script_comments.in
1619check_SCRIPTS += grub_script_functions
1620TESTS += grub_script_functions
1621
1622grub_script_functions: $(top_builddir)/config.status tests/grub_script_functions.in
1623        (for x in tests/grub_script_functions.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1624        chmod a+x grub_script_functions
1625       
1626CLEANFILES += grub_script_functions
1627EXTRA_DIST +=
1628dist_noinst_DATA += tests/grub_script_functions.in
1629check_SCRIPTS += grub_script_break
1630TESTS += grub_script_break
1631
1632grub_script_break: $(top_builddir)/config.status tests/grub_script_break.in
1633        (for x in tests/grub_script_break.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1634        chmod a+x grub_script_break
1635       
1636CLEANFILES += grub_script_break
1637EXTRA_DIST +=
1638dist_noinst_DATA += tests/grub_script_break.in
1639check_SCRIPTS += grub_script_continue
1640TESTS += grub_script_continue
1641
1642grub_script_continue: $(top_builddir)/config.status tests/grub_script_continue.in
1643        (for x in tests/grub_script_continue.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1644        chmod a+x grub_script_continue
1645       
1646CLEANFILES += grub_script_continue
1647EXTRA_DIST +=
1648dist_noinst_DATA += tests/grub_script_continue.in
1649check_SCRIPTS += grub_script_shift
1650TESTS += grub_script_shift
1651
1652grub_script_shift: $(top_builddir)/config.status tests/grub_script_shift.in
1653        (for x in tests/grub_script_shift.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1654        chmod a+x grub_script_shift
1655       
1656CLEANFILES += grub_script_shift
1657EXTRA_DIST +=
1658dist_noinst_DATA += tests/grub_script_shift.in
1659check_SCRIPTS += grub_script_blockarg
1660TESTS += grub_script_blockarg
1661
1662grub_script_blockarg: $(top_builddir)/config.status tests/grub_script_blockarg.in
1663        (for x in tests/grub_script_blockarg.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1664        chmod a+x grub_script_blockarg
1665       
1666CLEANFILES += grub_script_blockarg
1667EXTRA_DIST +=
1668dist_noinst_DATA += tests/grub_script_blockarg.in
1669check_SCRIPTS += grub_script_setparams
1670TESTS += grub_script_setparams
1671
1672grub_script_setparams: $(top_builddir)/config.status tests/grub_script_setparams.in
1673        (for x in tests/grub_script_setparams.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1674        chmod a+x grub_script_setparams
1675       
1676CLEANFILES += grub_script_setparams
1677EXTRA_DIST +=
1678dist_noinst_DATA += tests/grub_script_setparams.in
1679check_SCRIPTS += grub_script_return
1680TESTS += grub_script_return
1681
1682grub_script_return: $(top_builddir)/config.status tests/grub_script_return.in
1683        (for x in tests/grub_script_return.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1684        chmod a+x grub_script_return
1685       
1686CLEANFILES += grub_script_return
1687EXTRA_DIST +=
1688dist_noinst_DATA += tests/grub_script_return.in
1689check_SCRIPTS += grub_cmd_regexp
1690TESTS += grub_cmd_regexp
1691
1692grub_cmd_regexp: $(top_builddir)/config.status tests/grub_cmd_regexp.in
1693        (for x in tests/grub_cmd_regexp.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1694        chmod a+x grub_cmd_regexp
1695       
1696CLEANFILES += grub_cmd_regexp
1697EXTRA_DIST +=
1698dist_noinst_DATA += tests/grub_cmd_regexp.in
1699check_SCRIPTS += grub_cmd_date
1700TESTS += grub_cmd_date
1701
1702grub_cmd_date: $(top_builddir)/config.status tests/grub_cmd_date.in
1703        (for x in tests/grub_cmd_date.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1704        chmod a+x grub_cmd_date
1705       
1706CLEANFILES += grub_cmd_date
1707EXTRA_DIST +=
1708dist_noinst_DATA += tests/grub_cmd_date.in
1709check_SCRIPTS += grub_cmd_set_date
1710TESTS += grub_cmd_set_date
1711
1712grub_cmd_set_date: $(top_builddir)/config.status tests/grub_cmd_set_date.in
1713        (for x in tests/grub_cmd_set_date.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1714        chmod a+x grub_cmd_set_date
1715       
1716CLEANFILES += grub_cmd_set_date
1717EXTRA_DIST +=
1718dist_noinst_DATA += tests/grub_cmd_set_date.in
1719check_SCRIPTS += grub_cmd_sleep
1720TESTS += grub_cmd_sleep
1721
1722grub_cmd_sleep: $(top_builddir)/config.status tests/grub_cmd_sleep.in
1723        (for x in tests/grub_cmd_sleep.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1724        chmod a+x grub_cmd_sleep
1725       
1726CLEANFILES += grub_cmd_sleep
1727EXTRA_DIST +=
1728dist_noinst_DATA += tests/grub_cmd_sleep.in
1729check_SCRIPTS += grub_script_expansion
1730TESTS += grub_script_expansion
1731
1732grub_script_expansion: $(top_builddir)/config.status tests/grub_script_expansion.in
1733        (for x in tests/grub_script_expansion.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1734        chmod a+x grub_script_expansion
1735       
1736CLEANFILES += grub_script_expansion
1737EXTRA_DIST +=
1738dist_noinst_DATA += tests/grub_script_expansion.in
1739check_SCRIPTS += grub_script_not
1740TESTS += grub_script_not
1741
1742grub_script_not: $(top_builddir)/config.status tests/grub_script_not.in
1743        (for x in tests/grub_script_not.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1744        chmod a+x grub_script_not
1745       
1746CLEANFILES += grub_script_not
1747EXTRA_DIST +=
1748dist_noinst_DATA += tests/grub_script_not.in
1749check_SCRIPTS += grub_script_no_commands
1750TESTS += grub_script_no_commands
1751
1752grub_script_no_commands: $(top_builddir)/config.status tests/grub_script_no_commands.in
1753        (for x in tests/grub_script_no_commands.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1754        chmod a+x grub_script_no_commands
1755       
1756CLEANFILES += grub_script_no_commands
1757EXTRA_DIST +=
1758dist_noinst_DATA += tests/grub_script_no_commands.in
1759check_SCRIPTS += partmap_test
1760TESTS += partmap_test
1761
1762partmap_test: $(top_builddir)/config.status tests/partmap_test.in
1763        (for x in tests/partmap_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1764        chmod a+x partmap_test
1765       
1766CLEANFILES += partmap_test
1767EXTRA_DIST +=
1768dist_noinst_DATA += tests/partmap_test.in
1769check_SCRIPTS += hddboot_test
1770TESTS += hddboot_test
1771
1772hddboot_test: $(top_builddir)/config.status tests/hddboot_test.in
1773        (for x in tests/hddboot_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1774        chmod a+x hddboot_test
1775       
1776CLEANFILES += hddboot_test
1777EXTRA_DIST +=
1778dist_noinst_DATA += tests/hddboot_test.in
1779check_SCRIPTS += fddboot_test
1780TESTS += fddboot_test
1781
1782fddboot_test: $(top_builddir)/config.status tests/fddboot_test.in
1783        (for x in tests/fddboot_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1784        chmod a+x fddboot_test
1785       
1786CLEANFILES += fddboot_test
1787EXTRA_DIST +=
1788dist_noinst_DATA += tests/fddboot_test.in
1789check_SCRIPTS += cdboot_test
1790TESTS += cdboot_test
1791
1792cdboot_test: $(top_builddir)/config.status tests/cdboot_test.in
1793        (for x in tests/cdboot_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1794        chmod a+x cdboot_test
1795       
1796CLEANFILES += cdboot_test
1797EXTRA_DIST +=
1798dist_noinst_DATA += tests/cdboot_test.in
1799check_SCRIPTS += netboot_test
1800TESTS += netboot_test
1801
1802netboot_test: $(top_builddir)/config.status tests/netboot_test.in
1803        (for x in tests/netboot_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1804        chmod a+x netboot_test
1805       
1806CLEANFILES += netboot_test
1807EXTRA_DIST +=
1808dist_noinst_DATA += tests/netboot_test.in
1809check_SCRIPTS += pseries_test
1810TESTS += pseries_test
1811
1812pseries_test: $(top_builddir)/config.status tests/pseries_test.in
1813        (for x in tests/pseries_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1814        chmod a+x pseries_test
1815       
1816CLEANFILES += pseries_test
1817EXTRA_DIST +=
1818dist_noinst_DATA += tests/pseries_test.in
1819check_SCRIPTS += core_compress_test
1820TESTS += core_compress_test
1821
1822core_compress_test: $(top_builddir)/config.status tests/core_compress_test.in
1823        (for x in tests/core_compress_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1824        chmod a+x core_compress_test
1825       
1826CLEANFILES += core_compress_test
1827EXTRA_DIST +=
1828dist_noinst_DATA += tests/core_compress_test.in
1829check_SCRIPTS += xzcompress_test
1830TESTS += xzcompress_test
1831
1832xzcompress_test: $(top_builddir)/config.status tests/xzcompress_test.in
1833        (for x in tests/xzcompress_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1834        chmod a+x xzcompress_test
1835       
1836CLEANFILES += xzcompress_test
1837EXTRA_DIST +=
1838dist_noinst_DATA += tests/xzcompress_test.in
1839check_SCRIPTS += gzcompress_test
1840TESTS += gzcompress_test
1841
1842gzcompress_test: $(top_builddir)/config.status tests/gzcompress_test.in
1843        (for x in tests/gzcompress_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1844        chmod a+x gzcompress_test
1845       
1846CLEANFILES += gzcompress_test
1847EXTRA_DIST +=
1848dist_noinst_DATA += tests/gzcompress_test.in
1849check_SCRIPTS += lzocompress_test
1850TESTS += lzocompress_test
1851
1852lzocompress_test: $(top_builddir)/config.status tests/lzocompress_test.in
1853        (for x in tests/lzocompress_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1854        chmod a+x lzocompress_test
1855       
1856CLEANFILES += lzocompress_test
1857EXTRA_DIST +=
1858dist_noinst_DATA += tests/lzocompress_test.in
1859check_SCRIPTS += grub_cmd_echo
1860TESTS += grub_cmd_echo
1861
1862grub_cmd_echo: $(top_builddir)/config.status tests/grub_cmd_echo.in
1863        (for x in tests/grub_cmd_echo.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1864        chmod a+x grub_cmd_echo
1865       
1866CLEANFILES += grub_cmd_echo
1867EXTRA_DIST +=
1868dist_noinst_DATA += tests/grub_cmd_echo.in
1869check_SCRIPTS += help_test
1870TESTS += help_test
1871
1872help_test: $(top_builddir)/config.status tests/help_test.in
1873        (for x in tests/help_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1874        chmod a+x help_test
1875       
1876CLEANFILES += help_test
1877EXTRA_DIST +=
1878dist_noinst_DATA += tests/help_test.in
1879check_SCRIPTS += grub_script_gettext
1880TESTS += grub_script_gettext
1881
1882grub_script_gettext: $(top_builddir)/config.status tests/grub_script_gettext.in
1883        (for x in tests/grub_script_gettext.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1884        chmod a+x grub_script_gettext
1885       
1886CLEANFILES += grub_script_gettext
1887EXTRA_DIST +=
1888dist_noinst_DATA += tests/grub_script_gettext.in
1889check_SCRIPTS += grub_script_escape_comma
1890TESTS += grub_script_escape_comma
1891
1892grub_script_escape_comma: $(top_builddir)/config.status tests/grub_script_escape_comma.in
1893        (for x in tests/grub_script_escape_comma.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1894        chmod a+x grub_script_escape_comma
1895       
1896CLEANFILES += grub_script_escape_comma
1897EXTRA_DIST +=
1898dist_noinst_DATA += tests/grub_script_escape_comma.in
1899check_SCRIPTS += grub_script_strcmp
1900TESTS += grub_script_strcmp
1901
1902grub_script_strcmp: $(top_builddir)/config.status tests/grub_script_strcmp.in
1903        (for x in tests/grub_script_strcmp.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1904        chmod a+x grub_script_strcmp
1905       
1906CLEANFILES += grub_script_strcmp
1907EXTRA_DIST +=
1908dist_noinst_DATA += tests/grub_script_strcmp.in
1909check_SCRIPTS += test_sha512sum
1910TESTS += test_sha512sum
1911
1912test_sha512sum: $(top_builddir)/config.status tests/test_sha512sum.in
1913        (for x in tests/test_sha512sum.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1914        chmod a+x test_sha512sum
1915       
1916CLEANFILES += test_sha512sum
1917EXTRA_DIST +=
1918dist_noinst_DATA += tests/test_sha512sum.in
1919check_SCRIPTS += test_unset
1920TESTS += test_unset
1921
1922test_unset: $(top_builddir)/config.status tests/test_unset.in
1923        (for x in tests/test_unset.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1924        chmod a+x test_unset
1925       
1926CLEANFILES += test_unset
1927EXTRA_DIST +=
1928dist_noinst_DATA += tests/test_unset.in
1929check_SCRIPTS += grub_func_test
1930TESTS += grub_func_test
1931
1932grub_func_test: $(top_builddir)/config.status tests/grub_func_test.in
1933        (for x in tests/grub_func_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1934        chmod a+x grub_func_test
1935       
1936CLEANFILES += grub_func_test
1937EXTRA_DIST +=
1938dist_noinst_DATA += tests/grub_func_test.in
1939check_SCRIPTS += grub_cmd_tr
1940TESTS += grub_cmd_tr
1941
1942grub_cmd_tr: $(top_builddir)/config.status tests/grub_cmd_tr.in
1943        (for x in tests/grub_cmd_tr.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
1944        chmod a+x grub_cmd_tr
1945       
1946CLEANFILES += grub_cmd_tr
1947EXTRA_DIST +=
1948dist_noinst_DATA += tests/grub_cmd_tr.in
1949dist_grubconf_DATA += util/grub.d/README
1950dist_noinst_DATA +=
Note: See TracBrowser for help on using the repository browser.