configure: Use pkg-config to detect libiptc used by connmark/forecast
[strongswan.git] / src / libcharon / plugins / connmark / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libhydra \
4         -I$(top_srcdir)/src/libcharon
5
6 AM_CFLAGS = \
7         $(PLUGIN_CFLAGS) $(libiptc_CFLAGS)
8
9 if MONOLITHIC
10 noinst_LTLIBRARIES = libstrongswan-connmark.la
11 else
12 plugin_LTLIBRARIES = libstrongswan-connmark.la
13 endif
14
15 libstrongswan_connmark_la_SOURCES = \
16         connmark_listener.h connmark_listener.c \
17         connmark_plugin.h connmark_plugin.c
18
19 libstrongswan_connmark_la_LDFLAGS = -module -avoid-version
20 libstrongswan_connmark_la_LIBADD = $(libiptc_LIBS)