mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 17:20:11 +01:00
Rework NMSetting structures: Move each setting to it's own file.
Convert to GObject. Remove home grown setting types and use
GTypes.
Use GObject property introspection for hash conversion,
enumerating
properties, etc.
* libnm-util/nm-setting-connection.[ch]
* libnm-util/nm-setting-ip4-config.[ch]
* libnm-util/nm-setting-ppp.[ch]
* libnm-util/nm-setting-vpn.[ch]
* libnm-util/nm-setting-vpn-properties.[ch]
* libnm-util/nm-setting-wired.[ch]
* libnm-util/nm-setting-wireless.[ch]
* libnm-util/nm-setting-wireless-security.[ch]
New files, each containing a setting.
* libnm-util/nm-setting-template.[ch]: A template for creating
* new
settings. To use it, just replace 'template' with the new
setting
name, and you're half-way done.
* libnm-util/nm-setting.c: Convert to GObject and use GObject
introspection instead of internal types and tables.
* libnm-util/nm-connection.c: Adapt the new NMSetting work.
* libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
GValue types defined by dbus-glib for composed types like
collections,
structures and maps.
* src/*: The API of NMSetting and NMConnection changed a bit:
* Getting
a setting from connection takes the setting type now. Also,
since
the settings are in multiple files, include relevant settings.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3068 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
INCLUDES = -I${top_srcdir} -I${top_srcdir}/include
|
|
|
|
lib_LTLIBRARIES=libnm-util.la
|
|
|
|
libnm_util_la_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DDBUS_API_SUBJECT_TO_CHANGE \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGNOME_DISABLE_DEPRECATED \
|
|
-DGNOMELOCALEDIR=\"$(datadir)/locale\"
|
|
|
|
libnm_util_include_HEADERS = \
|
|
nm-connection.h \
|
|
nm-param-spec-specialized.h \
|
|
nm-setting.h \
|
|
nm-setting-connection.h \
|
|
nm-setting-ip4-config.h \
|
|
nm-setting-ppp.h \
|
|
nm-setting-wired.h \
|
|
nm-setting-wireless.h \
|
|
nm-setting-wireless-security.h \
|
|
nm-setting-vpn.h \
|
|
nm-setting-vpn-properties.h \
|
|
nm-utils.h
|
|
|
|
libnm_util_la_SOURCES= \
|
|
nm-connection.c \
|
|
nm-param-spec-specialized.c \
|
|
nm-setting.c \
|
|
nm-setting-connection.c \
|
|
nm-setting-ip4-config.c \
|
|
nm-setting-ppp.c \
|
|
nm-setting-wired.c \
|
|
nm-setting-wireless.c \
|
|
nm-setting-wireless-security.c \
|
|
nm-setting-vpn.c \
|
|
nm-setting-vpn-properties.c \
|
|
nm-utils.c \
|
|
$(libnm_util_include_HEADERS)
|
|
|
|
libnm_util_la_LDFLAGS= $(GLIB_LIBS) $(DBUS_LIBS)
|
|
|
|
libnm_util_la_CFLAGS=-fPIC
|
|
|
|
libnm_util_includedir=$(includedir)/NetworkManager
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = libnm-util.pc
|
|
|
|
DISTCLEANFILES = libnm-util.pc
|
|
|
|
EXTRA_DIST = libnm-util.pc.in
|