gurba-0.40/
gurba-0.40/bin/
gurba-0.40/lib/
gurba-0.40/lib/cmds/guild/fighter/
gurba-0.40/lib/cmds/monster/
gurba-0.40/lib/cmds/race/catfolk/
gurba-0.40/lib/cmds/race/dwarf/
gurba-0.40/lib/cmds/verb/
gurba-0.40/lib/daemons/data/
gurba-0.40/lib/data/boards/
gurba-0.40/lib/data/messages/
gurba-0.40/lib/data/players/
gurba-0.40/lib/design/
gurba-0.40/lib/domains/gurba/
gurba-0.40/lib/domains/gurba/guilds/fighter/
gurba-0.40/lib/domains/gurba/monsters/
gurba-0.40/lib/domains/gurba/objects/armor/
gurba-0.40/lib/domains/gurba/objects/clothing/
gurba-0.40/lib/domains/gurba/objects/weapons/
gurba-0.40/lib/domains/gurba/vendors/
gurba-0.40/lib/kernel/cmds/admin/
gurba-0.40/lib/kernel/daemons/
gurba-0.40/lib/kernel/include/
gurba-0.40/lib/kernel/lib/
gurba-0.40/lib/kernel/net/
gurba-0.40/lib/kernel/sys/
gurba-0.40/lib/logs/
gurba-0.40/lib/pub/
gurba-0.40/lib/std/modules/languages/
gurba-0.40/lib/std/races/
gurba-0.40/lib/std/races/monsters/
gurba-0.40/lib/wiz/fudge/
gurba-0.40/lib/wiz/spud/
gurba-0.40/src/host/beos/
gurba-0.40/src/host/pc/res/
gurba-0.40/src/kfun/
gurba-0.40/src/lpc/
gurba-0.40/src/parser/
gurba-0.40/tmp/
To compile DGD, you will have to set HOST in src/Makefile to the proper value:

NETBSD		NetBSD.  This is the default.
BSD386		FreeBSD or 386BSD.
LINUX		Linux.  Copy host/Makefile.sysv to host/Makefile.
SUNOS4		SunOS 4.x.  Copy src/host/Makefile.sun4 to src/host/Makefile.
SOLARIS		SunOS 5.x.  Copy src/host/Makefile.sysv to src/host/Makefile,
		and in src/Makefile also set LIBS to -lsocket -lnsl
DECALPHA	DEC Alpha.  Copy src/host/Makefile.sysv to src/host/Makefile.
WIN32		Windows NT or Windows 95.  Follow the instructions in
		src/host/pc/README.
MACOS		Mac System 6 or 7.  Follow the instructions in
		src/host/mac/README.
GENERIC_BSD	BSD Unix.
GENERIC_SYSV	SYSV Unix.  Copy src/host/Makefile.sysv to src/host/Makefile.

For other platforms, you can either try to use the closest of the above, or
add your own host support to the src/host.h file.  There are some systems
which are not supported directly yet, but for which porting is easy:

NeXT	use GENERIC_BSD, but in host/Makefile replace dirent.* by direct.*
ULTRIX	use GENERIC_BSD
AIX	use GENERIC_SYSV, but change the definitions of UCHAR and SCHAR to
	the versions in the HOST_WITH_UNSIGNED_CHAR entry in host.h (AIX
	characters are unsigned), also add #include <sys/select.h> to
	host/unix/connect.c

Things may become more difficult if you want to port DGD to a different
type of host.  If you want to do your own port and you need some advice,
contact me.

In general, platforms must meet the following requirements:

 - shorts should be 2 bytes wide
 - integers should be 4 bytes wide
 - longs should be at least as wide as pointers
 - all pointer types must be equally wide
 - two's complement should be used to represent negative numbers
 - the value of NULL must be 0.

For each port, one should only have to modify src/host.h, the makefiles and
files in the src/host directory.