Autoconf YahtzeeServ
This commit is contained in:
parent
d5ec11cf5b
commit
e802c435b4
10 changed files with 16498 additions and 1950 deletions
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -3,12 +3,12 @@
|
|||
/COPYING -text
|
||||
/ChangeLog -text
|
||||
/LICENSE -text
|
||||
/Makefile.am -text
|
||||
/Makefile.in -text
|
||||
/NEWS -text
|
||||
/README.YahtzeeServ -text
|
||||
/README.YahtzeeServ.html -text
|
||||
/README.YahtzeeServ.xml -text
|
||||
/RELNOTES -text
|
||||
/aclocal.m4 -text
|
||||
/channel.c -text
|
||||
/configure -text
|
||||
/configure.in -text
|
||||
|
|
17
Makefile.am
Normal file
17
Makefile.am
Normal file
|
@ -0,0 +1,17 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I autotools
|
||||
AM_MAKEFLAGS = -s
|
||||
|
||||
pkglib_LTLIBRARIES = yahtzeeserv.la
|
||||
yahtzeeserv_la_SOURCES = channel.c htmlscores.c play.c yahtzeeserv_help.c \
|
||||
highscores.c misc.c yahtzeeserv.c
|
||||
noinst_HEADERS = yahtzeeserv.h
|
||||
|
||||
yahtzeeserv_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
EXTRA_DIST = autotools/ccdv.c autotools/shtool RELNOTES
|
||||
|
||||
dist_doc_DATA = README.YahtzeeServ
|
||||
dist_data_DATA = html/ys.tpl
|
||||
|
||||
include $(top_srcdir)/autotools/rules.mk
|
779
Makefile.in
779
Makefile.in
|
@ -1,63 +1,740 @@
|
|||
#Neostats Module Makefile!
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS= @LDFLAGS@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
DIST_COMMON = $(am__configure_deps) $(dist_data_DATA) $(dist_doc_DATA) \
|
||||
$(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/modconfig.h.in $(top_srcdir)/autotools/rules.mk \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS \
|
||||
autotools/compile autotools/config.guess autotools/config.sub \
|
||||
autotools/depcomp autotools/install-sh autotools/ltmain.sh \
|
||||
autotools/missing autotools/mkinstalldirs autotools/ylwrap \
|
||||
install-sh
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/autotools/acinclude.m4 \
|
||||
$(top_srcdir)/autotools/ax_distversion.m4 \
|
||||
$(top_srcdir)/autotools/ax_maintainer_mode_auto_silent.m4 \
|
||||
$(top_srcdir)/autotools/ccdv.m4 $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno configure.status.lineno
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||
CONFIG_HEADER = modconfig.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(datadir)" \
|
||||
"$(DESTDIR)$(docdir)"
|
||||
pkglibLTLIBRARIES_INSTALL = $(INSTALL)
|
||||
LTLIBRARIES = $(pkglib_LTLIBRARIES)
|
||||
yahtzeeserv_la_LIBADD =
|
||||
am_yahtzeeserv_la_OBJECTS = channel.lo htmlscores.lo play.lo \
|
||||
yahtzeeserv_help.lo highscores.lo misc.lo yahtzeeserv.lo
|
||||
yahtzeeserv_la_OBJECTS = $(am_yahtzeeserv_la_OBJECTS)
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
||||
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
SOURCES = $(yahtzeeserv_la_SOURCES)
|
||||
DIST_SOURCES = $(yahtzeeserv_la_SOURCES)
|
||||
dist_dataDATA_INSTALL = $(INSTALL_DATA)
|
||||
dist_docDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(dist_data_DATA) $(dist_doc_DATA)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d $(distdir) \
|
||||
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr $(distdir); }; }
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
pkglibdir = $(prefix)/modules
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CCDV = @CCDV@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DIRINST = @DIRINST@
|
||||
DISTDIRVERSION = @DISTDIRVERSION@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
GREP = @GREP@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
DIRECTORY = @DIRINST@/modules/
|
||||
INCLUDES = -I@DIRINST@/include/ -I.
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USECCDV = @USECCDV@
|
||||
VERSION = @VERSION@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = $(prefix)/data
|
||||
datarootdir = @datarootdir@
|
||||
docdir = $(prefix)/doc
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
wi_PWD = @wi_PWD@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I autotools
|
||||
AM_MAKEFLAGS = -s
|
||||
pkglib_LTLIBRARIES = yahtzeeserv.la
|
||||
yahtzeeserv_la_SOURCES = channel.c htmlscores.c play.c yahtzeeserv_help.c \
|
||||
highscores.c misc.c yahtzeeserv.c
|
||||
|
||||
SRCS= yahtzeeserv.c yahtzeeserv_help.c play.c misc.c highscores.c channel.c htmlscores.c
|
||||
OBJS= ${SRCS:.c=.o}
|
||||
TARGET= yahtzeeserv.so
|
||||
DOCS=README.YahtzeeServ
|
||||
DATA=html/ys.tpl
|
||||
SCRIPTS=
|
||||
DISTFILES=$(SRCS) $(DATA) $(DOCS) $(SCRIPTS) *.in configure install-sh ChangeLog *.h LICENSE RELNOTES yahtzeeserv.vcproj modconfigwin32.h
|
||||
DISTDIR= @DISTDIRVERSION@
|
||||
noinst_HEADERS = yahtzeeserv.h
|
||||
yahtzeeserv_la_LDFLAGS = -module -avoid-version
|
||||
EXTRA_DIST = autotools/ccdv.c autotools/shtool RELNOTES
|
||||
dist_doc_DATA = README.YahtzeeServ
|
||||
dist_data_DATA = html/ys.tpl
|
||||
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
all: module
|
||||
@echo "Compilation complete."
|
||||
@echo "Run 'make install' (or 'gmake install' on some systems) to install."
|
||||
@echo "If you require support, see the README file."
|
||||
distdir = @DISTDIRVERSION@
|
||||
all: modconfig.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/autotools/rules.mk $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
|
||||
modconfig.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/modconfig.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status modconfig.h
|
||||
$(srcdir)/modconfig.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f modconfig.h stamp-h1
|
||||
|
||||
uninstall-pkglibLTLIBRARIES:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@set -x; list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
|
||||
p=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
|
||||
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
|
||||
done
|
||||
|
||||
clean-pkglibLTLIBRARIES:
|
||||
-test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
|
||||
@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test "$$dir" != "$$p" || dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
yahtzeeserv.la: $(yahtzeeserv_la_OBJECTS) $(yahtzeeserv_la_DEPENDENCIES)
|
||||
$(LINK) -rpath $(pkglibdir) $(yahtzeeserv_la_LDFLAGS) $(yahtzeeserv_la_OBJECTS) $(yahtzeeserv_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/highscores.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/htmlscores.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/play.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yahtzeeserv.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yahtzeeserv_help.Plo@am__quote@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
|
||||
uninstall-dist_dataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(dist_data_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(datadir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-dist_docDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(dist_doc_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(docdir)/$$f"; \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: $(HEADERS) $(SOURCES) modconfig.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) modconfig.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: $(HEADERS) $(SOURCES) modconfig.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) modconfig.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
$(mkdir_p) $(distdir)/autotools $(distdir)/html
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& cd $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) modconfig.h
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(datadir)" "$(DESTDIR)$(docdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-hdr distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-dist_dataDATA install-dist_docDATA
|
||||
|
||||
install-exec-am: install-pkglibLTLIBRARIES
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-dist_dataDATA uninstall-dist_docDATA \
|
||||
uninstall-info-am uninstall-pkglibLTLIBRARIES
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
|
||||
clean-generic clean-libtool clean-pkglibLTLIBRARIES ctags dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
|
||||
distcheck distclean distclean-compile distclean-generic \
|
||||
distclean-hdr distclean-libtool distclean-tags distcleancheck \
|
||||
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-dist_dataDATA install-dist_docDATA install-exec \
|
||||
install-exec-am install-info install-info-am install-man \
|
||||
install-pkglibLTLIBRARIES install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags uninstall uninstall-am uninstall-dist_dataDATA \
|
||||
uninstall-dist_docDATA uninstall-info-am \
|
||||
uninstall-pkglibLTLIBRARIES
|
||||
|
||||
# include dependency info
|
||||
@MAKEDEPENDENCIES@
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCLUDES) $<
|
||||
$(CC) -MM $(INCLUDES) -c $< > $*.d
|
||||
@USECCDV@ @echo "Building $@"
|
||||
@am__fastdepCC_TRUE@ @if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCC_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ @source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
module: $(OBJS)
|
||||
$(LD) -shared -o $(TARGET) $(OBJS) $(LDFLAGS)
|
||||
.c.obj:
|
||||
@USECCDV@ @echo "Building $@"
|
||||
@am__fastdepCC_TRUE@ @if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCC_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ @source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||
|
||||
clean:
|
||||
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h
|
||||
.c.lo:
|
||||
@USECCDV@ @echo "Building $@"
|
||||
@am__fastdepCC_TRUE@ @if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
|
||||
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||
@am__fastdepCC_TRUE@ fi
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ @source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
distclean:
|
||||
/bin/rm -rf $(TARGET) *.o *.d Makefile *.log modconfig.h config.status configure.scan
|
||||
|
||||
install: module
|
||||
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)
|
||||
$(INSTALL) -m 644 $(DOCS) $(DIRECTORY)../doc/
|
||||
$(INSTALL) -m 644 $(DATA) $(DIRECTORY)../data/
|
||||
@echo "Installation complete."
|
||||
@echo "See the README file for instructions on loading this module."
|
||||
|
||||
dist:
|
||||
@echo -n "Creating directories"
|
||||
@-rm -rf $(DISTDIR)
|
||||
@mkdir $(DISTDIR)
|
||||
@mkdir $(DISTDIR)/html
|
||||
@echo "Done"
|
||||
@echo -n "Copying distribution files"
|
||||
@for file in $(DISTFILES); do \
|
||||
echo -n "."; \
|
||||
cp -pr $$file $(DISTDIR)/$$file; \
|
||||
install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
||||
@list='ls .libs/*.so'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||
$(CCDV) $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pkglibdir)/$$f; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
else :; fi; \
|
||||
done
|
||||
@echo "Done"
|
||||
@tar -czf $(DISTDIR).tar.gz $(DISTDIR)/*
|
||||
@echo "Tar file $(DISTDIR).tar.gz created, Freshmeat Time"
|
||||
|
||||
$(OBJS): Makefile
|
||||
install-binSCRIPTS: $(bin_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
if test -f $$d$$p; then \
|
||||
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||
$(CCDV) $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
||||
@list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
if test -f $$d$$p; then \
|
||||
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||
$(CCDV) $(dist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
install-dist_dataDATA: $(dist_data_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
|
||||
@list='$(dist_data_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
$(CCDV) $(dist_dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datadir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
done
|
||||
|
||||
install-dist_docDATA: $(dist_doc_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
|
||||
@list='$(dist_doc_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
$(CCDV) $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
done
|
||||
|
||||
install-includeHEADERS: $(include_HEADERS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
|
||||
@list='$(include_HEADERS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
$(CCDV) $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
done
|
||||
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
$(CCDV) $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
|
||||
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=$(am__strip_dir) \
|
||||
$(CCDV) $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
||||
if test "x#" != "x@USECCDV@"; then echo "Installing $$f"; fi; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
install-neoSCRIPTS: $(neo_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(neodir)" || $(mkdir_p) "$(DESTDIR)$(neodir)"
|
||||
@list='$(neo_SCRIPTS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
if test -f $$d$$p; then \
|
||||
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||
$(CCDV) $(neoSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(neodir)/$$f"; \
|
||||
else :; fi; \
|
||||
done
|
||||
distcleancheck:
|
||||
@:
|
||||
distuninstallcheck:
|
||||
@:
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,629 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
<article>
|
||||
<title>ModuleName 3.0 Manual</title>
|
||||
|
||||
<para>Welcome to the ModuleName Manual. This document will aid you in
|
||||
setting up and running ModuleName on your IRC network.</para>
|
||||
|
||||
<para><add module introduction></para>
|
||||
|
||||
<para>ModuleName is Copyright, 2006 by Justin Hammond.</para>
|
||||
|
||||
<sect1>
|
||||
<title>Prerequisites and Installation.</title>
|
||||
|
||||
<para>ModuleName is designed to run on Top of NeoStats. The Following
|
||||
requirements at the time of writing are required for
|
||||
NeoStats:<itemizedlist>
|
||||
<listitem>
|
||||
<para>A Linux or BSD based Server or Shell.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>A IRCd supported by NeoStats. See the <link
|
||||
linkend="???">NeoStats</link> website.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Some basic Unix administration Skill</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Of Course, a IRC network to connect it all together.</para>
|
||||
</listitem>
|
||||
</itemizedlist></para>
|
||||
|
||||
<para>Please refer to the NeoStats website for more information on the
|
||||
requirements</para>
|
||||
|
||||
<para>ModuleName itself requires the following:<itemizedlist>
|
||||
<listitem>
|
||||
<para>NeoStats 3.0 or Higher correctly installed and Running</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>The time to read this entire document. </para>
|
||||
</listitem>
|
||||
</itemizedlist></para>
|
||||
|
||||
<sect2>
|
||||
<title>Compiling and Installation</title>
|
||||
|
||||
<para>As long as you have successfully setup NeoStats, and installed it
|
||||
correctly, Compiling ModuleName is very simple and straight forward.
|
||||
First you must extract the files from the download package. This is as
|
||||
simple as:</para>
|
||||
|
||||
<screen>bash$<command> tar -xzf ModuleName-<ver>.tar.gz</command></screen>
|
||||
|
||||
<para>This should then create a directory called
|
||||
ModuleName-<version> where <version> is the Version of
|
||||
ModuleName. Then Proceed to Change into the ModuleName directory, and
|
||||
run Configure as follows:<screen>bash$<command>./configure [--enable-debug | --with-neostats=<dir>]</command></screen></para>
|
||||
|
||||
<para>--enable-debug is only useful for diagnostics purposes when used
|
||||
in conjunction with debugging tools. There should be no need to use this
|
||||
option on a day to day basis</para>
|
||||
|
||||
<para>--with-neostats=<dir> should be used if your neostats
|
||||
directory is not in a standard location (~/NeoStats/). Replace
|
||||
<dir> with the full path to your NeoStats installation directory
|
||||
(NOT SOURCE DIRECTORY)</para>
|
||||
|
||||
<para>Configuring ModuleName will look something like the following
|
||||
screen:</para>
|
||||
|
||||
<screen>Fishs-Mac:~/Documents/Dev/ModuleName justin$ ./configure
|
||||
checking whether to enable maintainer-specific portions of Makefiles... no
|
||||
checking for a BSD-compatible install... /usr/bin/install -c
|
||||
checking whether build environment is sane... yes
|
||||
checking for gawk... no
|
||||
checking for mawk... no
|
||||
checking for nawk... no
|
||||
|
||||
<snip>
|
||||
|
||||
checking To Enable AutoTools Debug Mode?... no
|
||||
checking silent building of source files... Enabled
|
||||
configure: creating ./config.status
|
||||
config.status: creating Makefile
|
||||
config.status: creating modconfig.h
|
||||
config.status: modconfig.h is unchanged
|
||||
config.status: executing depfiles commands
|
||||
Configuration complete.
|
||||
Press Enter key to read the release notes</screen>
|
||||
|
||||
<para>The Configure process will then prompt you to read the release
|
||||
notes. You are encouraged to read this document throughly as it might
|
||||
contain important information about the current version of ModuleName
|
||||
that isn't covered in the manual.</para>
|
||||
|
||||
<para>If the configuration did not produce a error, you may then move
|
||||
onto Compiling ModuleName. Compiling is simply just issuing the "make"
|
||||
command (or "gmake" if you are running BSD):</para>
|
||||
|
||||
<screen>Fishs-Mac:~/Documents/Dev/ModuleName justin$ make
|
||||
make -s all-am
|
||||
Compiling Helpers.c: [OK]
|
||||
Compiling ModuleName.c: [OK]
|
||||
Compiling scan.c: [OK]
|
||||
Compiling OnJoinBot.c: [OK]
|
||||
Compiling ModuleName_help.c: [OK]
|
||||
Compiling update.c: [OK] </screen>
|
||||
|
||||
<para>Again, check for Error messages. As long as there are not error
|
||||
messages, "make install" will install ModuleName, this README file, and
|
||||
any auxiliary files needed into your NeoStats directory:</para>
|
||||
|
||||
<screen>Fishs-Mac:~/Documents/Dev/ModuleName justin$ make install
|
||||
Installing ModuleName.so: [OK]
|
||||
Installing viri.dat: [OK]
|
||||
Installing README.ModuleName: [OK]
|
||||
Installing README.ModuleName.html: [OK] </screen>
|
||||
|
||||
<para>If you receive *ANY* errors at all during the this process, please
|
||||
post them on our Support boards, at
|
||||
http//www.neostats.net/boards/</para>
|
||||
|
||||
<para>Once Installation is complete, you can either configure NeoStats
|
||||
to load ModuleName when it starts, or load ModuleName via IRC.</para>
|
||||
|
||||
<para>To Configure NeoStats to automatically load ModuleName when it
|
||||
boots, modify the neostats.conf file and add ModuleName to the list of
|
||||
modules to load:</para>
|
||||
|
||||
<screen>MODULENAME = {
|
||||
"statserv",
|
||||
"hostserv",
|
||||
"ModuleName",
|
||||
} </screen>
|
||||
|
||||
<para>To load ModuleName via IRC, you must make sure you have the
|
||||
appropriate permissions and issue the following command:</para>
|
||||
|
||||
<para><command>/msg neostats load ModuleName</command></para>
|
||||
|
||||
<para>Thats it. ModuleName is now loaded and ready for use (in fact, it
|
||||
will already be running now, but read on for further
|
||||
information.)</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>Basic Configuration</title>
|
||||
|
||||
<para>ModuleName is completely configured online via IRC. When you first
|
||||
start up ModuleName, it attempts some "Sane" defaults for you get started
|
||||
with, but you should always review these settings as soon as you install.
|
||||
There are a few important settings you may want to review right away. They
|
||||
are:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>blah blah</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>blah blah</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>blah blah</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>These are outlined below:</para>
|
||||
|
||||
<sect2>
|
||||
<title>Blah Blah</title>
|
||||
|
||||
<para>Blah Blah</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Blah Blah</title>
|
||||
|
||||
<para>BLAH BLAH</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>Detailed Configuration</title>
|
||||
|
||||
<para>ModuleName attempts to be as configurable as possible in order to
|
||||
cater for each individual networks requirements. This in turn though makes
|
||||
the configuration very complex. There are many many settings with
|
||||
ModuleName that affect how it operates, how it responds and even, how
|
||||
affects the performance of NeoStats Overall. Out of the box, ModuleName
|
||||
provides sensible defaults for these settings, but you may wish to read
|
||||
this section for details on exactly what each option does, and its affect
|
||||
on how ModuleName operates.</para>
|
||||
|
||||
<para>The following list summaries the available options you can set in
|
||||
ModuleName</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>NICK</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>ALTNICK</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>USER</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>HOST</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>REALNAME</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>EXCLUSIONS</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>BLAHBLAH</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>To change any of these settings, you use the Set Interface in
|
||||
ModuleName. Eg:</para>
|
||||
|
||||
<screen>/msg ModuleName set <option> <params></screen>
|
||||
|
||||
<para>To view the current settings, issue the following command:</para>
|
||||
|
||||
<screen>/msg ModuleName set list</screen>
|
||||
|
||||
<para>The following Sections describes the different options, their
|
||||
params, and the effect on ModuleName in detail.</para>
|
||||
|
||||
<sect2>
|
||||
<title>NICK Setting</title>
|
||||
|
||||
<para>This setting allows you to change the Nickname that ModuleName
|
||||
uses when it connects to your network. If you change this setting make
|
||||
sure you update your NeoNet account, otherwise you might loose access to
|
||||
the Secure IRC-Chat site if we perform a check on your network and can't
|
||||
find "ModuleName" running.</para>
|
||||
|
||||
<warning>
|
||||
<para>This option requires you to reload ModuleName or restart
|
||||
NeoStats to take effect.</para>
|
||||
</warning>
|
||||
|
||||
<screen>/msg ModuleName set NICK <nickname></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>ALTNICK Setting</title>
|
||||
|
||||
<para>This setting allows you to set a "Backup" nickname used for
|
||||
ModuleName. If the primary Nickname in the NICK Setting is not
|
||||
available, ModuleName will use this nickname, and if that is not
|
||||
available, it will use a automatically generated nickname</para>
|
||||
|
||||
<warning>
|
||||
<para>This option requires you to reload ModuleName or restart
|
||||
NeoStats to take effect</para>
|
||||
</warning>
|
||||
|
||||
<screen>/msg ModuleName set ALTNICK <nickname></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>USER Setting</title>
|
||||
|
||||
<para>This option allows you to customize the "user" or ident portion of
|
||||
the ModuleName Bot. </para>
|
||||
|
||||
<warning>
|
||||
<para>This option requires you to reload ModuleName or restart
|
||||
NeoStats to take effect</para>
|
||||
</warning>
|
||||
|
||||
<screen>/msg ModuleName set USER <user></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>HOST Setting</title>
|
||||
|
||||
<para>This option allows you to customize the Hostname that ModuleName
|
||||
uses when it signs onto your Network. It defaults to the Standard
|
||||
Hostname specified in your NeoStats configuration.</para>
|
||||
|
||||
<warning>
|
||||
<para>This option requires you to reload ModuleName or restart
|
||||
NeoStats to take effect</para>
|
||||
</warning>
|
||||
|
||||
<screen>/msg ModuleName set HOST <host></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>REALNAME Setting</title>
|
||||
|
||||
<para>This option allows you to customize the realname (or Gecos) that
|
||||
ModuleName uses when it signs onto your Network. </para>
|
||||
|
||||
<warning>
|
||||
<para>This option requires you to reload ModuleName or restart
|
||||
NeoStats to take effect</para>
|
||||
</warning>
|
||||
|
||||
<screen>/msg ModuleName set REALNAME <realname></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>EXCLUSIONS Setting</title>
|
||||
|
||||
<para>This option enables ModuleName to use the Global Exclusions list
|
||||
that is control by the main NeoStats bot. This allows you to maintain a
|
||||
"global" exclusion list that is applicable to all modules in NeoStats,
|
||||
and then only apply individual exclusions to ModuleName. </para>
|
||||
|
||||
<warning>
|
||||
<para>This option only becomes effective on new users joining your
|
||||
Network. Existing users that are already connected when you enable
|
||||
this option will not be rescanned for exclusions, as the Global
|
||||
Exclusions are only effected when a new user signs onto the Network.
|
||||
In order to make the global exclusions list effective straight away,
|
||||
you should restart NeoStats.</para>
|
||||
</warning>
|
||||
|
||||
<para>If you wish to enable or disable the Global Exclusions lists,
|
||||
issue the following command</para>
|
||||
|
||||
<screen>/msg ModuleName set EXCLUSIONS <ON/OFF></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>BLAH Blah Setting</title>
|
||||
|
||||
<para>blah blah description</para>
|
||||
|
||||
<para>To Change the setting, issue the following Command:</para>
|
||||
|
||||
<screen>/msg ModuleName set blahblah <blah> </screen>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>Operational Commands</title>
|
||||
|
||||
<para>ModuleName has a number of commands that you can issue it in order
|
||||
to perform checks or operations on your IRC network. These commands aid
|
||||
Administrators in keeping their network secure, and keeping ModuleName
|
||||
upto date.</para>
|
||||
|
||||
<para>The following list summarizes these commands:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>HELP</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>VERSION</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>ABOUT</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>CREDITS</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>LEVELS</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>SET</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>EXCLUDE</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>BLAHBLAH</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>The following Sections Describe these commands in detail</para>
|
||||
|
||||
<sect2>
|
||||
<title>HELP Command</title>
|
||||
|
||||
<para>The help command allows the users to access the online help for
|
||||
the different commands available. You can get general help about the
|
||||
available commands, or can access more specific information about a
|
||||
command.</para>
|
||||
|
||||
<para>To see the help pages, use the following format:</para>
|
||||
|
||||
<screen>/msg ModuleName help [command]
|
||||
</screen>
|
||||
|
||||
<para>command is optional and only required if you want more specific
|
||||
information about a particular command</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>VERSION Command</title>
|
||||
|
||||
<para>This command displays the Version of ModuleName, and the dat
|
||||
files. </para>
|
||||
|
||||
<para>The format of the command is as follows:</para>
|
||||
|
||||
<screen>/msg ModuleName version
|
||||
</screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>ABOUT Command</title>
|
||||
|
||||
<para>The about command shows a brief description of the Bot and its
|
||||
purpose.</para>
|
||||
|
||||
<para>The format of the command is as follows:</para>
|
||||
|
||||
<screen>/msg ModuleName about
|
||||
</screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>CREDITS Command</title>
|
||||
|
||||
<para>The credits command shows details about the authors or
|
||||
contributors of to the Module</para>
|
||||
|
||||
<para>The format of the command is as follows:</para>
|
||||
|
||||
<screen>/msg ModuleName credits
|
||||
</screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>LEVELS Command</title>
|
||||
|
||||
<para>The levels command allows you to adjust the security of each
|
||||
command available in this module. You can make certian commands only
|
||||
available to higher "level" users in NeoStats. </para>
|
||||
|
||||
<para>For more information about NeoStats Levels and Security, please
|
||||
consult the NeoStats Manual</para>
|
||||
|
||||
<para>To list the currently configured levels, issue the following
|
||||
command:</para>
|
||||
|
||||
<screen>/msg ModuleName levels list
|
||||
</screen>
|
||||
|
||||
<para>To change the minimum level required to execute a command, issue
|
||||
the following command:</para>
|
||||
|
||||
<screen>/msg ModuleName levels <command> <level></screen>
|
||||
|
||||
<para>Where:</para>
|
||||
|
||||
<para>command = is the actual command name you wish to modify</para>
|
||||
|
||||
<para>level = a number between 0 and 200 that specifies the new
|
||||
level.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>SET Command</title>
|
||||
|
||||
<para>The set command allows you to modify settings applicable to this
|
||||
module. For a complete description of the available set options, please
|
||||
consult the Detailed Configuration Section of this manual.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>EXCLUDE Command</title>
|
||||
|
||||
<para>Exclusion lists allow you to specify certain Hostmasks, Servers,
|
||||
or Channels that should be excluded from monitoring by ModuleName. This
|
||||
exclusion list would allow a administrator to say, allow users on that
|
||||
are matched against Trojans, when the administrator has verified that
|
||||
the Trojan does not in fact exist on the users host.</para>
|
||||
|
||||
<caution>
|
||||
<para>Exclusions should be setup for your Services Server, so that
|
||||
ModuleName does not try to scan ChanServ, or NickServ, or any of the
|
||||
bots relating to Nickname protection.</para>
|
||||
</caution>
|
||||
|
||||
<para>With NeoStats 3.0, you should also be aware that there are two
|
||||
types of Exclusion Lists. There are "Global" exclusion lists that all
|
||||
modules may optionally use, and there is module specific exclusion
|
||||
lists. ModuleName defaults to not using the Global Exclusion lists. You
|
||||
can enable it by the following command:<screen>/msg ModuleName set exclusions on</screen></para>
|
||||
|
||||
<para><emphasis role="bold">Adding a Entry</emphasis></para>
|
||||
|
||||
<para>To add a entry to the Exclusion list, use the following
|
||||
format:</para>
|
||||
|
||||
<screen>/msg ModuleName exclude add <host/Server/Channel/UserHost> <pattern> <reason></screen>
|
||||
|
||||
<para>Where:</para>
|
||||
|
||||
<para><Host/Server/Channel/UserHost> = The type of exclusion you
|
||||
are adding. The different types are:<itemizedlist>
|
||||
<listitem>
|
||||
<para>Host - The Users real (Internet) Hostname</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Server - The Users server they are connecting to. You should
|
||||
ensure you add a exclusion for your Services Server</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Channel - A specific channel on your IRC Network</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>UserHost - The users Virtual Hostname (IRC)</para>
|
||||
</listitem>
|
||||
</itemizedlist></para>
|
||||
|
||||
<para><pattern> = The pattern you wish to match on. May include
|
||||
wildcard charactors such as * and ?</para>
|
||||
|
||||
<para><reason> = a short description of the exclusion, for
|
||||
operator reference only.</para>
|
||||
|
||||
<para>The output is as follows:</para>
|
||||
|
||||
<screen>[13:20] -ModuleName- Added *.blah.com (userhost) to exclusion list
|
||||
[13:20] ModuleName Fish added *.blah.com (userhost) to the exclusion list</screen>
|
||||
|
||||
<para><emphasis role="bold">Listing an Entry</emphasis></para>
|
||||
|
||||
<para>To list the Exclusions simple type:</para>
|
||||
|
||||
<screen>/msg ModuleName exclude list</screen>
|
||||
|
||||
<para>And all the current exclusions are listed. Additionally, a
|
||||
Position number is provided for use with the delete command. The output
|
||||
is as follows:</para>
|
||||
|
||||
<screen>[13:21] -ModuleName- Exclusion list:
|
||||
[13:21] -ModuleName- #bothouse (Channel) Added by Fish on Sat Aug 13 2005 01:20 AM SGT for Requested
|
||||
[13:21] -ModuleName- #ircop (Channel) Added by Fish on Sat Aug 13 2005 07:40 PM SGT for IRCop channel
|
||||
[13:21] -ModuleName- *irc-chat.net (Host) Added by Fish on Tue Aug 09 2005 10:13 PM SGT for Services Exclusion
|
||||
[13:21] -ModuleName- chieftess!*@* (Userhost) Added by Fish on Tue Aug 09 2005 10:14 PM SGT for buggy client
|
||||
[13:21] -ModuleName- *.blah.com (Userhost) Added by Fish on Sun Jan 15 2006 01:20 PM SGT for Cause Blah.com is cool
|
||||
[13:21] -ModuleName- End of list.</screen>
|
||||
|
||||
<para><emphasis role="bold">Deleting an Entry</emphasis></para>
|
||||
|
||||
<para>To delete a entry, you should first lookup the Position of the
|
||||
entry that you wish to delete. The format of the command is as
|
||||
follows:</para>
|
||||
|
||||
<screen>/msg ModuleName exclude del <pattern></screen>
|
||||
|
||||
<para>Where:</para>
|
||||
|
||||
<para><pattern> is the pattern of the entry you wish to delete in
|
||||
the list</para>
|
||||
|
||||
<para>The output of the command is as follows:</para>
|
||||
|
||||
<screen>[13:22] ModuleName Fish used EXCLUDE
|
||||
[13:22] -ModuleName- *.blah.com delete from exclusion list</screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>BLAHBLAH Command</title>
|
||||
|
||||
<para>That command forces ModuleName to check the Dat File version at
|
||||
<link linkend="???">http://secure.irc-chat.net/</link> and download the
|
||||
latest version if required.</para>
|
||||
|
||||
<warning>
|
||||
<para>Repeated use of this command in a short period of time will
|
||||
result in your account at secure.irc-chat.net being suspended for
|
||||
abuse. Use with CARE</para>
|
||||
</warning>
|
||||
|
||||
<para>The format of the command is as follows:</para>
|
||||
|
||||
<screen>/msg ModuleName update</screen>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>Optional Chapter</title>
|
||||
|
||||
<para>use this to write any optional information etc etc etc</para>
|
||||
|
||||
<sect2>
|
||||
<title>Optional Sub Heading</title>
|
||||
|
||||
<para>Subheading</para>
|
||||
|
||||
<sect3>
|
||||
<title>Minor heading</title>
|
||||
|
||||
<para>minor heading</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
</sect1>
|
||||
</article>
|
7513
aclocal.m4
vendored
Normal file
7513
aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
83
configure.in
83
configure.in
|
@ -1,28 +1,29 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(yahtzeeserv.c)
|
||||
AC_CONFIG_HEADER(modconfig.h)
|
||||
|
||||
PACKAGE=YahtzeeServ
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
AM_CONFIG_HEADER(modconfig.h)
|
||||
AM_MAINTAINER_MODE
|
||||
MODPACKAGE=YahtzeeServ
|
||||
MODULE_MAJOR=3
|
||||
MODULE_MINOR=0
|
||||
MODULE_REV=a4
|
||||
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")
|
||||
MODVERSION=$MODULE_MAJOR.$MODULE_MINOR.$MODULE_REV
|
||||
AC_DEFINE_UNQUOTED(MODULE_VERSION, "$MODVERSION", "Complete Module Version")
|
||||
AC_DEFINE_UNQUOTED(MODULE_MAJOR, $MODULE_MAJOR, "Major Module Version")
|
||||
AC_DEFINE_UNQUOTED(MODULE_MINOR, $MODULE_MINOR, "Minor Module Version")
|
||||
AC_DEFINE_UNQUOTED(MODULE_REV, $MODULE_REV, "Module Revision")
|
||||
DIRINST=~/NeoStats3.0/
|
||||
AC_PREFIX_DEFAULT(~/NeoStats3.0/)
|
||||
CFLAGS="$CFLAGS -O2 -fno-strict-aliasing -fPIC -DPIC"
|
||||
AM_INIT_AUTOMAKE($MODPACKAGE, $MODVERSION)
|
||||
#AM_INIT_AUTOMAKE("","")
|
||||
CFLAGS="$CFLAGS -g -O2 -fno-strict-aliasing"
|
||||
|
||||
case "$host_os" in
|
||||
*openbsd*)
|
||||
MAKEDEPENDENCIES="";;
|
||||
*freebsd*)
|
||||
MAKEDEPENDENCIES="";;
|
||||
*)
|
||||
MAKEDEPENDENCIES="-include \$(OBJS:.o=.d)";;
|
||||
esac
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AC_DISABLE_STATIC
|
||||
CARES_CLEAR_LIBTOOL_TAGS
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
AC_MSG_CHECKING(Location of NeoStats...)
|
||||
AC_ARG_WITH(neostats,
|
||||
|
@ -54,19 +55,20 @@ int main(void) {
|
|||
ns_version_ok='no')
|
||||
if test "$ns_version_ok" = "yes"; then
|
||||
AC_MSG_RESULT(Compatible version);
|
||||
prefix=$DIRINST
|
||||
else
|
||||
AC_MSG_ERROR(This module requires NeoStats 3.0.a3 or higher)
|
||||
AC_MSG_ERROR(This module requires NeoStats 3.0.a3-dev or higher)
|
||||
fi
|
||||
|
||||
dnl check if we are running with Debug....
|
||||
AC_MSG_CHECKING(Whether to Enable Debuging...)
|
||||
dnl check if we are running with debug....
|
||||
AC_MSG_CHECKING(Whether to enable debug...)
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug - Enable Debuging],
|
||||
[ --enable-debug - enable debug],
|
||||
[ case "$enableval" in
|
||||
yes)
|
||||
CFLAGS="$CFLAGS -Wall -ggdb"
|
||||
AC_DEFINE(DEBUG,1)
|
||||
AC_MSG_RESULT(yes - Watch your Log Files)
|
||||
AC_DEFINE(MODDEBUG, "1", "Enable Debugging")
|
||||
AC_MSG_RESULT(yes)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(no)
|
||||
|
@ -75,25 +77,40 @@ AC_ARG_ENABLE(debug,
|
|||
AC_MSG_RESULT(no)
|
||||
)
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_ARG_WITH(distversion, [ --with-distversion - Version Name to use for
|
||||
making distributions],
|
||||
[DISTDIRVERSION="$PACKAGE-$VERSION-$withval"],
|
||||
[DISTDIRVERSION="$PACKAGE-$VERSION"])
|
||||
AC_SUBST(DISTDIRVERSION)
|
||||
wi_ARG_DISABLE_CCDV
|
||||
wi_PROG_CCDV
|
||||
|
||||
AC_MSG_CHECKING(To Enable AutoTools Debug Mode?)
|
||||
AC_ARG_ENABLE(autodebug, [ --enable-autodebug - Enable AutoTools Debug],
|
||||
[ case "$enableval" in
|
||||
yes)
|
||||
AC_MSG_RESULT(yes)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(no)
|
||||
AX_MAINTAINER_MODE_AUTO_SILENT
|
||||
;;
|
||||
esac],
|
||||
AC_MSG_RESULT(no)
|
||||
AX_MAINTAINER_MODE_AUTO_SILENT
|
||||
)
|
||||
|
||||
CFLAGS="$CFLAGS -DBUILDINGMOD"
|
||||
|
||||
AX_DISTVERSION
|
||||
|
||||
AC_SUBST(DIRINST)
|
||||
AC_SUBST(MAKEDEPENDENCIES)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(LDFLAGS)
|
||||
AC_SUBST(PACKAGE)
|
||||
AC_SUBST(VERSION)
|
||||
AC_SUBST(LIBTOOL_DEPS)
|
||||
AC_SUBST(CCDV)
|
||||
AC_OUTPUT(Makefile)
|
||||
echo "Configuration complete."
|
||||
read -p "Press Enter key to read the release notes"
|
||||
clear
|
||||
more RELNOTES
|
||||
echo "Run 'make' (or 'gmake' on some systems) to compile."
|
||||
echo "Run 'make' (or 'gmake' on some systems) to compile NeoStats."
|
||||
echo "If you require support, see the README file."
|
||||
|
|
|
@ -121,6 +121,8 @@ char *ysscoretype[15];
|
|||
int crs;
|
||||
int dtsc[6];
|
||||
char dicetext[5][15];
|
||||
YahtzeeServCnf YahtzeeServ;
|
||||
Bot *ys_bot;
|
||||
|
||||
/*
|
||||
* Online event processing
|
||||
|
|
|
@ -20,9 +20,15 @@
|
|||
** $Id$
|
||||
*/
|
||||
|
||||
#include MODULECONFIG
|
||||
#ifndef YAHTZEESERV_H
|
||||
#define YAHTZEESERV_H
|
||||
#ifdef WIN32
|
||||
#include "modconfigwin32.h"
|
||||
#else
|
||||
#include "modconfig.h"
|
||||
#endif
|
||||
|
||||
Bot *ys_bot;
|
||||
extern Bot *ys_bot;
|
||||
|
||||
/*
|
||||
* YahtzeeServ Module Help
|
||||
|
@ -74,14 +80,14 @@ extern const char *ys_help_forcehtml[];
|
|||
/*
|
||||
* Variables
|
||||
*/
|
||||
struct YahtzeeServ {
|
||||
typedef struct YahtzeeServCnf {
|
||||
char yahtzeeroom[MAXCHANLEN];
|
||||
int exclusions;
|
||||
int multichan;
|
||||
int chanoponly;
|
||||
int html;
|
||||
char htmlpath[MAXPATH];
|
||||
} YahtzeeServ;
|
||||
} YahtzeeServCnf;
|
||||
|
||||
typedef struct Players {
|
||||
Client *u;
|
||||
|
@ -116,6 +122,7 @@ extern char *ysscoretype[15];
|
|||
extern int crs;
|
||||
extern int dtsc[6];
|
||||
extern char dicetext[5][15];
|
||||
extern YahtzeeServCnf YahtzeeServ;
|
||||
|
||||
/*
|
||||
* Procedures
|
||||
|
@ -170,3 +177,4 @@ void reroll (const CmdParams *cmdparams, int rolltype);
|
|||
/* htmlscores */
|
||||
void ys_HTMLOutput( void );
|
||||
int ys_cmd_forcehtml( const CmdParams *cmdparams );
|
||||
#endif
|
Reference in a new issue