Use srcdir to find the includes for the build

From Yuri Stotski <Yuri.Stotski@dell.com>
We need to include files relative to srcdir or else they can not be found
when building from a different directory.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2017-02-17 21:41:26 -08:00
parent cd0dcb5dae
commit 383e6572d4

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