Commit 02b8649b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

First try.

parent f08d0b00
#
# $Id: Makefile.in,v 1.1 1993/10/07 23:10:12 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
@STDLYSKOM@
SUBDIRS = doc scripts src # config # junk
SERVER-VER = 1.4.1
all: msg includes libraries binaries end-msg
@ALL_DESCEND@
doincludes:;
dolibraries:;
dobinaries:;
doinstall:;
dodepend:;
doclean:;
dodistclean:;
includes: $(INCLUDEDIR)
depend: $(INCLUDEDIR) msg includes
libraries: $(INCLUDEDIR)
distribution: distclean
find . -name '#*#' -print
-$(RM) -r lyskom-$(SERVER-VER)
$(MKDIR) lyskom-$(SERVER-VER)
cp README-serverrelease lyskom-$(SERVER-VER)/README
cp COPYING INSTALL Config Build Makefile lyskom-$(SERVER-VER)/
$(MKDIR) lyskom-$(SERVER-VER)/src
cp src/Makefile lyskom-$(SERVER-VER)/src/
$(MKDIR) lyskom-$(SERVER-VER)/src/libraries
cp src/libraries/Makefile lyskom-$(SERVER-VER)/src/libraries/
$(MKDIR) lyskom-$(SERVER-VER)/doc
for i in ADMINISTRATION Makefile misc_items prot-A.txt \
server-async.extend server.extend what-is-unread.swe; \
do \
cp doc/$$i lyskom-$(SERVER-VER)/doc/$i; \
done
cp -r doc/man lyskom-$(SERVER-VER)/doc/man
cp -r config lyskom-$(SERVER-VER)/config
cp -r scripts lyskom-$(SERVER-VER)/scripts
$(RM) lyskom-$(SERVER-VER)/scripts/import.make
cp -r run-support lyskom-$(SERVER-VER)/run-support
cp -r src/libraries/libansi lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libcommon lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libisc-new lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libmisc lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/regex lyskom-$(SERVER-VER)/src/libraries
cp -r src/server lyskom-$(SERVER-VER)/src
cp -r src/include lyskom-$(SERVER-VER)/src/include
cp -r db-crypt lyskom-$(SERVER-VER)
cp -r db-nocrypt lyskom-$(SERVER-VER)
find lyskom-$(SERVER-VER) -name CVS.adm -print -exec rm -rf {} \; -prune
find lyskom-$(SERVER-VER) -name Topdir.make -print -exec rm -rf {} \;
tar cvf lyskom-$(SERVER-VER).tar lyskom-$(SERVER-VER)
$(RM) lyskom-$(SERVER-VER).tar.Z
compress lyskom-$(SERVER-VER).tar
$(RM) -r lyskom-$(SERVER-VER)
msg:
@echo Top-level source directory is believed to be @TOPDIR@
@date
@echo
end-msg:
@echo
@echo Finished at
@date
$(INCLUDEDIR):
@echo You $(INCLUDEDIR) missing (should have been built by configure).
@exit 1
#
# $Id: Makefile.src,v 1.1 1993/10/07 23:10:12 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
@STDLYSKOM@
SUBDIRS = doc scripts src # config # junk
SERVER-VER = 1.4.1
all: msg includes libraries binaries end-msg
@ALL_DESCEND@
doincludes:;
dolibraries:;
dobinaries:;
doinstall:;
dodepend:;
doclean:;
dodistclean:;
includes: $(INCLUDEDIR)
depend: $(INCLUDEDIR) msg includes
libraries: $(INCLUDEDIR)
distribution: distclean
find . -name '#*#' -print
-$(RM) -r lyskom-$(SERVER-VER)
$(MKDIR) lyskom-$(SERVER-VER)
cp README-serverrelease lyskom-$(SERVER-VER)/README
cp COPYING INSTALL Config Build Makefile lyskom-$(SERVER-VER)/
$(MKDIR) lyskom-$(SERVER-VER)/src
cp src/Makefile lyskom-$(SERVER-VER)/src/
$(MKDIR) lyskom-$(SERVER-VER)/src/libraries
cp src/libraries/Makefile lyskom-$(SERVER-VER)/src/libraries/
$(MKDIR) lyskom-$(SERVER-VER)/doc
for i in ADMINISTRATION Makefile misc_items prot-A.txt \
server-async.extend server.extend what-is-unread.swe; \
do \
cp doc/$$i lyskom-$(SERVER-VER)/doc/$i; \
done
cp -r doc/man lyskom-$(SERVER-VER)/doc/man
cp -r config lyskom-$(SERVER-VER)/config
cp -r scripts lyskom-$(SERVER-VER)/scripts
$(RM) lyskom-$(SERVER-VER)/scripts/import.make
cp -r run-support lyskom-$(SERVER-VER)/run-support
cp -r src/libraries/libansi lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libcommon lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libisc-new lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/libmisc lyskom-$(SERVER-VER)/src/libraries
cp -r src/libraries/regex lyskom-$(SERVER-VER)/src/libraries
cp -r src/server lyskom-$(SERVER-VER)/src
cp -r src/include lyskom-$(SERVER-VER)/src/include
cp -r db-crypt lyskom-$(SERVER-VER)
cp -r db-nocrypt lyskom-$(SERVER-VER)
find lyskom-$(SERVER-VER) -name CVS.adm -print -exec rm -rf {} \; -prune
find lyskom-$(SERVER-VER) -name Topdir.make -print -exec rm -rf {} \;
tar cvf lyskom-$(SERVER-VER).tar lyskom-$(SERVER-VER)
$(RM) lyskom-$(SERVER-VER).tar.Z
compress lyskom-$(SERVER-VER).tar
$(RM) -r lyskom-$(SERVER-VER)
msg:
@echo Top-level source directory is believed to be @TOPDIR@
@date
@echo
end-msg:
@echo
@echo Finished at
@date
$(INCLUDEDIR):
@echo You $(INCLUDEDIR) missing (should have been built by configure).
@exit 1
dnl Process this file with autoconf to produce a configure script.
dnl This configure.in was derived from the configure.in in the
dnl GNU regex package, rel 0.11. Since LysKOM uses that package,
dnl this configure script must include everything it needs.
AC_REVISION($Id: configure.in,v 1.1 1993/10/07 23:10:16 ceder Exp $)
AC_INIT(src/server/lyskomd.h)
AC_PROG_CC
AC_SUBST(TOPDIR)
[TOPDIR=`cd $srcdir;pwd`]
dnl
dnl descend(foo) will define FOO_DESCEND as a Makefile excerpt
dnl
define([descend], [AC_SUBST(translit($1, [a-z], [A-Z])[_DESCEND])
translit($1, [a-z], [A-Z])[_DESCEND='.PHONY: ]$1 \
$1: [do]$1 \
[for i in $(SUBDIRS); do \\\
if test -d $$i ; then \\\
echo making] $1 [in directory $$i; \\\
(cd $$i; $(MAKE) ] $1 [)\\\
fi; \\\
done\
']])dnl
dnl
descend(binaries)
descend(clean)
descend(distclean)
descend(depend)
descend(includes)
descend(libraries)
descend(install)
dnl
dnl Define CLEAN to handle all the "make *clean" rules.
dnl
AC_SUBST(CLEAN)
[CLEAN="$CLEAN_DESCEND\\
$DISTCLEAN_DESCEND"]
dnl
dnl Enhance "make depend"
dnl
[DEPEND_DESCEND="dependencies:\\
touch dependencies\\
\\
$DEPEND_DESCEND\\
"]
AC_AIX
AC_DYNIX_SEQ
AC_IRIX_SUN
AC_ISC_POSIX
AC_MINIX
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_AWK
AC_LN_S
AC_PROG_YACC
AC_PROG_LEX
AC_STDC_HEADERS
AC_PROGRAMS_CHECK(SED, /usr/gnu/bin/sed /usr/local/gnu/bin/sed sed)
AC_HAVE_HEADERS(string.h memory.h)
dnl AC_USG is used by regex, but is obsolete.
AC_USG
AC_ALLOCA
AC_HAVE_LIBRARY(resolv)
AC_HAVE_LIBRARY(authuser)
AC_HAVE_FUNCS(difftime)
AC_REPLACE_FUNCS(memcpy difftime mktime strerror getdtablesize)
[DEFS="$DEFS -DBUGGY_INET_NTOA=1 -DHAVE_LOCALE=1 -DENCRYPT_PASSWORDS=1 \
-DSERVER=1"]
AC_SUBST(ALL_DESCEND)
[ALL_DESCEND="$INCLUDES_DESCEND\\
$LIBRARIES_DESCEND\\
$BINARIES_DESCEND\\
$INSTALL_DESCEND\\
$DEPEND_DESCEND\\
$CLEAN\\
"]
AC_SUBST(CFLAGS)
[CFLAGS="$CFLAGS -I$TOPDIR/include -I$TOPDIR/include/server "]
[CFLAGS="$CFLAGS -g -O -Wall -ansi -pipe $DEFS" ]
AC_SUBST(STDLYSKOM)
[STDLYSKOM="SHELL = /bin/sh \\
\\
AWK = $AWK\\
CC = $CC\\
CFLAGS = $CFLAGS\\
INSTALL = $INSTALL\\
INSTALL_DATA = $INSTALL_DATA\\
INSTALL_PROGRAM = $INSTALL_PROGRAM\\
LEX = $LEX\\
MKDIR = mkdir\\
RANLIB = $RANLIB\\
RM = rm -f\\
SED = $SED\\
SYMLINK = $LN_S\\
TOUCHLIB = $RANLIB\\
YACC = $YACC\\
\\
srcdir = $srcdir\\
VPATH = $srcdir\\
INCLUDEDIR = $TOPDIR/include\\
LIBDIR = $TOPDIR/lib\\
prefix = /usr/lyskom\\
exec_prefix = $(prefix)\\
bindir = $(exec_prefix)/bin\\
dbdir = $(exec_prefix)/db\\
etcdir = $(exec_prefix)/etc\\
coredir = $(exec_prefix)/cores\\
\\
DEFS = $DEFS\\
LDFLAGS = $LDFLAGS\\
SCRIPTDIR = $TOPDIR/scripts\\
"]
[rm -rf $srcdir/include
mkdir $srcdir/include]
[mkdir $srcdir/lib]
AC_OUTPUT(Makefile
doc/Makefile
doc/man/Makefile
scripts/Makefile
src/Makefile
src/include/Makefile
src/include/server/Makefile
src/libraries/Makefile
src/libraries/libansi/Makefile
src/libraries/libcommon/Makefile
src/libraries/libisc-new/Makefile
src/libraries/libisc-new/src/Makefile
src/libraries/libmisc/Makefile
src/libraries/regex/Makefile
src/server/Makefile
)
#
# $Id: Makefile.in,v 1.1 1993/10/07 23:10:24 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
SUBDIRS = man
all:;
depend:;
includes:;
libraries:;
binaries:;
@CLEAN@
@INSTALL_DESCEND@
doinstall:;
doclean:;
dodistclean:;
#
# $Id: Makefile.src,v 1.1 1993/10/07 23:10:24 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
SUBDIRS = man
all:;
depend:;
includes:;
libraries:;
binaries:;
@CLEAN@
@INSTALL_DESCEND@
doinstall:;
doclean:;
dodistclean:;
#
# $Id: Makefile.in,v 1.1 1993/10/07 23:10:31 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
@STDLYSKOM@
# +++FIXME-denna fil {r ej klar!
MANDIR = /usr/local/man
MANEXTS = 1 3 5 8
all:;
depend:;
clean:
$(RM) $(GENERIC-CLEAN)
for i in $(MANEXTS); \
do \
if [ -d man$$i ] ;then echo making clean in directory man$$i; \
(cd man$$i; $(RM) *~ core) ;fi \
done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(MANEXTS); \
do \
[ -d man$$i ] && { echo making clean in directory man$$i; \
(cd man$$i; $(RM) *.ps *.cat *.man *.txt $(GENERIC-DIST-CLEAN)) } \
done
install:
for i in $(MANEXTS); \
do \
[ -d man$$i ] && { for page in man$$i/*.$$i; \
do \
echo installing $$page; \
install $$page $(MANDIR)/man$$i; \
done } \
done
#
# $Id: Makefile.src,v 1.1 1993/10/07 23:10:31 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
@STDLYSKOM@
# +++FIXME-denna fil {r ej klar!
MANDIR = /usr/local/man
MANEXTS = 1 3 5 8
all:;
depend:;
clean:
$(RM) $(GENERIC-CLEAN)
for i in $(MANEXTS); \
do \
if [ -d man$$i ] ;then echo making clean in directory man$$i; \
(cd man$$i; $(RM) *~ core) ;fi \
done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(MANEXTS); \
do \
[ -d man$$i ] && { echo making clean in directory man$$i; \
(cd man$$i; $(RM) *.ps *.cat *.man *.txt $(GENERIC-DIST-CLEAN)) } \
done
install:
for i in $(MANEXTS); \
do \
[ -d man$$i ] && { for page in man$$i/*.$$i; \
do \
echo installing $$page; \
install $$page $(MANDIR)/man$$i; \
done } \
done
#
# $Id: Makefile.in,v 1.1 1993/10/07 23:10:41 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
all:;
depend:;
install:;
includes:;
libraries:;
binaries:;
@CLEAN@
doclean:;
dodistclean:;
#
# $Id: Makefile.src,v 1.1 1993/10/07 23:10:41 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
all:;
depend:;
install:;
includes:;
libraries:;
binaries:;
@CLEAN@
doclean:;
dodistclean:;
#
# $Id: Makefile.in,v 1.1 1993/10/07 23:10:47 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 1, or (at your option)
# any later version.
#
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING. If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
@STDLYSKOM@
SUBDIRS = include libraries server # komutils clients
all: includes libraries binaries
@ALL_DESCEND@
doincludes:;
dolibraries:;
dobinaries:;
doinstall:;
dodepend:;
doclean:;
dodistclean:;
#
# $Id: Makefile.src,v 1.1 1993/10/07 23:10:47 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
#
# LysKOM is free software; you can redistribute it and/or modify it