summaryrefslogtreecommitdiff
path: root/src/libfast/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfast/Makefile.am')
-rw-r--r--src/libfast/Makefile.am21
1 files changed, 17 insertions, 4 deletions
diff --git a/src/libfast/Makefile.am b/src/libfast/Makefile.am
index 35d102109..edc2ab1ca 100644
--- a/src/libfast/Makefile.am
+++ b/src/libfast/Makefile.am
@@ -1,8 +1,21 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src/libstrongswan \
+ -I/usr/include/ClearSilver
+
+AM_CFLAGS = \
+ -rdynamic
+
ipseclib_LTLIBRARIES = libfast.la
-libfast_la_SOURCES = context.h dispatcher.c request.h session.h \
- controller.h dispatcher.h request.c session.c filter.h smtp.c smtp.h
+libfast_la_SOURCES = \
+ fast_dispatcher.c fast_request.c fast_session.c fast_smtp.c
+
+if USE_DEV_HEADERS
+fast_includedir = ${dev_headers}/fast
+nobase_fast_include_HEADERS = \
+ fast_context.h fast_controller.h fast_dispatcher.h fast_filter.h \
+ fast_request.h fast_session.h fast_smtp.h
+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