summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-04-05 13:23:29 +0200
committerThomas Haller <thaller@redhat.com>2016-04-05 13:38:32 +0200
commite4c1699a83730adedf67e5720e5617d89103299b (patch)
treeeea1d56ee6d497f9819711adc8be916a19a4177a
parent30302d7157ec194b03ae3a4960ec9431d457c1b0 (diff)
downloadNetworkManager-e4c1699a83730adedf67e5720e5617d89103299b.tar.gz
build: reorder files for building platform
Build the sources in order so that files that depend on other files are build after the files they depend on.
-rw-r--r--src/Makefile.am28
-rw-r--r--src/platform/tests/Makefile.am5
2 files changed, 18 insertions, 15 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7909128eb1..799e8c479f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -315,16 +315,16 @@ libNetworkManager_la_SOURCES = \
\
platform/nmp-netns.c \
platform/nmp-netns.h \
- platform/nm-fake-platform.c \
- platform/nm-fake-platform.h \
- platform/nm-linux-platform.c \
- platform/nm-linux-platform.h \
- platform/nm-platform.c \
- platform/nm-platform.h \
- platform/nm-platform-utils.c \
- platform/nm-platform-utils.h \
platform/nmp-object.c \
platform/nmp-object.h \
+ platform/nm-platform-utils.c \
+ platform/nm-platform-utils.h \
+ platform/nm-platform.c \
+ platform/nm-platform.h \
+ platform/nm-linux-platform.c \
+ platform/nm-linux-platform.h \
+ platform/nm-fake-platform.c \
+ platform/nm-fake-platform.h \
platform/wifi/wifi-utils-nl80211.c \
platform/wifi/wifi-utils-nl80211.h \
platform/wifi/wifi-utils-private.h \
@@ -541,16 +541,16 @@ libnm_iface_helper_la_SOURCES = \
dhcp-manager/nm-dhcp-manager.c \
dhcp-manager/nm-dhcp-manager.h \
\
- platform/nm-linux-platform.c \
- platform/nm-linux-platform.h \
- platform/nm-platform.c \
- platform/nm-platform.h \
- platform/nm-platform-utils.c \
- platform/nm-platform-utils.h \
platform/nmp-netns.c \
platform/nmp-netns.h \
platform/nmp-object.c \
platform/nmp-object.h \
+ platform/nm-platform-utils.c \
+ platform/nm-platform-utils.h \
+ platform/nm-platform.c \
+ platform/nm-platform.h \
+ platform/nm-linux-platform.c \
+ platform/nm-linux-platform.h \
platform/wifi/wifi-utils-nl80211.c \
platform/wifi/wifi-utils-nl80211.h \
platform/wifi/wifi-utils-private.h \
diff --git a/src/platform/tests/Makefile.am b/src/platform/tests/Makefile.am
index b097fcf6b2..94b4e9dfeb 100644
--- a/src/platform/tests/Makefile.am
+++ b/src/platform/tests/Makefile.am
@@ -22,7 +22,10 @@ PLATFORM_SOURCES = \
../nm-platform.c \
../nm-fake-platform.c \
../nm-linux-platform.c
-TEST_SOURCES = $(PLATFORM_SOURCES) test-common.c test-common.h
+TEST_SOURCES = \
+ test-common.c \
+ test-common.h \
+ $(PLATFORM_SOURCES)
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
AM_LDFLAGS = $(GLIB_LIBS) $(GUDEV_LIBS) $(LIBNL_LIBS) $(CODE_COVERAGE_LDFLAGS)
PLATFORM_LDADD = \