diff options
author | Mohamed Abbas <mohamed.abbas@intel.com> | 2009-12-08 11:53:10 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-09 00:32:05 +0100 |
commit | a9df6fbb83f94f629913da48d8ea95342689f9c4 (patch) | |
tree | 7867f8e5fa6832997d7ee67cfcb60b8dd04ca09e /Makefile.plugins | |
parent | e9768ad4ed56fdc58a73d11f6ab612dbbabc87bf (diff) | |
download | connman-a9df6fbb83f94f629913da48d8ea95342689f9c4.tar.gz connman-a9df6fbb83f94f629913da48d8ea95342689f9c4.tar.bz2 connman-a9df6fbb83f94f629913da48d8ea95342689f9c4.zip |
Add OpenConnect provider plugin for AnyConnect VPN support
Diffstat (limited to 'Makefile.plugins')
-rw-r--r-- | Makefile.plugins | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index d774720f..052a24d6 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -151,6 +151,21 @@ plugins_resolvconf_la_LDFLAGS = $(plugin_ldflags) endif endif +if OPENCONNECT +if OPENCONNECT_BUILTIN +builtin_modules += openconnect +builtin_sources += plugins/openconnect.c +builtin_cflags += -DOPENCONNECT=\"@OPENCONNECT@\" +else +plugin_LTLIBRARIES += plugins/openconnect.la +plugin_objects += $(plugins_openconnect_la_OBJECTS) +plugins_openconnect_la_CFLAGS = $(plugin_cflags) -DOPENCONNECT=\"@OPENCONNECT@\" \ + -DSTATEDIR=\""$(statedir)"\" \ + -DSCRIPTDIR=\""$(build_scriptdir)"\" +plugins_openconnect_la_LDFLAGS = $(plugin_ldflags) +endif +endif + if DNSPROXY if DNSPROXY_BUILTIN builtin_modules += dnsproxy @@ -214,6 +229,12 @@ script_PROGRAMS += scripts/udhcpc-script scripts_udhcpc_script_LDADD = @DBUS_LIBS@ endif +if OPENCONNECT +script_PROGRAMS += scripts/openconnect-script + +scripts_openconnect_script_LDADD = @DBUS_LIBS@ +endif + if DHCLIENT script_DATA += scripts/dhclient.conf script_PROGRAMS += scripts/dhclient-script |