NetworkManager/libnm-util
Thomas Haller 22ef6a507a build: refine the NETWORKMANAGER_COMPILATION define
Note that:

 - we compile some source files multiple times. Most notably those
   under "shared/".

 - we include a default header "shared/nm-default.h" in every source
   file. This header is supposed to setup a common environment by defining
   and including parts that are commonly used. As we always include the
   same header, the header must behave differently depending
   one whether the compilation is for libnm-core, NetworkManager or
   libnm-glib. E.g. it must include <glib/gi18n.h> or <glib/gi18n-lib.h>
   depending on whether we compile a library or an application.

For that, the source files need the NETWORKMANAGER_COMPILATION #define
to behave accordingly.

Extend the define to be composed of flags. These flags are all named
NM_NETWORKMANAGER_COMPILATION_WITH_*, they indicate which part of the
build are available. E.g. when building libnm-core.la itself, then
WITH_LIBNM_CORE, WITH_LIBNM_CORE_INTERNAL, and WITH_LIBNM_CORE_PRIVATE
are available. When building NetworkManager, WITH_LIBNM_CORE_PRIVATE
is not available but the internal parts are still accessible. When
building nmcli, only WITH_LIBNM_CORE (the public part) is available.
This granularily controls the build.
2018-01-08 12:38:53 +01:00
..
tests build: refine the NETWORKMANAGER_COMPILATION define 2018-01-08 12:38:53 +01:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c crypto: don't try to decrypt PKCS#8 key if no password is supplied 2016-09-23 18:05:54 +02:00
crypto.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
crypto_gnutls.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
crypto_nss.c all: use "unsigned" instead of "unsigned int" 2017-03-14 11:26:29 +01:00
libnm-util.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-util.ver libnm-util: add non-failing versions of nm_connection_new_from_hash() and replace-settings 2016-03-29 11:56:27 +02:00
meson.build build: refine the NETWORKMANAGER_COMPILATION define 2018-01-08 12:38:53 +01:00
NetworkManager.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
NetworkManagerVPN.h dbus: remove the telepathy annotations 2016-04-05 14:37:51 +02:00
nm-connection.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-connection.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dbus-glib-types.h core: final gdbus porting 2015-08-10 09:41:26 -04:00
nm-gvaluearray-compat.h nm-glib: remove G_GNUC_EXTENSION 2016-06-17 12:25:15 +02:00
nm-param-spec-specialized.c build: don't link against libm.so 2017-03-23 19:06:02 +01:00
nm-param-spec-specialized.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-8021x.c all: fix typos in documentation and comments 2017-03-17 15:11:20 +01:00
nm-setting-8021x.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-adsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-adsl.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bluetooth.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bluetooth.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bond.c all: replace uses of inet_aton() and friends 2017-06-02 14:07:10 +02:00
nm-setting-bond.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge-port.c all: fix minor typos in settings docs 2017-07-03 21:23:27 +02:00
nm-setting-bridge-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bridge.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-cdma.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-cdma.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-connection.c all: fix typo 'entires' -> 'entries' 2017-05-05 19:14:19 +02:00
nm-setting-connection.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-dcb.c all: fix minor typos in settings docs 2017-07-03 21:23:27 +02:00
nm-setting-dcb.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-generic.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-generic.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-gsm.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-gsm.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-infiniband.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ip4-config.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ip4-config.h libnm-util: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
nm-setting-ip6-config.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ip6-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-olpc-mesh.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-olpc-mesh.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ppp.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
nm-setting-ppp.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-pppoe.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-pppoe.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-private.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-serial.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-serial.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-template.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-template.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-vlan.c all: fix typo 'entires' -> 'entries' 2017-05-05 19:14:19 +02:00
nm-setting-vlan.h vlan: (all) add VLAN MVRP flag 2015-10-27 17:17:05 +01:00
nm-setting-vpn.c libnm/vpn: fix secret comparison 2017-12-18 13:29:32 +01:00
nm-setting-vpn.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wimax.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-wimax.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wired.c all: fix minor typos in settings docs 2017-07-03 21:23:27 +02:00
nm-setting-wired.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless-security.c all: fix typos in documentation and comments 2017-03-17 15:11:20 +01:00
nm-setting-wireless-security.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wireless.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting.c all: avoid coverity warnings about "Wrong Check of Return Value" 2017-10-30 14:10:56 +01:00
nm-setting.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-utils-enum-types.c.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-utils-enum-types.h.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-utils-private.h all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-utils.c all: use _nm_utils_ip4_*() utils functions 2017-09-05 18:44:04 +02:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-value-transforms.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-version.h release: bump version to 1.9.0 (development) 2017-03-28 16:34:22 +02:00