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:
@@ -4,11 +4,12 @@ stroke_SOURCES = \
|
||||
stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
|
||||
|
||||
stroke_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
EXTRA_DIST = stroke_keywords.txt Android.mk
|
||||
BUILT_SOURCES = stroke_keywords.c
|
||||
MAINTAINERCLEANFILES = stroke_keywords.c
|
||||
AM_CFLAGS = -DIPSEC_PIDDIR=\"${piddir}\"
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-DIPSEC_PIDDIR=\"${piddir}\"
|
||||
|
||||
stroke_keywords.c: $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h
|
||||
$(AM_V_GEN) \
|
||||
|
||||
Reference in New Issue
Block a user