X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=cbc4c598a0b61fc30742c7ee11391e820d381c1a;hp=ae5ba41d83484288187607d7cdbfb4ab81a6b731;hb=002cdf48fee7a59d13865ea9848671b588e86daf;hpb=28d760b1542da7ff83b18c4ca60c2d03f327c2f4 diff --git a/Makefile.am b/Makefile.am index ae5ba41..cbc4c59 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,3 +15,27 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +SUBDIRS = src daemon examples + +EXTRA_DIST = make-initramfs.sh + +# Build the root filesystem. +# Currently this is arch-dependent, so it seems like putting it in +# $(libdir) is best. When we build cross-architecture filesystems we +# should probably move them to $(datadir). + +fsdir = $(libdir)/guestfs + +fs_DATA = initramfs.$(REPO).$(host_cpu).img vmlinuz.$(REPO).$(host_cpu) + +$(fs_DATA): make-initramfs.sh.in daemon/guestfsd + $(builddir)/make-initramfs.sh + +.PHONY: daemon/guestfsd + +# Make clean. + +CLEANFILES = $(fs_DATA) + +clean-local: + rm -rf initramfs