route-manager/build: fix out-of-tree builds for route-manager tests

Fixes: 0659a67c8f
(cherry picked from commit ea0d0b3086)
This commit is contained in:
Thomas Haller 2015-02-27 17:15:39 +01:00 committed by Lubomir Rintel
parent c14d41377a
commit 154e14a681

View file

@ -46,24 +46,24 @@ test_ip6_config_LDADD = \
test_route_manager_fake_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_builddir)/src/platform/tests \
-I$(top_srcdir)/src/platform/tests \
-DSETUP=nm_fake_platform_setup \
-DKERNEL_HACKS=0
test_route_manager_fake_SOURCES = \
../platform/tests/test-common.c \
$(top_srcdir)/src/platform/tests/test-common.c \
test-route-manager.c
test_route_manager_fake_LDADD = \
$(top_builddir)/src/libNetworkManager.la
test_route_manager_linux_SOURCES = \
../platform/tests/test-common.c \
$(top_srcdir)/src/platform/tests/test-common.c \
test-route-manager.c
test_route_manager_linux_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_builddir)/src/platform/tests \
-I$(top_srcdir)/src/platform/tests \
-DSETUP=nm_linux_platform_setup \
-DKERNEL_HACKS=1