summaryrefslogtreecommitdiffstats
path: root/tinyIPSec/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tinyIPSec/Makefile.am')
-rw-r--r--tinyIPSec/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/tinyIPSec/Makefile.am b/tinyIPSec/Makefile.am
new file mode 100644
index 0000000..3bd6962
--- /dev/null
+++ b/tinyIPSec/Makefile.am
@@ -0,0 +1,19 @@
+lib_LTLIBRARIES = libtinyIPSec.la
+libtinyIPSec_la_LIBADD = ../tinySAK/libtinySAK.la
+libtinyIPSec_la_CPPFLAGS = -I../tinySAK/src -Isrc
+
+libtinyIPSec_la_SOURCES = \
+ src/tipsec.c
+
+# LDFLAGS
+libtinyIPSec_la_LDFLAGS = $LDFLAGS -no-undefined
+if TARGET_OS_IS_ANDROID
+libtinyIPSec_la_LDFLAGS += -static
+endif
+
+# Headers file to install
+libtinyIPSec_la_HEADERS = src/*.h
+libtinyIPSec_ladir = $(includedir)/tinyipsec
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = tinyIPSec.pc \ No newline at end of file
OpenPOWER on IntegriCloud