From 8e69bd8a6cbe632f247cf3551b8ae152c943f564 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Mon, 18 Sep 2017 16:02:19 +0930 Subject: [PATCH] Set Makefile ALL_SOURCES in sourcefiles.mk So that anyone re-organising sourcefiles.mk is more likely to update ALL_SOURCES as well. --- Makefile.in | 10 ---------- sourcefiles.mk | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile.in b/Makefile.in index d093e770..d0fd2dbb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,16 +18,6 @@ OBJSDIR_TOOLS = objs OBJSDIRS = $(OBJSDIR_SERVALD) $(OBJSDIR_LIB) $(OBJSDIR_TOOLS) -ALL_SOURCES = \ - $(SERVAL_CLIENT_SOURCES) \ - $(MDP_CLIENT_SOURCES) \ - $(SERVAL_DAEMON_SOURCES) \ - $(SERVAL_DAEMON_JNI_SOURCES) \ - $(MONITOR_CLIENT_SRCS) \ - $(CLIENT_ONLY_SOURCES) \ - $(SIMULATOR_SOURCES) \ - $(SQLITE3_SOURCES) - SERVAL_DAEMON_OBJS = \ $(addprefix $(OBJSDIR_SERVALD)/, $(SERVAL_CLIENT_SOURCES:.c=.o)) \ $(addprefix $(OBJSDIR_SERVALD)/, $(MDP_CLIENT_SOURCES:.c=.o)) \ diff --git a/sourcefiles.mk b/sourcefiles.mk index 22d279bf..5b5c9431 100644 --- a/sourcefiles.mk +++ b/sourcefiles.mk @@ -147,3 +147,14 @@ CLIENT_ONLY_SOURCES = \ ANDROID_SOURCES = \ android.c + +ALL_SOURCES = \ + $(SERVAL_CLIENT_SOURCES) \ + $(MDP_CLIENT_SOURCES) \ + $(SQLITE3_SOURCES) \ + $(SERVAL_DAEMON_SOURCES) \ + $(SERVAL_DAEMON_JNI_SOURCES) \ + $(SIMULATOR_SOURCES) \ + $(MONITOR_CLIENT_SRCS) \ + $(CLIENT_ONLY_SOURCES) \ + $(ANDROID_SOURCES)