Makefiles for porting of remotefs:
----------------------------------

Porting of remotefs to an other platform shall not be complicated.

The first step is to create the file remotefs/Makefiles/<OS>.mk
<OS> shall be the output from the command uname

This OS-specific file shall contain some flags needed for compiling
and linking. Look also at Linux.mk and / or SunOS.mk

You may also to add OS dependent includes into some files,
this was necessary within src/inet.h, dsignals_server.c and
server_handlers.c

Compiling with an alternative compiler:
---------------------------------------

You can use an other compiler as the default compiler if you
pass the variable ALTCC at the calling time of make e.g.

ALT=SunCC make
or
make ALT=SunCC

will compile the project using the settings set into the file
LinuxSunCC.mk (we assume that you compile on a Linux system).
The name of the specific include file is the concatenation of
the output of uname and the content of ALT.

Flags used my the makefiles:
----------------------------

CFLAGS_MAIN    CGLAGS passed by the main Makefile
CFLAGS_OS      OS/copiler specific CFLAGS
CFLAGS_FUSE    CFLAGS for FUSE
CFLAGS_DEBUG   Debug CFLAGS
CFLAGS_RELEASE Release CFLAGS
CFLAGS_OPTS    Options CFLAGS (see options.mk)

LDFLAGS_MAIN   LDFLAGS passed by the main Makefile
LDFLAGS_OS     OS/compiler specific LDFLAGS
LDFLAGS_FUSE   LDFLAGS for FUSE
LDFLAGS_NET    LDFLAGS for the network
LDFLAGS_PTHR   LDFLAGS for pthread if not set by LDFLAGS_FUSE
LDFLAGS_OPTS   Options LDFLAGS (see options.mk)

How the Makefiles works:
------------------------

The main Makefile include, depending of the OS and the variable ALT
the corresponding file within the directory Makefiles e.g. Linux.mk

The main Makefile launch for all TAGs "make -f Makefiles/base.mk <TAG>"
This allow to create without modifying the makefiles a debug or a
release verion of the binaries. Which flag are used is set within
the main Makefile and passed through the enviroment (variable DRF)

Refer also to the included files SunOS.mk / SunOSGcc.mk,
Linux.mk / LinuxSunCC.mk and FreeBSD.mk


