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,3 +1,10 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I/usr/include/ClearSilver
|
||||
|
||||
AM_CFLAGS = \
|
||||
-rdynamic
|
||||
|
||||
ipseclib_LTLIBRARIES = libfast.la
|
||||
|
||||
libfast_la_SOURCES = \
|
||||
@@ -12,5 +19,3 @@ endif
|
||||
|
||||
libfast_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
-lfcgi $(clearsilver_LIBS) $(PTHREADLIB)
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I/usr/include/ClearSilver
|
||||
AM_CFLAGS = -rdynamic
|
||||
|
||||
Reference in New Issue
Block a user