diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2011-11-15 13:06:20 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-11-15 13:41:44 +0100 |
commit | 44cbe333bb30d67463128b0fbd01d2c276142db2 (patch) | |
tree | 2b31fb511f184cbc2ff2ad629c8ce6aef5fa9f25 /Makefile.plugins | |
parent | 764b680c053650985b6f4424c0cdf75b3fbd42b3 (diff) | |
download | connman-44cbe333bb30d67463128b0fbd01d2c276142db2.tar.gz connman-44cbe333bb30d67463128b0fbd01d2c276142db2.tar.bz2 connman-44cbe333bb30d67463128b0fbd01d2c276142db2.zip |
l2tp: Add l2tp makefile and configure file
Diffstat (limited to 'Makefile.plugins')
-rw-r--r-- | Makefile.plugins | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index bb3a90be..64bd8e7a 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 |