autotools: fix out-of-tree compilation
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 23 Jul 2013 11:22:01 +0000 (13:22 +0200)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Tue, 30 Jul 2013 13:35:10 +0000 (16:35 +0300)
commit89c896b8abdabe89ac6815757b285ac0473fedf1
treea1a11340a2294a3bed2da734f9306c6cdc017c81
parent72f8ee907562bc2fb9dd45d57cd4899de71ca7a0
autotools: fix out-of-tree compilation

Compiling with builddir != srcdir failed because
a) glib-mkenums did not find its input files when called
   outside of the srcdir.
b) The C files using the header files did not find them
   in the builddir, because they relied on include with double
   quotes.

Fixed with explicit $(srcdir) and -I.
src/common/Makefile.am
src/daemon/Makefile.am