mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 12:50:17 +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.
37 lines
756 B
Makefile
37 lines
756 B
Makefile
if ENABLE_TESTS
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
-I${top_builddir}/include \
|
|
-I$(top_srcdir)/libnm-util \
|
|
-I$(top_builddir)/libnm-util \
|
|
-I$(top_srcdir)/callouts \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS)
|
|
|
|
noinst_PROGRAMS = \
|
|
test-dispatcher-envp
|
|
|
|
####### dispatcher envp #######
|
|
|
|
test_dispatcher_envp_SOURCES = \
|
|
test-dispatcher-envp.c
|
|
|
|
test_dispatcher_envp_LDADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/callouts/libtest-dispatcher-envp.la \
|
|
$(GLIB_LIBS) \
|
|
$(DBUS_LIBS)
|
|
|
|
###########################################
|
|
|
|
check-local: test-dispatcher-envp
|
|
$(abs_builddir)/test-dispatcher-envp $(abs_srcdir)
|
|
|
|
EXTRA_DIST= \
|
|
dispatcher-old-down \
|
|
dispatcher-old-up \
|
|
dispatcher-old-vpn-down \
|
|
dispatcher-old-vpn-up
|
|
|
|
endif
|