mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 22:40:06 +01:00
Unfortunately, $(AM_CPPFLAGS) gets overridden by per-target _CPPFLAGS variables, which $(INCLUDES) did not, so this requires some additional changes. In most places, I have just gotten rid of the per-target _CPPFLAGS variables; in directories with a single target, the per-target variable is unnecessary, and in directories with multiple targets, the per-target variable is often undesirable, since it forces some files to be compiled twice, even though there ends up being no difference between the two files.
83 lines
2.3 KiB
Makefile
83 lines
2.3 KiB
Makefile
AM_CPPFLAGS = \
|
|
-I${top_srcdir}/libnm-util \
|
|
-I${top_builddir}/libnm-util \
|
|
-I${top_srcdir}/libnm-glib \
|
|
-I${top_srcdir}/include \
|
|
-I${top_builddir}/include \
|
|
$(DBUS_CFLAGS) \
|
|
$(GLIB_CFLAGS)
|
|
|
|
noinst_PROGRAMS = \
|
|
add-connection-dbus-glib \
|
|
add-connection-libnm-glib \
|
|
get-active-connections-dbus-glib \
|
|
list-connections-dbus-glib \
|
|
list-connections-libnm-glib \
|
|
get-ap-info-libnm-glib \
|
|
monitor-nm-running-dbus-glib \
|
|
monitor-nm-running-GDBus \
|
|
monitor-nm-state-GDBus
|
|
|
|
add_connection_dbus_glib_SOURCES = add-connection-dbus-glib.c
|
|
add_connection_dbus_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
add_connection_libnm_glib_SOURCES = add-connection-libnm-glib.c
|
|
add_connection_libnm_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
get_active_connections_dbus_glib_SOURCES = get-active-connections-dbus-glib.c
|
|
get_active_connections_dbus_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
list_connections_dbus_glib_SOURCES = list-connections-dbus-glib.c
|
|
list_connections_dbus_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
list_connections_libnm_glib_SOURCES = list-connections-libnm-glib.c
|
|
list_connections_libnm_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
get_ap_info_libnm_glib_SOURCES = get-ap-info-libnm-glib.c
|
|
get_ap_info_libnm_glib_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
monitor_nm_running_dbus_glib_SOURCES = monitor-nm-running-dbus-glib.c
|
|
monitor_nm_running_dbus_glib_LDADD = \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
monitor_nm_running_GDBus_SOURCES = monitor-nm-running-GDBus.c
|
|
monitor_nm_running_GDBus_LDADD = \
|
|
$(GLIB_LIBS)
|
|
|
|
monitor_nm_state_GDBus_SOURCES = monitor-nm-state-GDBus.c
|
|
monitor_nm_state_GDBus_LDADD = \
|
|
$(GLIB_LIBS)
|
|
|
|
EXTRA_DIST = \
|
|
add-connection-dbus-glib.c \
|
|
add-connection-libnm-glib.c \
|
|
get-active-connections-dbus-glib.c \
|
|
list-connections-dbus-glib.c \
|
|
list-connections-libnm-glib.c \
|
|
get-ap-info-libnm-glib.c \
|
|
monitor-nm-running-dbus-glib.c \
|
|
monitor-nm-running-GDBus.c \
|
|
monitor-nm-state-GDBus.c
|
|
|