build-sys: add very basic configure.am and Makefile.am

Note that this commit removes the old Makefile.

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: check for libblkid

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add stuff for $ARCH

 - add m4/arch.m4 to setup ARCH_<NAME> automake conditionals
 - use "if ARCH_<NAME>" in build system rather than make ifeq

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add automake stuff for src/setup

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: initialize efi specific stuff

 - probe for gnu-efi headers
 - probe for gnu-efi libs and gnu-efi linker scripts
 - sets $CC for .efi compilation

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add automake stuff for src/efi

 - implemented by on automake independent build rules
 - uses automake _DATA for make install

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add tests to build system

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: move man page to section 8

Signed-off-by: Karel Zak <kzak@redhat.com>
replace a few tabs with spaces
remove stringify(), we have config.h now
build-sys: rename "test" to "qemu" to avoid clash with test/ dir
do not print NULL values in "dump"