summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/config.mk23
-rw-r--r--source4/nbt_server/wins/winsclient.c (renamed from source4/nbt_server/winsclient.c)0
-rw-r--r--source4/nbt_server/wins/winsdb.c (renamed from source4/nbt_server/winsdb.c)2
-rw-r--r--source4/nbt_server/wins/winsdb.h (renamed from source4/nbt_server/winsdb.h)0
-rw-r--r--source4/nbt_server/wins/winsserver.c (renamed from source4/nbt_server/winsserver.c)2
-rw-r--r--source4/nbt_server/wins/winswack.c (renamed from source4/nbt_server/winswack.c)2
6 files changed, 19 insertions, 10 deletions
diff --git a/source4/nbt_server/config.mk b/source4/nbt_server/config.mk
index 144a12e9e2..bda10b2deb 100644
--- a/source4/nbt_server/config.mk
+++ b/source4/nbt_server/config.mk
@@ -1,6 +1,19 @@
# NBTD server subsystem
#######################
+# Start SUBSYSTEM NBTD_WINS
+[SUBSYSTEM::NBTD_WINS]
+ADD_OBJ_FILES = \
+ nbt_server/wins/winsserver.o \
+ nbt_server/wins/winsclient.o \
+ nbt_server/wins/winsdb.o \
+ nbt_server/wins/winswack.o
+REQUIRED_SUBSYSTEMS = \
+ LIBCLI_NBT LIBCLI_WINS
+# End SUBSYSTEM NBTD_WINS
+#######################
+
+#######################
# Start SUBSYSTEM NBTD
[SUBSYSTEM::NBTD]
INIT_OBJ_FILES = \
@@ -10,13 +23,9 @@ ADD_OBJ_FILES = \
nbt_server/register.o \
nbt_server/query.o \
nbt_server/nodestatus.o \
- nbt_server/winsclient.o \
nbt_server/defense.o \
- nbt_server/packet.o \
- nbt_server/winsserver.o \
- nbt_server/winsdb.o \
- nbt_server/winswack.o
+ nbt_server/packet.o
REQUIRED_SUBSYSTEMS = \
- LIBCLI_NBT
-# End SUBSYSTEM SMB
+ LIBCLI_NBT NBTD_WINS
+# End SUBSYSTEM NBTD
#######################
diff --git a/source4/nbt_server/winsclient.c b/source4/nbt_server/wins/winsclient.c
index cfb68a3aaf..cfb68a3aaf 100644
--- a/source4/nbt_server/winsclient.c
+++ b/source4/nbt_server/wins/winsclient.c
diff --git a/source4/nbt_server/winsdb.c b/source4/nbt_server/wins/winsdb.c
index 66e84c668b..4b547bc644 100644
--- a/source4/nbt_server/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -22,7 +22,7 @@
#include "includes.h"
#include "nbt_server/nbt_server.h"
-#include "nbt_server/winsdb.h"
+#include "nbt_server/wins/winsdb.h"
#include "lib/ldb/include/ldb.h"
#include "db_wrap.h"
#include "system/time.h"
diff --git a/source4/nbt_server/winsdb.h b/source4/nbt_server/wins/winsdb.h
index 6d395461c6..6d395461c6 100644
--- a/source4/nbt_server/winsdb.h
+++ b/source4/nbt_server/wins/winsdb.h
diff --git a/source4/nbt_server/winsserver.c b/source4/nbt_server/wins/winsserver.c
index 6d8770431e..2212748777 100644
--- a/source4/nbt_server/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -22,7 +22,7 @@
#include "includes.h"
#include "nbt_server/nbt_server.h"
-#include "nbt_server/winsdb.h"
+#include "nbt_server/wins/winsdb.h"
#include "system/time.h"
/*
diff --git a/source4/nbt_server/winswack.c b/source4/nbt_server/wins/winswack.c
index da8efff8d9..8c7841d095 100644
--- a/source4/nbt_server/winswack.c
+++ b/source4/nbt_server/wins/winswack.c
@@ -22,7 +22,7 @@
#include "includes.h"
#include "nbt_server/nbt_server.h"
-#include "nbt_server/winsdb.h"
+#include "nbt_server/wins/winsdb.h"
#include "system/time.h"
struct wack_state {