automake: replace INCLUDES by AM_CPPFLAGS
INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I$(top_srcdir)/src/libtncif \
|
||||
-I$(top_srcdir)/src/libimcv \
|
||||
-I$(top_srcdir)/src/libpts
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libtncif \
|
||||
-I$(top_srcdir)/src/libimcv -I$(top_srcdir)/src/libpts
|
||||
|
||||
AM_CFLAGS = -rdynamic
|
||||
AM_CFLAGS = \
|
||||
-rdynamic
|
||||
|
||||
imcv_LTLIBRARIES = imc-attestation.la
|
||||
|
||||
@@ -15,4 +18,3 @@ imc_attestation_la_SOURCES = imc_attestation.c \
|
||||
imc_attestation_process.h imc_attestation_process.c
|
||||
|
||||
imc_attestation_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
|
||||
INCLUDES = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I$(top_srcdir)/src/libtncif \
|
||||
-I$(top_srcdir)/src/libimcv \
|
||||
-I$(top_srcdir)/src/libpts
|
||||
-I$(top_srcdir)/src/libpts \
|
||||
-DPLUGINS=\""${attest_plugins}\""
|
||||
|
||||
AM_CFLAGS = -rdynamic -DPLUGINS=\""${attest_plugins}\""
|
||||
AM_CFLAGS = \
|
||||
-rdynamic
|
||||
|
||||
imcv_LTLIBRARIES = imv-attestation.la
|
||||
|
||||
|
||||
Reference in New Issue
Block a user