Commit b1cf2ec0 authored by Per Cederqvist's avatar Per Cederqvist

Vax support.

parent 0c8ce3ec
#!/bin/sh
#
# $Id: Config,v 1.9 1992/02/10 02:33:45 linus Exp $
# $Id: Config,v 1.10 1992/04/14 19:19:40 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: Config,v 1.9 1992/02/10 02:33:45 linus Exp $
# $Id: Config,v 1.10 1992/04/14 19:19:40 ceder Exp $
x=
......@@ -39,6 +39,8 @@ balance)
x=balance;;
sun3 | sun3os4 | sun4 | sun4os4 | sparc | sparcos4)
x=sun4os4;;
vax)
x=vax;;
*) echo Unsupported host type "$1".
x=error;;
esac
......
#
# $Id: INSTALL,v 1.9 1992/01/08 13:28:51 ceder Exp $
# $Id: INSTALL,v 1.10 1992/04/14 19:19:43 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -78,6 +78,9 @@ In the following, $T stands for the directory in which this file
declare most functions with full prototypes.
Set $H=balance
vax - A Vax 11/750 running bsd 4.3.
Set $H=vax
2) Edit $T/config/$H-defs.make.
......
/*
* $Id: vax-config.h,v 1.1 1992/04/14 19:19:48 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.
*/
#define RFC_931
#define HAVE_GETDTABLESIZE
#define ENCRYPT_PASSWORDS
#
# $Id: vax-defs.make,v 1.1 1992/04/14 19:19:51 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.
#
# $Id: vax-defs.make,v 1.1 1992/04/14 19:19:51 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
#
# This version is tuned for a Sparc running SunOS 4.1.1 and a lot
# of Gnu utilities.
SHELL=/bin/sh
AWK = gawk
SED = /usr/bin/sed
CC = gcc -ansi
RM = rm -f
RANLIB = ranlib
TOUCHLIB = ranlib -t
SYMLINK = ln -s
YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
INCLUDEDIR = $(TOPDIR)/include
LIBDIR = $(TOPDIR)/lib
ANSIDIR = $(INCLUDEDIR)/ansi
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR)
OPTIMIZE-FLAGS = -O
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) $(PROFILE-FLAGS)
LIBRESOLV = -lresolv
LIBIDENT = -lauthuser
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) $(PROFILE-FLAGS)
PROFILE-FLAGS =
PROFILE-LIB-SUFFIX =
# LysKOM executables that the typical user doesn't use go here.
# (The server, dbck, et c)
LYSKOMSYSBIN = /usr/lyskom/bin
# User executables (such as lyskom, kompost et c)
LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS =
# The Makefiles also dependes on the variables
# AR, ARFLAGS
# that are automatically set by GNU Make.
#
# $Id: Makefile,v 0.13 1992/04/14 15:43:11 ceder Exp $
# $Id: Makefile,v 0.14 1992/04/14 19:20:21 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -29,7 +29,7 @@ include $(SCRIPTDIR)/import.make
LIBNAME = libansi$(PROFILE-LIB-SUFFIX).a
LIBOBJS = strerror.o
LIBOBJS = strerror.o vprintf.o
all: $(LIBNAME)
......
#ifdef __vax__
#error "No vfprinf supported yet. Tell bug-lyskom@lysator.liu.se to fix this."
#endif
/*
* $Id: missing-ansi.c,v 0.5 1992/02/26 18:45:05 ceder Exp $
* $Id: missing-ansi.c,v 0.6 1992/04/14 19:20:27 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Written by ceder.
*/
static char *rcsid = "$Id: missing-ansi.c,v 0.5 1992/02/26 18:45:05 ceder Exp $";
static char *rcsid = "$Id: missing-ansi.c,v 0.6 1992/04/14 19:20:27 ceder Exp $";
#include <string.h>
......@@ -49,7 +49,7 @@ memcpy (void * s1, const void * s2, size_t n)
#endif
#if defined(__sequent__) || defined(__sun__)
#if defined(__sequent__) || defined(__sun__) || defined(__vax__)
extern double
difftime(time_t t1, time_t t2)
......
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