sync with 4.4-lite

This commit is contained in:
pk 1994-06-22 10:44:04 +00:00
parent c3357eea57
commit 7b93180ea2
16 changed files with 81 additions and 67 deletions

View File

@ -1,14 +1,14 @@
# from: @(#)Makefile 5.1 (Berkeley) 1/12/93
# $Id: Makefile,v 1.8 1993/12/04 06:05:53 cgd Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/19/94
# $Id: Makefile,v 1.9 1994/06/22 10:44:04 pk Exp $
PROG= config.new
SRCS= files.c gram.y hash.c main.c mkheaders.c mkioconf.c mkmakefile.c \
mkswap.c pack.c scan.l sem.c util.c
CFLAGS+=-I${.CURDIR} -I.
MAN8= config.new.0
LDADD+= -ll
DPADD+= ${LIBL}
CLEANFILES=gram.c scan.c y.tab.h
MAN8= config.new.0
.include <bsd.prog.mk>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)config.h 5.2 (Berkeley) 4/18/93
* $Id: config.h,v 1.4 1994/01/08 18:19:01 cgd Exp $
* from: @(#)config.h 8.1 (Berkeley) 6/6/93
* $Id: config.h,v 1.5 1994/06/22 10:44:06 pk Exp $
*/
/*

View File

@ -1,5 +1,5 @@
.\" Copyright (c) 1980, 1991 The Regents of the University of California.
.\" All rights reserved.
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@ -29,10 +29,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)config.8 5.1 (Berkeley) 1/12/93
.\" $Id: config.new.8,v 1.3 1993/12/20 22:42:55 davidb Exp $
.\" from: @(#)config.8 8.2 (Berkeley) 4/19/94
.\" $Id: config.new.8,v 1.4 1994/06/22 10:44:07 pk Exp $
.\"
.Dd January 12, 1993
.Dd April 19, 1994
.Dt CONFIG.NEW 8
.Os BSD 4
.Sh NAME
@ -44,6 +44,18 @@
.Ar system-name
.Sh DESCRIPTION
.Pp
This is the new version of the
.Nm config
program.
.\"It understands the more modern autoconfiguration scheme
.\"used on the SPARC and i386 platforms.
.\"The old version of config is still used with the
.\"HP300, DECstation, and derivative platforms.
.\"Only the version of
.\".Nm config
.\"applicable to the architecture that you are running
.\"will be installed on your machine.
.Pp
.Nm Config.new
builds a set of configuration files from the file
.Ar system-name ,
@ -145,6 +157,8 @@ The SYNOPSIS portion of each device in section 4.
.%T "Building 4.4 BSD Systems with Config"
.\" .%T "Device Support in 4.4BSD"
.Re
.sp
.Xr config 8
.Sh HISTORY
The
.Nm config

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)files.c 5.2 (Berkeley) 4/18/93
* $Id: files.c,v 1.2 1993/12/04 06:06:05 cgd Exp $
* from: @(#)files.c 8.1 (Berkeley) 6/6/93
* $Id: files.c,v 1.3 1994/06/22 10:44:08 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,8 +1,8 @@
%{
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -41,8 +41,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)gram.y 5.3 (Berkeley) 4/18/93
* $Id: gram.y,v 1.4 1994/01/08 18:19:36 cgd Exp $
* from: @(#)gram.y 8.1 (Berkeley) 6/6/93
* $Id: gram.y,v 1.5 1994/06/22 10:44:09 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)hash.c 5.2 (Berkeley) 4/18/93
* $Id: hash.c,v 1.4 1993/12/04 06:06:08 cgd Exp $
* from: @(#)hash.c 8.1 (Berkeley) 6/6/93
* $Id: hash.c,v 1.5 1994/06/22 10:44:10 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,14 +39,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)main.c 5.2 (Berkeley) 4/18/93
* $Id: main.c,v 1.4 1994/01/08 18:19:58 cgd Exp $
* from: @(#)main.c 8.1 (Berkeley) 6/6/93
* $Id: main.c,v 1.5 1994/06/22 10:44:12 pk Exp $
*/
#ifndef lint
char copyright[] =
"@(#) Copyright (c) 1992 The Regents of the University of California.\n\
All rights reserved.\n";
static char copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#include <sys/types.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)mkheaders.c 5.2 (Berkeley) 4/18/93
* $Id: mkheaders.c,v 1.2 1993/12/04 06:06:11 cgd Exp $
* from: @(#)mkheaders.c 8.1 (Berkeley) 6/6/93
* $Id: mkheaders.c,v 1.3 1994/06/22 10:44:14 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)mkioconf.c 5.5 (Berkeley) 5/10/93
* $Id: mkioconf.c,v 1.2 1993/12/04 06:06:12 cgd Exp $
* from: @(#)mkioconf.c 8.1 (Berkeley) 6/6/93
* $Id: mkioconf.c,v 1.3 1994/06/22 10:44:16 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)mkmakefile.c 5.3 (Berkeley) 5/24/93
* $Id: mkmakefile.c,v 1.4 1993/12/04 06:06:14 cgd Exp $
* from: @(#)mkmakefile.c 8.1 (Berkeley) 6/6/93
* $Id: mkmakefile.c,v 1.5 1994/06/22 10:44:18 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)mkswap.c 5.2 (Berkeley) 4/18/93
* $Id: mkswap.c,v 1.4 1994/06/10 13:08:34 pk Exp $
* from: @(#)mkswap.c 8.1 (Berkeley) 6/6/93
* $Id: mkswap.c,v 1.5 1994/06/22 10:44:19 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)pack.c 5.2 (Berkeley) 4/18/93
* $Id: pack.c,v 1.2 1993/12/04 06:06:17 cgd Exp $
* from: @(#)pack.c 8.1 (Berkeley) 6/6/93
* $Id: pack.c,v 1.3 1994/06/22 10:44:20 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,7 +1,7 @@
%{
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -40,8 +40,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)scan.l 5.2 (Berkeley) 4/18/93
* $Id: scan.l,v 1.3 1993/12/04 06:06:20 cgd Exp $
* from: @(#)scan.l 8.1 (Berkeley) 6/6/93
* $Id: scan.l,v 1.4 1994/06/22 10:44:21 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)sem.c 5.2 (Berkeley) 4/18/93
* $Id: sem.c,v 1.3 1993/12/04 06:06:22 cgd Exp $
* from: @(#)sem.c 8.1 (Berkeley) 6/6/93
* $Id: sem.c,v 1.4 1994/06/22 10:44:24 pk Exp $
*/
#include <sys/param.h>

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)sem.h 5.2 (Berkeley) 4/18/93
* $Id: sem.h,v 1.3 1993/12/04 06:06:25 cgd Exp $
* from: @(#)sem.h 8.1 (Berkeley) 6/6/93
* $Id: sem.h,v 1.4 1994/06/22 10:44:26 pk Exp $
*/
void enddefs __P((const char *));

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
@ -39,8 +39,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)util.c 5.2 (Berkeley) 4/18/93
* $Id: util.c,v 1.5 1993/12/04 06:06:27 cgd Exp $
* from: @(#)util.c 8.1 (Berkeley) 6/6/93
* $Id: util.c,v 1.6 1994/06/22 10:44:27 pk Exp $
*/
#include <ctype.h>