summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2011-11-15 11:06:20 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2011-11-15 12:41:44 (GMT)
commit44cbe333bb30d67463128b0fbd01d2c276142db2 (patch)
tree2b31fb511f184cbc2ff2ad629c8ce6aef5fa9f25 /Makefile.plugins
parent764b680c053650985b6f4424c0cdf75b3fbd42b3 (diff)
downloadconnman-44cbe333bb30d67463128b0fbd01d2c276142db2.zip
connman-44cbe333bb30d67463128b0fbd01d2c276142db2.tar.gz
connman-44cbe333bb30d67463128b0fbd01d2c276142db2.tar.bz2
l2tp: Add l2tp makefile and configure file
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index bb3a90b..64bd8e7 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -137,6 +137,24 @@ plugins_vpnc_la_LDFLAGS = $(plugin_ldflags)
endif
endif
+if L2TP
+if L2TP_BUILTIN
+builtin_modules += l2tp
+builtin_sources += plugins/l2tp.c
+builtin_vpn_sources = plugins/vpn.c plugins/vpn.h
+builtin_cflags += -DL2TP=\"@L2TP@\"
+else
+plugin_LTLIBRARIES += plugins/l2tp.la
+plugin_objects += $(plugins_l2tp_la_OBJECTS)
+plugins_l2tp_la_SOURCES = plugins/vpn.h plugins/vpn.c \
+ plugins/l2tp.c
+plugins_l2tp_la_CFLAGS = $(plugin_cflags) -DL2TP=\"@L2TP@\" \
+ -DSTATEDIR=\""$(statedir)"\" \
+ -DSCRIPTDIR=\""$(build_scriptdir)"\"
+plugins_l2tp_la_LDFLAGS = $(plugin_ldflags)
+endif
+endif
+
builtin_sources += $(builtin_vpn_sources)
if PACRUNNER