summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-18 23:53:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:48 -0500
commitb0fc1bfbcbacc61350fdd6e96306fe49d7fc0d6f (patch)
tree08ab0e6ae2db12c696fa4d3e5c564850b041fd15
parent77701f6ca1b1e39d0f39612c5125d2f58d7630e1 (diff)
downloadsamba-b0fc1bfbcbacc61350fdd6e96306fe49d7fc0d6f.tar.gz
samba-b0fc1bfbcbacc61350fdd6e96306fe49d7fc0d6f.tar.bz2
samba-b0fc1bfbcbacc61350fdd6e96306fe49d7fc0d6f.zip
r5454: moved the WINS server code into its own directory
(This used to be commit 0bb997127fe6c49361d9f1eaeda5d9321601a52a)
-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 {