summaryrefslogtreecommitdiff
path: root/src/libhydra/plugins/attr_sql/Makefile.am
blob: 7491debcd040aa04eb1fb78072c8bc10fd481f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra

AM_CFLAGS = \
	-rdynamic \
	-DPLUGINS=\""${pool_plugins}\""

if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-attr-sql.la
else
plugin_LTLIBRARIES = libstrongswan-attr-sql.la
endif

libstrongswan_attr_sql_la_SOURCES = \
	attr_sql_plugin.h attr_sql_plugin.c \
	sql_attribute.h sql_attribute.c

libstrongswan_attr_sql_la_LDFLAGS = -module -avoid-version

ipsec_PROGRAMS = pool
pool_SOURCES = pool.c pool_attributes.c pool_attributes.h \
			   pool_usage.h pool_usage.c
pool_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
			 $(top_builddir)/src/libhydra/libhydra.la
pool.o :	$(top_builddir)/config.status