Previous: , Up: Writing servers   [Contents][Index]  3.2.3
Builtin servers  All of the servers listed in Existing servers
are builtin servers. The following sections describe in detail
how to setup a new builtin server type. This kind of server will
be part of the Serveez executable. That is why you should make
it configurable in the configure script via a ‘--enable-
xxxserver’ argument. Making and configuring preparations
Serveez is configured and built via automake and autoconf. That
is why you are not supposed to write your own Makefiles but
simplified Makefile.ams. Automake will automatically generate
dependencies and compiler/linker command lines. Here are the
steps you basically need to follow: Server header file foo-
proto.h  This file contains at least your server’s extern
declaration of your server definition which must be available
from the outside. The foo server implements all kinds of
configuration items which can be integers, integer arrays,
strings, string arrays, port configurations, booleans a