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.
This commit is contained in:
Thomas Haller 2016-04-05 13:23:29 +02:00
parent 30302d7157
commit e4c1699a83
2 changed files with 18 additions and 15 deletions

View file

@ -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 \

View file

@ -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 = \