add win32 files to dist
This commit is contained in:
parent
1175172e56
commit
f389c6ed4e
8 changed files with 115 additions and 5 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -12,4 +12,4 @@
|
|||
/floodservhelp.c -text
|
||||
/install-sh -text
|
||||
/modconfig.h.in -text
|
||||
/win32modconfig.h -text
|
||||
/modconfigwin32.h -text
|
||||
|
|
|
@ -14,7 +14,7 @@ TARGET = floodserv.so
|
|||
DOCS = README.FloodServ
|
||||
DATA =
|
||||
SCRIPTS =
|
||||
DISTFILES = $(SRCS) $(DOCS) modconfig.h.in configure install-sh ChangeLog Makefile.in floodserv.h RELNOTES
|
||||
DISTFILES = $(SRCS) $(DOCS) modconfig.h.in configure install-sh ChangeLog Makefile.in floodserv.h LICENSE RELNOTES floodserv.vcproj modconfigwin32.h
|
||||
DISTDIR = @PACKAGE@-@VERSION@
|
||||
|
||||
all: module
|
||||
|
@ -33,7 +33,10 @@ module: $(OBJS)
|
|||
$(LD) -shared -o $(TARGET) $(OBJS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
/bin/rm -rf $(TARGET) *.o Makefile *.log modconfig.h
|
||||
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h
|
||||
|
||||
distclean:
|
||||
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h config.status configure.scan
|
||||
|
||||
install: module
|
||||
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)
|
||||
|
|
|
@ -1,2 +1,98 @@
|
|||
|
||||
FloodServ Manual
|
||||
|
||||
1. Installing and configuring FloodServ
|
||||
---------------------------------------
|
||||
|
||||
This section explains how to install and configure FloodServ. We
|
||||
recommend that you read this section in full before trying to install
|
||||
FloodServ.
|
||||
|
||||
If you have any problems NOT addressed in this or other documents,
|
||||
please see the Support section for how to contact us for help.
|
||||
|
||||
|
||||
1.1 General notes
|
||||
-----------------
|
||||
|
||||
All commands and filenames are case sensitive. This means that
|
||||
NeoStats, floodserv, and FLOODSERV are all different things. When
|
||||
typing commands you should use the same case as provided in this
|
||||
file or things will not work correctly.
|
||||
|
||||
|
||||
1.2 Getting Started
|
||||
-------------------
|
||||
|
||||
First, you need to uncompress FloodServ. To do this type the following:
|
||||
|
||||
tar xvfz FloodServ3.0.x.tar.gz
|
||||
|
||||
This will vary depending on the version you run of FloodServ. Change the
|
||||
x in FloodServ3.0.x.tar.gz to match your filename e.g.
|
||||
|
||||
FloodServ3.0.0.tar.gz
|
||||
|
||||
For systems that don't run a new version of tar you need to do this:
|
||||
|
||||
gzip -d FloodServ3.0.x.tar.gz
|
||||
tar xvf FloodServ3.0.x.tar
|
||||
|
||||
1.3 Running configure
|
||||
---------------------
|
||||
|
||||
You must first run the configure script so that FloodServ can determine
|
||||
your build environment.
|
||||
|
||||
To run configure, you must first change to the directory where you
|
||||
uncompressed FloodServ. e.g.
|
||||
|
||||
cd ~/FloodServ3.0.0
|
||||
|
||||
Your prompt should look something like:
|
||||
|
||||
[user@host FloodServ3.0.0]
|
||||
|
||||
Now type:
|
||||
|
||||
./configure
|
||||
|
||||
The configure script will then check to see if all necessary programs to
|
||||
run FloodServ are installed on your system.
|
||||
|
||||
Optional settings:
|
||||
------------------
|
||||
|
||||
There are some options you can pass to configure if you wish.
|
||||
|
||||
Debugging:
|
||||
|
||||
Most users will never look at this option. It compiles FloodServ
|
||||
with debugging turned on. I would only suggest using this if you
|
||||
have problems and are about to fill out a bug form.
|
||||
|
||||
--enable-debug Enables Debugging
|
||||
|
||||
|
||||
1.4 Compiling FloodServ
|
||||
-----------------------
|
||||
|
||||
Ok, you should now be back at a shell prompt, type:
|
||||
|
||||
make
|
||||
|
||||
it will go through the source and compile it into an executable
|
||||
binary file.
|
||||
|
||||
|
||||
1.5 Installing FloodServ
|
||||
------------------------
|
||||
|
||||
To install FloodServ type:
|
||||
|
||||
make install
|
||||
|
||||
This will create the necessary files, and copy them to the
|
||||
installation directory.
|
||||
|
||||
|
||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -1273,6 +1273,10 @@ cat >>confdefs.h <<_ACEOF
|
|||
#define MODULE_MINOR "$MODULE_MINOR"
|
||||
_ACEOF
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define MODULE_REV "$MODULE_REV"
|
||||
_ACEOF
|
||||
|
||||
DIRINST=~/NeoStats3.0/
|
||||
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
|
|
|
@ -10,6 +10,7 @@ VERSION=$MODULE_MAJOR.$MODULE_MINOR.$MODULE_REV
|
|||
AC_DEFINE_UNQUOTED(MODULE_VERSION, "$VERSION")
|
||||
AC_DEFINE_UNQUOTED(MODULE_MAJOR, "$MODULE_MAJOR")
|
||||
AC_DEFINE_UNQUOTED(MODULE_MINOR, "$MODULE_MINOR")
|
||||
AC_DEFINE_UNQUOTED(MODULE_REV, "$MODULE_REV")
|
||||
DIRINST=~/NeoStats3.0/
|
||||
AC_PREFIX_DEFAULT(~/NeoStats3.0/)
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
RelativePath=".\floodserv.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\win32modconfig.h">
|
||||
RelativePath=".\modconfigwin32.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
|
|
|
@ -9,3 +9,6 @@
|
|||
|
||||
/* Minor Version */
|
||||
#undef MODULE_MINOR
|
||||
|
||||
/* Revision */
|
||||
#undef MODULE_REV
|
||||
|
|
|
@ -3,10 +3,13 @@
|
|||
/* #undef DEBUG */
|
||||
|
||||
/* Version number of package */
|
||||
#define MODULE_VERSION "3.0"
|
||||
#define MODULE_VERSION "3.0.a1"
|
||||
|
||||
/* Major Version */
|
||||
#define MODULE_MAJOR "3"
|
||||
|
||||
/* Minor Version */
|
||||
#define MODULE_MINOR "0"
|
||||
|
||||
/* Revision */
|
||||
#define MODULE_REV "a1"
|
Reference in a new issue