[network-manager-openconnect/lr/libnm: 9/9] fixup! properties: build separate libnm-based and libnm-glib-based plugins
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect/lr/libnm: 9/9] fixup! properties: build separate libnm-based and libnm-glib-based plugins
- Date: Sat, 15 Aug 2015 23:06:30 +0000 (UTC)
commit 320b099251fc492f30c4b9ba68da88c4da92f492
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Sat Aug 15 20:37:39 2015 +0200
fixup! properties: build separate libnm-based and libnm-glib-based plugins
find -name Makefile.am |xargs sed
's/libnm\(.\)\([^-_]*\).properties/libnm\1vpn\1plugin\1\2/;s/vpn.plugin\(.\)\([^-_]*\).old/\2\1properties/g;s/libnm\(.\)\([^-_]*\).common/libnm\1vpn\1plugin\1\2\1common/;s/vpn.plugin\(.\)\([^-_]*\).common.old/\2\1common/g'
-i *.name.in
nm-openconnect-service.name.in | 4 ++--
properties/Makefile.am | 24 ++++++++++++------------
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/nm-openconnect-service.name.in b/nm-openconnect-service.name.in
index db9bd61..1cc3c49 100644
--- a/nm-openconnect-service.name.in
+++ b/nm-openconnect-service.name.in
@@ -4,8 +4,8 @@ service=org.freedesktop.NetworkManager.openconnect
program= LIBEXECDIR@/nm-openconnect-service
[libnm]
-plugin= PLUGINDIR@/libnm-openconnect-properties
+plugin= PLUGINDIR@/libnm-vpn-plugin-openconnect
[GNOME]
auth-dialog= LIBEXECDIR@/nm-openconnect-auth-dialog
-properties= PLUGINDIR@/libnm-openconnect-properties-old
+properties= PLUGINDIR@/libnm-openconnect-properties
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 566b004..c0e3829 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -1,17 +1,17 @@
plugindir = $(libdir)/NetworkManager
-plugin_LTLIBRARIES = libnm-openconnect-properties.la
+plugin_LTLIBRARIES = libnm-vpn-plugin-openconnect.la
if WITH_LIBNM_GLIB
-plugin_LTLIBRARIES += libnm-openconnect-properties-old.la
+plugin_LTLIBRARIES += libnm-openconnect-properties.la
endif
-libnm_openconnect_properties_la_SOURCES = \
+libnm_vpn_plugin_openconnect_la_SOURCES = \
auth-helpers.c \
auth-helpers.h \
nm-openconnect.c \
nm-openconnect.h
-libnm_openconnect_properties_old_la_SOURCES = \
- $(libnm_openconnect_properties_la_SOURCES)
+libnm_openconnect_properties_la_SOURCES = \
+ $(libnm_vpn_plugin_openconnect_la_SOURCES)
uidir = $(datadir)/gnome-vpn-properties/openconnect
ui_DATA = nm-openconnect-dialog.ui
@@ -28,30 +28,30 @@ common_CFLAGS = \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DVERSION=\"$(VERSION)\"
-libnm_openconnect_properties_la_CFLAGS = \
+libnm_vpn_plugin_openconnect_la_CFLAGS = \
$(common_CFLAGS) \
$(LIBNM_CFLAGS)
-libnm_openconnect_properties_old_la_CFLAGS = \
+libnm_openconnect_properties_la_CFLAGS = \
-DNM_OPENCONNECT_OLD \
$(common_CFLAGS) \
$(LIBNM_GLIB_CFLAGS)
-libnm_openconnect_properties_la_LIBADD = \
+libnm_vpn_plugin_openconnect_la_LIBADD = \
$(GTK_LIBS) \
$(LIBNM_LIBS) \
$(OPENCONNECT_LIBS)
-libnm_openconnect_properties_old_la_LIBADD = \
+libnm_openconnect_properties_la_LIBADD = \
$(GTK_LIBS) \
$(LIBNM_GLIB_LIBS) \
$(OPENCONNECT_LIBS)
-libnm_openconnect_properties_la_LDFLAGS = \
+libnm_vpn_plugin_openconnect_la_LDFLAGS = \
-avoid-version
-libnm_openconnect_properties_old_la_LDFLAGS = \
- $(libnm_openconnect_properties_la_LDFLAGS)
+libnm_openconnect_properties_la_LDFLAGS = \
+ $(libnm_vpn_plugin_openconnect_la_LDFLAGS)
CLEANFILES = *.bak *~
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]