summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-07-06 16:53:02 -0400
committerDan Winship <danw@gnome.org>2014-08-01 14:34:40 -0400
commitd0b05b34d5f1ad8f52a15fed48cc2c02d2251145 (patch)
tree66943c391845d6c8fb2b4a26524c6d46c17a8e15 /src/Makefile.am
parent3ddce74803c15db7a970c737e8d4c33fccccb558 (diff)
downloadNetworkManager-d0b05b34d5f1ad8f52a15fed48cc2c02d2251145.tar.gz
libnm: add NetworkManager.h, disallow including individual headers
Add NetworkManager.h, which includes all of the other NM header, and require all external users of libnm to use that rather than the individual headers. (An exception is made for nm-dbus-interface.h, nm-vpn-dbus-interface.h, and nm-version.h, which can be included separately.)
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 16e2620b30..f41d170eef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,6 +41,7 @@ AM_CPPFLAGS = \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/callouts \
-DG_LOG_DOMAIN=\""NetworkManager"\" \
+ -DNETWORKMANAGER_COMPILATION \
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE
# add each subdirectory that contains a libNM source file. $(sort) is being used