mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 09:30:16 +01:00
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.
41 lines
1,011 B
Makefile
41 lines
1,011 B
Makefile
INCLUDES = -I${top_srcdir} \
|
|
-I${top_srcdir}/libnm-util \
|
|
-I${top_srcdir}/libnm-glib \
|
|
-I${top_srcdir}/gnome/libnm_glib \
|
|
-I${top_srcdir}/include
|
|
|
|
AM_CPPFLAGS = \
|
|
$(DBUS_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
$(HAL_CFLAGS) \
|
|
-DDBUS_API_SUBJECT_TO_CHANGE \
|
|
-DBINDIR=\"$(bindir)\" \
|
|
-DNM_RUN_DIR=\"$(rundir)\" \
|
|
-DDATADIR=\"$(datadir)\"
|
|
|
|
bin_PROGRAMS = nm-tool
|
|
|
|
noinst_PROGRAMS = nm-online libnm_glib_test
|
|
|
|
nm_tool_SOURCES = nm-tool.c
|
|
nm_tool_LDADD = \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS) \
|
|
$(HAL_LIBS) \
|
|
$(top_builddir)/libnm-glib/libnm_glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la
|
|
|
|
nm_online_SOURCES = nm-online.c
|
|
nm_online_LDADD = \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS) \
|
|
$(HAL_LIBS) \
|
|
$(top_builddir)/libnm-util/libnm-util.la
|
|
|
|
libnm_glib_test_SOURCES = libnm_glib_test.c
|
|
libnm_glib_test_LDADD = \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS) \
|
|
$(top_builddir)/libnm-glib/libnm_glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la
|
|
|