summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2015-12-24build: rename directory "include" to "shared"Thomas Haller1-2/+2
Up to now, the "include" directory contained (only) header files that were used project-wide by libs, core, clients, et al. Since the directory now also contains a non-header file, the "include" name is misleading. Instead of adding yet another directory that is project-wide, with non-header-only content, rename the "include" directory to "shared".
2015-08-10build: make libnm-util/libnm-glib optionalDan Winship1-4/+10
Add --without-libnm-glib, for people who don't want to build the legacy client libraries. When building with this option, dbus-glib and libdbus are not required.
2015-06-12settings: remove ifcfg-suse pluginBeniamino Galvani1-1/+0
After the hostname functionality has been moved from plugins to core, the ifcfg-suse plugin contains only boilerplate code with no actual functionality. Remove the plugin, mark it as deprecated in manual page and print a warning when it is selected in configuration file.
2015-06-03build: correctly set DISTCHECK_CONFIGURE_FLAGSLubomir Rintel1-3/+1
Fixes: 84021454eb0b126fda9cf29c46b7860f75c7ff8c
2015-06-02build: don't default to -WerrorLubomir Rintel1-1/+1
It seems like a poor default for various downstream toolchains. We can't anticipate the compiler warnings for future compiler versions and older ones are prone to false positives. Also, older gdbus-codegen is known to generate code that triggers compiler warnings. Let's keep it enabled for maintainer builds and distcheck so that we're sure a tool chain that builds releases without warnings exists.
2014-09-18libnm: port to GDBusDan Winship1-1/+1
Port libnm-core/libnm to GDBus. The NetworkManager daemon continues to use dbus-glib; the previously-added connection hash/variant conversion methods are now moved to NetworkManagerUtils (along with a few other utilities that are now only needed by the daemon code).
2014-08-17build: adjust `make cscope` paths for recent refactoringThomas Haller1-1/+1
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-01libnm: add libnm/libnm-core (part 2)Dan Winship1-0/+2
This fixes up the code from the previous "clean" import, and adds build infrastructure. [There are two slightly orthogonal sets of changes in this patch. First, the files added in the previous commit were modified as followed: # Replace internal references to "libnm-util" and "libnm-glib" with "libnm" perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] # Fix includes of the enum-types files perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch] perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch] # Fix some python example code perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c Then, the build infrastructure was added (without further modifying any existing files in libnm-core or libnm.) Note: to regenerate libnm.ver after rebase: (head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver ]
2014-07-30test: drop this directoryDan Winship1-1/+0
The remaining contents of the test/ directory are: - 2 python example programs that aren't as good as the ones in examples/ - a test of the deprecated libnm_glib API which isn't as good as the one in libnm-glib/ - A DHCP-related test program that hasn't been relevant since 2005 Let's just kill it all
2014-07-30clients: reorganize source tree, put all the installed clients togetherDan Winship1-2/+1
Create a new clients/ subdirectory at the top level, and move cli/ and tui/ into it, as well as nm-online.c (which was previously in test/, which made no sense). cli/ was split into two subdirectories, src/ and completion/. While this does simplify things (given that the completion file and the binary both need to be named "nmcli"), it bloats the source tree, and we can work around it by just renaming the completion file at install time. Then we can combine the two directories into one and just have it all under clients/cli/.
2014-07-15libgsystem: remove submodule libgsystemThomas Haller1-6/+0
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-27build: fix nm-setting-docs build in various configurationsDan Winship1-6/+5
Certain build configurations (like --enable-gtk-doc --disable-introspection) were broken with respect to nm-setting-docs. Fix this. Also, we don't require just gobject-introspection, we need pygobject specifically as well.
2014-06-19libnm-util: build nm-setting-docs.xml from gtk-doc and GParamSpecsDan Winship1-0/+11
Add generate-setting-docs.py, based on tools/generate-settings-spec.c, which generates a simple XML file describing all libnm setting properties (still getting the default values via GParamSpec introspection like generate-settings-spec.c does, but getting the documentation out of the gtk-doc strings in the GIR file instead).
2014-02-13build: improve our use of glib's version macros to catch more bugsDan Winship1-1/+1
We were setting GLIB_VERSION_MAX_ALLOWED to 2.34, since we provide reimplementations of a few 2.34 functions in nm-glib-compat.h. But this was turning off warnings for the 2.34+ APIs we *didn't* have compat versions of too. Fix this by setting MAX_ALLOWED to 2.32 (same as MIN_REQUIRED), and defining macros to wrap calls to compat-ified functions and disable deprecation warnings around them. This points out several places where we were accidentally using 2.34 APIs without noticing, which need to be fixed now.
2014-02-03build: drop the libndp submoduleDan Winship1-12/+1
libndp has existed for a while now. 1.0 was released six months ago. So drop the submodule and just require an installed package.
2013-12-13nmtui: initial import of nmtuiDan Winship1-0/+1
nmtui is a TUI (curses-based Text User Interface) for NetworkManager
2013-11-18build: fix for `make distcheck` without enable-gtk-docThomas Haller1-1/+1
Without this patch, the following fails with a rather obscure message about missing make target. ./autogen.sh && make && make distcheck ... *** No rule to make target `NetworkManager.8', needed by `distdir'. Stop. Swap the order of the subdirectories 'docs' and 'man' to build 'docs' earlier. This way, `make distcheck` fails in the directory 'docs' with a better error message: *** gtk-doc must be installed and enabled in order to make dist Also, add 'man/nmcli-examples.5' to the list of files, to determine whether to use the pre generated doc files. Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-07-24build: fix distcheck configure flagsDan Williams1-1/+2
Update the tests flag to the latest syntax, and make sure we don't run valgrind on distcheck for now, since new valgrind errors may show up when things like glib change.
2013-06-13build: allow building against system libndpDan Winship1-0/+2
2013-06-13build: don't install libndpDan Winship1-2/+11
2013-06-06rdisc: build libndp recursivelyPavel Šimerda1-0/+1
2013-05-16core: add libgsystem as a git submoduleColin Walters1-0/+7
And change src/main.c to use the local allocation macros. This results in much cleaner code, as one can see from the diff. Because libgsystem is designed for nonrecursive make, it fits best in the current recursive setup if we build . first. This will be a lot nicer when we switch NM to a nonrecursive setup.
2013-05-14build: always generate docs at dist time (bgo #700093)Dan Williams1-1/+1
dist tarballs shouldn't ever be released without the documentation, and this allows us to build the tarballs with pre-generated docs that get installed on the end system, but don't need to be built there. So the end system doesn't need gtk-doc installed, only the dist system does. https://bugzilla.gnome.org/show_bug.cgi?id=700093
2013-04-10valgrind: distribute valgrind.suppressionsPavel Šimerda1-1/+2
2013-03-12build: distribute autogen.shDan Williams1-1/+2
2013-02-19settings: add support for code coverage to the settings pluginsPavel Šimerda1-0/+2
Use: ./autogen.sh --enable-code-coverage make make -C src/settings check-code-coverage
2012-11-15build: don't write systemd unit file outside of prefixPavel Šimerda1-1/+0
2012-11-14build: fix plugin options for 'make distcheck'Pavel Šimerda1-4/+4
2012-11-13build: build with all plugins for 'make distcheck'Pavel Šimerda1-1/+5
2012-10-30distro: don't install initscriptsPavel Šimerda1-1/+0
It doesn't make much sense to install initscripts in current distributions. Most of them either don't use initscripts at all, locally patch the initscripts or supply their own. This allows us to eventually drop the --with-distro configure option. Many current distributions support multiple init systems and it doesn't make sense for upstream to make the choice for them. Distributors can still make their scripts copy one of the initscripts from the source tree if they wish so.
2012-06-12vala: add vala bindings for libnm-util and libnm-glibAlberto Ruiz1-1/+2
This patch adds the autotools facilities to generate vapi files so that libnm-util and libnm-glib can be consumed from Vala. It depends on vapigen and it is a soft dependency.
2012-02-29wifi: let WEXT be disabled with --with-wext=noDan Williams1-1/+2
It's still enabled by default if you don't pass --with-wext=no. But now it's possible to build without WEXT entirely.
2012-02-15Use glib-mkenums to generate enum typesDan Winship1-3/+5
Rather than generating enum classes by hand (and complaining in each file that "this should really be standard"), use glib-mkenums. Unfortunately, we need a very new version of glib-mkenums in order to deal with NM's naming conventions and to fix a few other bugs, so just import that into the source tree temporarily. Also, to simplify the use of glib-mkenums, import Makefile.glib from https://bugzilla.gnome.org/654395. To avoid having to run glib-mkenums for every subdirectory of src/, add a new "generated" directory, and put the generated enums files there. Finally, use Makefile.glib for marshallers too, and generate separate ones for libnm-glib and NetworkManager.
2011-11-14build: add "cscope" target to makefileThomas Graf1-0/+5
It builds cscope database, gets cleaned on "clean".
2011-04-11build: turn on warnings during distcheckDan Williams1-0/+1
Make sure we catch everything before generating a tarball for release.
2011-04-05build: let distcheck autoconfigure wimaxDan Williams1-2/+1
2011-02-23build: tell rebuilt makefiles about macro dir (bgo #640896)Dan Williams1-1/+2
2011-02-15settings: move system-settings/plugins => src/settings/pluginsDan Williams1-1/+0
2011-01-21introspection: add GObject introspection support (bgo #637032)Giovanni Campagna1-1/+2
Add the necessary annotations (the mininum required, that is those on return values. NULL parameters or container types may require more), and the Autotools stuff to get a NetworkManager GIR for libnm-util and a NMClient for libnm-glib.
2011-01-12core: build keyfile plugin into NetworkManagerDan Williams1-3/+3
Since settings storage is now handled by NetworkManager, we must have the ability to read/write all connection types at all times. Since the 'keyfile' plugin is the only plugin that can handle all connection types, build it into NetworkManager.
2010-08-12core: add systemd unit supportDan Williams1-1/+6
2010-02-25cli: add initial pieces of nmcliJirka Klimes1-0/+1
2010-02-18examples: add some python examplesDan Williams1-17/+17
2009-08-20core: require gioDan Williams1-4/+0
Which isn't a problem, since we already require glib-2.16 which includes gio. Thus, we can remove all the gfilemonitor compat stuff.
2009-08-05olpc: add mesh device logic and config settingDaniel Drake1-1/+1
2009-05-02Use m4/ macro directoryMichael Biebl1-0/+1
Keep the relevant m4 macros in-tree.
2009-02-15makefile cleanupsDan Williams1-41/+17
0.7 requires dbus 1.1 or greater (for system bus activation), so make that explicit, and remove compat code for D-Bus 0.6 and earlier. Consolidate the various glib pkgconfig checks into one, since most anything will require gthread, glib, and gobject anyway. Fixup the docs makefile to be more automake-compatible and let 'make clean' actually work correctly when docs are built.
2009-01-12keyfile: read MAC addresses and a test frameworkDan Williams1-1/+2
Clean up handling of "special" keys in keyfiles, ie ones that need more processing than the basic GKeyFile API supports. Add MAC address reading (writing support to come). Additionally, add some test bits for the keyfile plugin that get run on 'make check'.
2008-11-192008-11-19 Dan Williams <dcbw@redhat.com>Dan Williams1-1/+2
* configure.in Makefile.am docs/libnm-util/Makefile.am docs/libnm-util/libnm-util.types - Start to document libnm-util git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4302 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-122008-08-12 Tambet Ingo <tambet@gmail.com>Tambet Ingo1-0/+2
* Makefile.am: Fix distcheck. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3935 4912f4e0-d625-0410-9fb7-b9a5a253dbdc