aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--build.mk5
-rw-r--r--src/mds-registry/mds-registry.c (renamed from src/mds-registry.c)0
-rw-r--r--src/mds-registry/mds-registry.h (renamed from src/mds-registry.h)2
4 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 50461c3..b068faa 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,10 @@ OBJ_mds-server = mds-server interception-condition client multicast \
queued-interception globals signals interceptors \
sending slavery reexec receiving
-OBJ_mds-server_ = $(foreach O,$(OBJ_mds-server),obj/mds-server/$(O).o)
+OBJ_mds-registry = mds-registry
+
+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)
diff --git a/build.mk b/build.mk
index 31a62ad..200b9a0 100644
--- a/build.mk
+++ b/build.mk
@@ -22,6 +22,11 @@ ifeq ($(DEBUG),y)
endif
+bin/mds-registry: $(OBJ_mds-registry_) obj/mds-base.o bin/libmdsserver.so
+ mkdir -p $(shell dirname $@)
+ $(CC) $(C_FLAGS) -o $@ $(LDS) $(LDS_mds-registry) $(OBJ_mds-registry_) obj/mds-base.o
+
+
# Link small servers.
bin/%: obj/%.o obj/mds-base.o bin/libmdsserver.so
diff --git a/src/mds-registry.c b/src/mds-registry/mds-registry.c
index b0c6962..b0c6962 100644
--- a/src/mds-registry.c
+++ b/src/mds-registry/mds-registry.c
diff --git a/src/mds-registry.h b/src/mds-registry/mds-registry.h
index 2f40f31..6f9355d 100644
--- a/src/mds-registry.h
+++ b/src/mds-registry/mds-registry.h
@@ -19,7 +19,7 @@
#define MDS_MDS_REGISTRY_H
-#include "mds-base.h"
+#include "../mds-base.h"
#include <stdint.h>