aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-28 01:40:09 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-28 01:40:09 +0200
commita36fde37f2adf1579a13707cd64a369683e35ca6 (patch)
tree9bd7d06ce25b5a8278d4e4ae9f6fbdcf39ef5006 /Makefile
parentcompose table: also assume we have the basic modifiers (diff)
downloadmds-a36fde37f2adf1579a13707cd64a369683e35ca6.tar.gz
mds-a36fde37f2adf1579a13707cd64a369683e35ca6.tar.bz2
mds-a36fde37f2adf1579a13707cd64a369683e35ca6.tar.xz
mds-kbdc will need multiple .c files + .h files are not required during linking
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f599801..ea85be6 100644
--- a/Makefile
+++ b/Makefile
@@ -22,17 +22,22 @@ TOOLS = mds-kbdc
SETUID_SERVERS = mds mds-kkbd mds-vt
-
-OBJ_mds-server_ = mds-server interception-condition client multicast \
- queued-interception globals signals interceptors \
- sending slavery reexec receiving
+# Object files for multi-object file binaries.
+OBJ_mds-server_ = mds-server interception-condition client multicast \
+ queued-interception globals signals interceptors \
+ sending slavery reexec receiving
OBJ_mds-registry_ = mds-registry util globals reexec registry signals \
slave
-OBJ_mds-server = $(foreach O,$(OBJ_mds-server_),obj/mds-server/$(O).o)
-OBJ_mds-registry = $(foreach O,$(OBJ_mds-registry_),obj/mds-registry/$(O).o)
+OBJ_mds-kbdc_ = mds-kbdc
+
+OBJ_mds-server = $(foreach O,$(OBJ_mds-server_),obj/mds-server/$(O).o)
+OBJ_mds-registry = $(foreach O,$(OBJ_mds-registry_),obj/mds-registry/$(O).o)
+OBJ_mds-kbdc = $(foreach O,$(OBJ_mds-kbdc_),obj/mds-kbdc/$(O).o)
+
+# sed:ed .h-source file.
ifneq ($(LIBMDSSERVER_IS_INSTALLED),y)
SEDED = src/libmdsserver/config.h
else