build: fix 'out-of-tree' build

Prefix include paths with '${srcdir}' to allow 'out-of-tree' builds:

  cd $BUILD
  $LIBISCSI/configure
  make

Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
Chris Zankel
2015-04-22 17:08:04 -07:00
parent ff61508aa7
commit e186169064
4 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
AM_CPPFLAGS = -I../include "-D_U_=__attribute__((unused))" \
AM_CPPFLAGS = -I${srcdir}/../include "-D_U_=__attribute__((unused))" \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
AM_CFLAGS = $(WARN_CFLAGS)
LDADD = ../lib/libiscsi.la