mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 09:30:16 +01:00
Use autoconf/automake variables for NetworkManager paths. Use NetworkManager subdirectory where appropriate. Files in /var/run (or /run on some distros) are moved into a separate directory as is usual with other daemons. It makes the filesystem more readable and file prefixing unnecessary. /var/run/NetworkManager.pid -> /var/run/NetworkManager/NetworkManager.pid /var/run/nm-dns-dnsmasq.pid -> /var/run/NetworkManager/dnsmasq.pid /var/run/nm-dns-dnsmasq.conf -> /var/run/NetworkManager/dnsmasq.conf The /var/run/NetworkManager directory is created at runtime, if it doesn't exist. Note: Path-based security policies like SELinux and AppArmor may need to be adapted.
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
INCLUDES = -I${top_srcdir} \
|
|
-I${top_srcdir}/libnm-util \
|
|
-I${top_builddir}/libnm-util \
|
|
-I${top_srcdir}/libnm-glib \
|
|
-I${top_srcdir}/include \
|
|
-I${top_builddir}/include
|
|
|
|
AM_CPPFLAGS = \
|
|
$(DBUS_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
-DBINDIR=\"$(bindir)\" \
|
|
-DDATADIR=\"$(datadir)\" \
|
|
-DNMLOCALEDIR=\"$(datadir)/locale\"
|
|
|
|
bin_PROGRAMS = nm-tool nm-online
|
|
|
|
noinst_PROGRAMS = libnm-glib-test
|
|
|
|
nm_tool_SOURCES = nm-tool.c
|
|
nm_tool_LDADD = \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
nm_online_SOURCES = nm-online.c
|
|
nm_online_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
libnm_glib_test_SOURCES = libnm-glib-test.c
|
|
libnm_glib_test_CFLAGS = \
|
|
-Wno-deprecated-declarations \
|
|
-Wno-deprecated
|
|
libnm_glib_test_LDADD = \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|