Commit 1737638e authored by Per Cederqvist's avatar Per Cederqvist

Initial checkin.

parent d470b169
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:12 ceder Exp $
# Copyright (C) 1998 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 = doc scripts src run-support db-crypt
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:14 ceder Exp $
# Copyright (C) 1998 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.
#
# FIXME: for install
# if [ ! -f $(dbdir)/lyskomd-data ] && [ ! -f $(dbdir)/lyskomd-texts ];\
# then cp $(srcdir)/db-crypt/db/lyskomd-data $(dbdir)/lyskomd-data && \
# cp $(srcdir)/db-crypt/db/lyskomd-texts $(dbdir)/lyskomd-texts ;\
# else true; fi
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:16 ceder Exp $
# Copyright (C) 1998 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
EXTRA_DIST = ADMINISTRATION misc_items prot-A.txt \
server-async.extend server.extend what-is-unread.swe \
server-config.extend Makefile.src .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:19 ceder Exp $
# Copyright (C) 1998 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.
#
man_MANS = lyskom.5 dbck.8 lyskomd.8 updateLysKOM.8
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:21 ceder Exp $
# Copyright (C) 1998 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.
#
EXTRA_DIST = lyskomd-copyrights update-copyright .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:23 ceder Exp $
# Copyright (C) 1998 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 = include libraries server
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:26 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_HEADERS = compiler.h debug.h kom-types.h config.h kom-errno.h \
misc-types.h services.h rcs.h
SUBDIRS = server
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:29 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_HEADERS = smalloc.h
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:32 ceder Exp $
# Copyright (C) 1998 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 = libisc-new libansi regex libcommon libmisc @GNUMALLOC@
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:35 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_LIBRARIES = libgmalloc.a
libgmalloc_a_SOURCES = mcheck.c mtrace.c mstats.c
vm-limit.c ralloc.c malloc-find.c malloc.h
libgmalloc_a_LIBADD = gmalloc.o
gmalloc=gmalloc-head.c malloc.h valloc.c malloc.c free.c cfree.c \
realloc.c calloc.c morecore.c memalign.c
gmalloc.c: $(gmalloc)
$(RM) $@.tmp $@
cat $+ > $@.tmp
chmod a-w $@.tmp
mv -f $@.tmp $@
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:38 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_LIBRARIES = libansi.a
libansi_a_SOURCES = empty.c
libansi_a_LIBADD = @LIBOBJS@
EXTRA_DIST = .cvsignore
INCLUDES = -I$(srcdir)/../../include
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:41 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_LIBRARIES = liblyskom-server.a
liblyskom_server_a_SOURCES = kom-errno.c misc-parser.c parser.c \
misc-parser.h parser.h
EXTRA_DIST = .cvsignore
INCLUDES = -I$(srcdir)/../../include -I$(srcdir)/../libmisc
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:44 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_LIBRARIES = libmisc.a
libmisc_a_SOURCES = pom.c s-collat-tabs.c s-string.c zmalloc.c ldifftime.c \
pom.h s-collat-tabs.h s-string.h zmalloc.h ldifftime.h
EXTRA_DIST = .cvsignore
INCLUDES = -I$(srcdir)/../../include
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:47 ceder Exp $
# Copyright (C) 1998 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.
#
noinst_LIBRARIES = libregex.a
libregex_a_SOURCES = regex.c regex.h
EXTRA_DIST = .cvsignore
# $Id: Makefile.am,v 1.1 1998/07/08 12:47:49 ceder Exp $
# Copyright (C) 1998 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.
#
INCLUDES = -DSERVER -DDEFAULT_PREFIX='"$(prefix)"' \
-I$(srcdir)/../include \
-I$(srcdir)/../libraries/libmisc \
-I$(srcdir)/../libraries/libisc-new/src \
-I$(srcdir)/../libraries/regex \
-I$(srcdir)/../libraries/libcommon
top_srcdir = @top_srcdir@
bin_PROGRAMS = lyskomd dbck updateLysKOM
lyskomd_SOURCES = $(DISKOBJS) $(GENOBJS)
updateLysKOM_SOURCES = updateLysKOM.c
dbck_SOURCES = $(DBCK)
LDADD = ../libraries/libisc-new/src/libisc.a \
../libraries/libmisc/libmisc.a \
../libraries/libcommon/liblyskom-server.a \
../libraries/regex/libregex.a \
../libraries/libansi/libansi.a
# Files that implements protocol A.
PROTA = prot-a-output.c prot-a-parse-arg.c prot-a-parse.c prot-a.c \
prot-a-send-async.c
MUX = mux.c mux-parse.c
# Implementations of the atomic calls.
ATOMS = text.c membership.c person.c conference.c session.c admin.c \
regex-match.c aux-items.c
# These files are needed by all versions of the LysKOM server.
GENOBJS = connections.c log.c $(ATOMS) \
send-async.c server-config.c text-garb.c \
isc-parse.c memory.c $(PROTA) $(MUX) \
internal-connections.c rfc931.c isc-malloc.c \
conf-file.c local-to-global.c
# Files for lyskomd.
DISKOBJS = ramkomd.c ram-smalloc.c simple-cache.c ram-parse.c ram-output.c \
disk-end-of-atomic.c cache-node.c string-malloc.c version-info.c \
aux-item-def.tab.c aux-item-def.lex.c
# Files for dbck.
GETOPT = getopt.c getopt1.c
DBCK = dbck.c dbck-cache.c ram-smalloc.c ram-parse.c server-config.c\
ram-output.c memory.c conf-file.c $(GETOPT) version-info.c
# Files for encrypt (a program to transform the database from unencrypted
# apasswords to encrypted). No longer supported.
ENCRYPT = encrypt-passwd.c dbck-cache.c ram-smalloc.c ram-parse.c \
server-config.c\
ram-output.c memory.c
BUILT_SOURCES = prot-a-parse-arg.c version-info.c \
call-switch.incl com.h fnc-def-init.incl \
prot-a-parse-arg.h fncdef-no-str-limit.txt .gdbinit \
version.incl
call-switch.incl: call-switch.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/call-switch.awk fncdef-no-str-limit.txt \
> call-switch.incl
com.h: com-h.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/com-h.awk fncdef-no-str-limit.txt > com.h
fnc-def-init.incl: fnc-def-init.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/fnc-def-init.awk fncdef-no-str-limit.txt \
> fnc-def-init.incl
aux-item-def.tab.c: aux-item-def.y
$(BISON) -d -p aux_item_def_ -o aux-item-def.tab.c aux-item-def.y
aux-item-def.lex.c: aux-item-def.l
$(FLEX) -oaux-item-def.lex.c aux-item-def.l
prot-a-parse-arg.c: prot-a-parse-arg-c.awk fncdef.txt prot-a-parse-arg.h
$(AWK) -f $(srcdir)/prot-a-parse-arg-c.awk $(srcdir)/fncdef.txt \
> prot-a-parse-arg.c
prot-a-parse-arg.h: prot-a-parse-arg-h.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/prot-a-parse-arg-h.awk \
fncdef-no-str-limit.txt > prot-a-parse-arg.h
fncdef-no-str-limit.txt: fncdef.txt
(echo \# Do not edit this file! It is generated from fncdef.txt.;\
cat $(srcdir)/fncdef.txt) \
| sed 's/([^)]*)//g' > fncdef-no-str-limit.txt
version.incl: $(top_srcdir)/versions
echo '/* Do not edit -- automaticaly generated file */' > $@.tmp
sed -n 's/SERVER-COMPAT-VERSION: //p' $(top_srcdir)/versions >>$@.tmp
echo '/* Do not edit -- automaticaly generated file */' >>$@.tmp
mv $@.tmp $@
version-info.c: $(top_srcdir)/versions
echo '/* Do not edit -- automaticaly generated file */' > $@.tmp
echo '#include <limits.h>' >>$@.tmp
echo '#include <sys/types.h>' >>$@.tmp
echo '#include "misc-types.h"' >>$@.tmp
echo '#include "s-string.h"' >>$@.tmp
echo '#include "kom-types.h"' >>$@.tmp
echo '#include "version-info.h"' >>$@.tmp
echo 'Version_info_internal kom_version_info = {' >>$@.tmp
sed -n 's/PROTOCOL-A-LEVEL: \(.*\)/ \1,/p' \
$(top_srcdir)/versions >>$@.tmp
sed -n 's/SERVER-SOFTWARE: \(.*\)/ "\1",/p' \
$(top_srcdir)/versions >>$@.tmp
sed -n 's/SERVER-VERSION: \(.*\)/ "\1"/p' \
$(top_srcdir)/versions >>$@.tmp
echo '};' >>$@.tmp
echo '/* Do not edit -- automaticaly generated file */' >>$@.tmp
mv $@.tmp $@
.gdbinit:
$(RM) -f .gdbinit
echo handle 13 nostop noprint >.gdbinit
echo dir $(top_srcdir)/src/libraries/libcommon >>.gdbinit
echo dir $(top_srcdir)/src/libraries/libansi >>.gdbinit
echo dir $(top_srcdir)/src/libraries/libisc-new >>.gdbinit
echo dir $(top_srcdir)/src/libraries/libmisc >>.gdbinit
echo dir $(top_srcdir)/src/libraries/gnumalloc >>.gdbinit
# Make sure these gets recompiled if $(prefix) changes.
server-config.o: Makefile
updateLysKOM.o: Makefile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment