Update of /cvsroot/netrek/server/Vanilla
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv693

Modified Files:
	ChangeLog Makefile.in NEWS PROJECTS 
Log Message:
libnetrek.a

Index: Makefile.in
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/Makefile.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile.in	22 Apr 2006 02:16:44 -0000	1.9
+++ Makefile.in	22 Apr 2006 11:31:52 -0000	1.10
@@ -14,9 +14,17 @@
 
 include $(CONFIG)
 
-.PHONY: rmdependencies clean reallyclean install installbin server utils startup rsa_utils do_xsg do_pledit do_robots do_gum
+.PHONY: rmdependencies clean reallyclean install installbin \
+	do_library do_server do_listener do_robots do_robotd \
+	do_utilities do_rsa_utilities do_xsg do_pledit do_gum
 
-all: null $(PMAKE) server utils startup rsa_utils do_xsg do_pledit do_robots do_robotd @GUM@
+all: null $(PMAKE) \
+	do_library do_server do_listener do_robots do_robotd \
+	do_utilities do_rsa_utilities do_xsg do_pledit @GUM@
+
+minimal: null $(PMAKE) \
+	do_library do_server do_listener do_robots do_robotd \
+	do_utilities do_rsa_utilities 
 
 depend: system.mk
 	cd ntserv;    $(MAKE) depend
@@ -46,38 +54,40 @@
 config.h: system.mk
 	touch config.h
 
-# make the server binaries and such
-server: null rsalib
+do_library: null
+	cd ntserv; $(MAKE) libnetrek.a
+
+do_server: null do_rsa_library
 	cd ntserv; $(MAKE)
 
-do_robots:
+do_robots: do_library
 	cd robots; $(MAKE)
 
 do_robotd: 
 	cd robotd; $(MAKE)
 
-do_gum: 
+do_gum: do_library
 	cd gum; $(MAKE)
 
-do_xsg:
+do_xsg: do_library
 	cd xsg; $(MAKE);
 
-do_pledit:
+do_pledit: do_library
 	cd pledit; $(MAKE) 
 
-rsalib:	
+do_rsa_library:	
 	- at if [ -f res-rsa/Makefile ]; then \
 		(cd res-rsa; $(MAKE) librsa.a) \
 	fi
 
-utils: rsalib
+do_utilities: do_rsa_library do_library
 	cd tools; $(MAKE) 
 	cd sequencer; $(MAKE)
 
-rsa_utils: 
+do_rsa_utilities: do_library
 	cd keycomp; $(MAKE)
 
-startup: 
+do_listener: do_library
 	cd newstartd; $(MAKE)
 
 cflags.h: Makefile $(CONFIG)

Index: NEWS
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/NEWS,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- NEWS	22 Apr 2006 02:16:45 -0000	1.14
+++ NEWS	22 Apr 2006 11:31:52 -0000	1.15
@@ -1,3 +1,6 @@
+- move common code into a libnetrek [Cameron]
+- lesser lights minimal compilation target [Cameron]
+- factorise god log access functions [Cameron]
 - fix valgrind detected heap leaks [Cameron]
 - compilation fixes for GCC 4.0.3 [Cameron]
 - remove some crud from tar.gz [Cameron]

Index: PROJECTS
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/PROJECTS,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- PROJECTS	22 Apr 2006 02:16:45 -0000	1.7
+++ PROJECTS	22 Apr 2006 11:31:52 -0000	1.8
@@ -140,10 +140,6 @@
 	- observers, allow them to have a ship of their own that is ineffective
 	  and invisible to others.
 
-	- special compile mode for lesser lights trying to build an INL server
-	  that avoids trying to compile xsg or pledit, and perhaps a few other
-	  things, suggested by Tom Holub [VANILLA-LIST:2566]
-
 	- pledit should be able to edit entries in place online.
 
 	- god's text client, displays messages to god and all, and allows

Index: ChangeLog
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ChangeLog	22 Apr 2006 02:16:42 -0000	1.24
+++ ChangeLog	22 Apr 2006 11:31:52 -0000	1.25
@@ -1,3 +1,26 @@
+Sat Apr 22 19:01:51 2006  James Cameron  <quozl at us.netrek.org>
+
+	* xsg/Makefile.in: remove use of data.c in favour of already
+	existing localdata.c
+
+	* Makefile.in (minimal): add new rule for build with minimal
+	dependencies, so as to get a server running quickly.  Rename
+	component targets to make it clearer to new users.
+
+	* */Makefile.in: create libnetrek to hold common code in ntserv,
+	remove excess compiler include directives.
+	
+	* ntserv/enter.c, ntserv/interface.c, robots/roboshar.c: remove
+	robot specific compilation of some ntserv source in favour of a
+	null callback entry point.
+
+	* glog.c, socket.c, commands.c, gencmds.c: factorise god log
+	access, due to valgrind detected file descriptor left open after
+	exit.
+
+	* ntserv/socket.c (clientVersion): remove superfluous NULL
+	termination of string returned by strdup().
+
 Sat Apr 22 12:07:50 2006  James Cameron  <quozl at us.netrek.org>
 
 	* Makefile.in (dist): avoid certain CVS files.