head	1.38;
access;
symbols
	RELENG_8_4:1.38.0.2
	RELENG_9_1_0_RELEASE:1.37.2.1.4.2
	RELENG_9_1:1.37.2.1.0.4
	RELENG_9_1_BP:1.37.2.1
	RELENG_8_3_0_RELEASE:1.36.2.1.8.1
	RELENG_8_3:1.36.2.1.0.8
	RELENG_8_3_BP:1.36.2.1
	RELENG_9_0_0_RELEASE:1.37.2.1.2.1
	RELENG_9_0:1.37.2.1.0.2
	RELENG_9_0_BP:1.37.2.1
	RELENG_9:1.37.0.2
	RELENG_9_BP:1.37
	RELENG_7_4_0_RELEASE:1.30.12.1
	RELENG_8_2_0_RELEASE:1.36.2.1.6.1
	RELENG_7_4:1.30.0.12
	RELENG_7_4_BP:1.30
	RELENG_8_2:1.36.2.1.0.6
	RELENG_8_2_BP:1.36.2.1
	RELENG_8_1_0_RELEASE:1.36.2.1.4.1
	RELENG_8_1:1.36.2.1.0.4
	RELENG_8_1_BP:1.36.2.1
	RELENG_7_3_0_RELEASE:1.30.10.1
	RELENG_7_3:1.30.0.10
	RELENG_7_3_BP:1.30
	RELENG_8_0_0_RELEASE:1.36.2.1.2.1
	RELENG_8_0:1.36.2.1.0.2
	RELENG_8_0_BP:1.36.2.1
	RELENG_8:1.36.0.2
	RELENG_8_BP:1.36
	RELENG_7_2_0_RELEASE:1.30.8.1
	RELENG_7_2:1.30.0.8
	RELENG_7_2_BP:1.30
	RELENG_7_1_0_RELEASE:1.30.6.1
	RELENG_6_4_0_RELEASE:1.27.14.2.6.1
	RELENG_7_1:1.30.0.6
	RELENG_7_1_BP:1.30
	RELENG_6_4:1.27.14.2.0.6
	RELENG_6_4_BP:1.27.14.2
	RELENG_7_0_0_RELEASE:1.30
	RELENG_6_3_0_RELEASE:1.27.14.2
	RELENG_7_0:1.30.0.4
	RELENG_7_0_BP:1.30
	RELENG_6_3:1.27.14.2.0.4
	RELENG_6_3_BP:1.27.14.2
	RELENG_7:1.30.0.2
	RELENG_7_BP:1.30
	RELENG_6_2_0_RELEASE:1.27.14.2
	RELENG_6_2:1.27.14.2.0.2
	RELENG_6_2_BP:1.27.14.2
	RELENG_5_5_0_RELEASE:1.27
	RELENG_5_5:1.27.0.18
	RELENG_5_5_BP:1.27
	RELENG_6_1_0_RELEASE:1.27.14.1
	RELENG_6_1:1.27.14.1.0.2
	RELENG_6_1_BP:1.27.14.1
	RELENG_6_0_0_RELEASE:1.27
	RELENG_6_0:1.27.0.16
	RELENG_6_0_BP:1.27
	RELENG_6:1.27.0.14
	RELENG_6_BP:1.27
	RELENG_5_4_0_RELEASE:1.27
	RELENG_5_4:1.27.0.12
	RELENG_5_4_BP:1.27
	RELENG_4_11_0_RELEASE:1.13.2.5
	RELENG_4_11:1.13.2.5.0.10
	RELENG_4_11_BP:1.13.2.5
	RELENG_5_3_0_RELEASE:1.27
	RELENG_5_3:1.27.0.10
	RELENG_5_3_BP:1.27
	RELENG_5:1.27.0.8
	RELENG_5_BP:1.27
	RELENG_4_10_0_RELEASE:1.13.2.5
	RELENG_4_10:1.13.2.5.0.8
	RELENG_4_10_BP:1.13.2.5
	RELENG_5_2_1_RELEASE:1.27
	RELENG_5_2_0_RELEASE:1.27
	RELENG_5_2:1.27.0.6
	RELENG_5_2_BP:1.27
	RELENG_4_9_0_RELEASE:1.13.2.5
	RELENG_4_9:1.13.2.5.0.6
	RELENG_4_9_BP:1.13.2.5
	RELENG_5_1_0_RELEASE:1.27
	RELENG_5_1:1.27.0.4
	RELENG_5_1_BP:1.27
	RELENG_4_8_0_RELEASE:1.13.2.5
	RELENG_4_8:1.13.2.5.0.4
	RELENG_4_8_BP:1.13.2.5
	RELENG_5_0_0_RELEASE:1.27
	RELENG_5_0:1.27.0.2
	RELENG_5_0_BP:1.27
	RELENG_4_7_0_RELEASE:1.13.2.5
	RELENG_4_7:1.13.2.5.0.2
	RELENG_4_7_BP:1.13.2.5
	RELENG_4_6_2_RELEASE:1.13.2.3
	RELENG_4_6_1_RELEASE:1.13.2.3
	RELENG_4_6_0_RELEASE:1.13.2.3
	RELENG_4_6:1.13.2.3.0.2
	RELENG_4_6_BP:1.13.2.3
	RELENG_4_5_0_RELEASE:1.13.2.2
	RELENG_4_5:1.13.2.2.0.4
	RELENG_4_5_BP:1.13.2.2
	RELENG_4_4_0_RELEASE:1.13.2.2
	RELENG_4_4:1.13.2.2.0.2
	RELENG_4_4_BP:1.13.2.2
	KSE_MILESTONE_2:1.24
	KSE_PRE_MILESTONE_2:1.24
	RELENG_4_3_0_RELEASE:1.13.2.1
	RELENG_4_3:1.13.2.1.0.2
	RELENG_4_3_BP:1.13.2.1
	RELENG_4_2_0_RELEASE:1.13.2.1
	RELENG_4_1_1_RELEASE:1.13.2.1
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.13.2.1
	RELENG_4_0_0_RELEASE:1.13
	RELENG_4:1.13.0.2
	RELENG_4_BP:1.13
	POST_VFS_BIO_NFS_PATCH:1.2
	PRE_VFS_BIO_NFS_PATCH:1.2
	POST_SMP_VMSHARE:1.2
	PRE_SMP_VMSHARE:1.2
	POST_NEWBUS:1.2
	PRE_NEWBUS:1.2;
locks; strict;
comment	@# @;


1.38
date	2012.11.17.01.53.00;	author svnexp;	state Exp;
branches
	1.38.2.1;
next	1.37;

1.37
date	2010.08.23.06.13.29;	author imp;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2009.06.08.19.57.35;	author bz;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2009.06.06.17.01.44;	author rwatson;	state Exp;
branches;
next	1.34;

1.34
date	2009.05.08.20.06.37;	author ed;	state Exp;
branches;
next	1.33;

1.33
date	2009.02.12.14.44.15;	author n_hibma;	state Exp;
branches;
next	1.32;

1.32
date	2008.09.15.15.09.35;	author ed;	state Exp;
branches;
next	1.31;

1.31
date	2008.09.01.23.59.00;	author imp;	state Exp;
branches;
next	1.30;

1.30
date	2006.07.01.10.51.55;	author markm;	state Exp;
branches
	1.30.2.1
	1.30.6.1
	1.30.8.1
	1.30.10.1
	1.30.12.1;
next	1.29;

1.29
date	2006.01.26.19.21.27;	author alc;	state Exp;
branches;
next	1.28;

1.28
date	2005.10.14.23.30.16;	author yar;	state Exp;
branches;
next	1.27;

1.27
date	2002.08.12.01.36.20;	author rwatson;	state Exp;
branches
	1.27.8.1
	1.27.14.1;
next	1.26;

1.26
date	2002.01.10.03.52.54;	author msmith;	state Exp;
branches;
next	1.25;

1.25
date	2001.10.04.14.13.16;	author ru;	state Exp;
branches;
next	1.24;

1.24
date	2001.02.04.10.52.25;	author peter;	state Exp;
branches;
next	1.23;

1.23
date	2001.02.04.08.23.13;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	2001.01.06.14.00.23;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2000.11.29.10.40.53;	author sheldonh;	state Exp;
branches;
next	1.20;

1.20
date	2000.10.08.16.53.05;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	2000.10.04.07.20.24;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2000.08.31.22.54.01;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2000.06.03.07.40.19;	author bde;	state Exp;
branches;
next	1.16;

1.16
date	2000.05.27.01.14.18;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	2000.05.10.01.05.11;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2000.05.04.12.08.20;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.10.08.48.11;	author phantom;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2000.01.09.13.11.19;	author bde;	state Exp;
branches;
next	1.11;

1.11
date	2000.01.09.10.16.12;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	99.12.29.04.54.51;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	99.12.23.21.19.32;	author marcel;	state Exp;
branches;
next	1.8;

1.8
date	99.12.08.17.27.40;	author marcel;	state Exp;
branches;
next	1.7;

1.7
date	99.12.08.10.50.58;	author newton;	state Exp;
branches;
next	1.6;

1.6
date	99.11.28.18.53.25;	author bde;	state Exp;
branches;
next	1.5;

1.5
date	99.09.05.05.19.08;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.09.01.00.32.14;	author newton;	state Exp;
branches;
next	1.3;

1.3
date	99.08.28.00.47.42;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	99.02.06.07.48.24;	author bde;	state Exp;
branches;
next	1.1;

1.1
date	99.01.30.06.29.48;	author newton;	state Exp;
branches;
next	;

1.38.2.1
date	2012.11.17.01.53.00;	author svnexp;	state dead;
branches;
next	1.38.2.2;

1.38.2.2
date	2013.03.28.13.05.24;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.37.2.1.2.1
	1.37.2.1.4.1;
next	1.37.2.2;

1.37.2.2
date	2012.11.17.11.37.18;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.37.2.1.2.2;

1.37.2.1.2.2
date	2012.11.17.08.37.15;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.37.2.1.4.2;

1.37.2.1.4.2
date	2012.11.17.08.48.06;	author svnexp;	state Exp;
branches;
next	;

1.36.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.36.2.1.2.1
	1.36.2.1.4.1
	1.36.2.1.6.1
	1.36.2.1.8.1;
next	1.36.2.2;

1.36.2.2
date	2012.11.17.10.36.58;	author svnexp;	state Exp;
branches;
next	;

1.36.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.36.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.36.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.36.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.36.2.1.8.2;

1.36.2.1.8.2
date	2012.11.17.08.25.34;	author svnexp;	state Exp;
branches;
next	;

1.30.2.1
date	2012.11.17.08.06.57;	author svnexp;	state Exp;
branches;
next	;

1.30.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.30.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.30.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.30.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.30.12.2;

1.30.12.2
date	2012.11.17.08.17.28;	author svnexp;	state Exp;
branches;
next	;

1.27.8.1
date	2006.07.09.19.49.26;	author markm;	state Exp;
branches;
next	;

1.27.14.1
date	2006.02.10.00.38.07;	author yar;	state Exp;
branches;
next	1.27.14.2;

1.27.14.2
date	2006.07.09.15.38.31;	author markm;	state Exp;
branches
	1.27.14.2.6.1;
next	1.27.14.3;

1.27.14.3
date	2012.11.17.07.44.26;	author svnexp;	state Exp;
branches;
next	;

1.27.14.2.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.13.2.1
date	2000.07.07.01.30.28;	author obrien;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2001.04.25.11.24.16;	author ru;	state Exp;
branches;
next	1.13.2.3;

1.13.2.3
date	2002.02.20.15.51.33;	author ru;	state Exp;
branches;
next	1.13.2.4;

1.13.2.4
date	2002.07.18.13.31.28;	author ru;	state Exp;
branches;
next	1.13.2.5;

1.13.2.5
date	2002.08.07.16.32.00;	author ru;	state Exp;
branches;
next	1.13.2.6;

1.13.2.6
date	2012.11.17.07.26.35;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/svr4/Makefile 211690 2010-08-23 06:13:29Z imp $

.PATH:	${.CURDIR}/../../${MACHINE_CPUARCH}/svr4 ${.CURDIR}/../../compat/svr4
KMOD=	svr4
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h \
	vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c \
	svr4_misc.c svr4_ioctl.c svr4_stat.c svr4_filio.c \
	svr4_termios.c svr4_stream.c svr4_socket.c svr4_sockio.c \
	svr4_machdep.c svr4_resource.c svr4_ipc.c
OBJS=	svr4_locore.o 

SRCS+=	opt_ktrace.h opt_sysvipc.h

CLEANFILES=	svr4_assym.h svr4_genassym.o

svr4_assym.h: svr4_genassym.o
.if exists(@@)
svr4_assym.h: @@/kern/genassym.sh
.endif
	sh @@/kern/genassym.sh svr4_genassym.o > ${.TARGET}

svr4_locore.o: svr4_locore.s svr4_assym.h
	${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
		${.IMPSRC} -o ${.TARGET}

svr4_genassym.o: svr4_genassym.c svr4.h @@ machine
	${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}

.if !defined(KERNBUILDDIR) && defined(DEBUG)
opt_svr4.h:
	echo "#define DEBUG_SVR4 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.38.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:24 +0000
@
text
@d1 34
@


1.38.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 34
# $FreeBSD: releng/8.4/sys/modules/svr4/Makefile 193744 2009-06-08 19:57:35Z bz $

.PATH:	${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
KMOD=	svr4
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h \
	vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c \
	svr4_misc.c svr4_ioctl.c svr4_stat.c svr4_filio.c \
	svr4_termios.c svr4_stream.c svr4_socket.c svr4_sockio.c \
	svr4_machdep.c svr4_resource.c svr4_ipc.c
OBJS=	svr4_locore.o 

SRCS+=	opt_ktrace.h opt_sysvipc.h

CLEANFILES=	svr4_assym.h svr4_genassym.o

svr4_assym.h: svr4_genassym.o
.if exists(@@)
svr4_assym.h: @@/kern/genassym.sh
.endif
	sh @@/kern/genassym.sh svr4_genassym.o > ${.TARGET}

svr4_locore.o: svr4_locore.s svr4_assym.h
	${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
		${.IMPSRC} -o ${.TARGET}

svr4_genassym.o: svr4_genassym.c svr4.h @@ machine
	${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}

.if !defined(KERNBUILDDIR) && defined(DEBUG)
opt_svr4.h:
	echo "#define DEBUG_SVR4 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.37
log
@SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.37.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.37.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/modules/svr4/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.37.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.37.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/svr4/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.37.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.37.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/svr4/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.36
log
@SVN rev 193744 on 2009-06-08 19:57:35Z by bz

After r193232 rt_tables in vnet.h are no longer indirectly dependent on
the ROUTETABLES kernel option thus there is no need to include opt_route.h
anymore in all consumers of vnet.h and no longer depend on it for module
builds.

Remove the hidden include in flowtable.h as well and leave the two
explicit #includes in ip_input.c and ip_output.c.
@
text
@d3 1
a3 1
.PATH:	${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
@


1.36.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.36.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/svr4/Makefile 193744 2009-06-08 19:57:35Z bz $
@


1.36.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.36.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/svr4/Makefile 193744 2009-06-08 19:57:35Z bz $
@


1.36.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.36.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.36.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.35
log
@SVN rev 193588 on 2009-06-06 17:01:44Z by rwatson

Remove opt_mac.h generation for various kernel modules that no longer
require it.

Submitted by:	pjd
@
text
@d12 1
a12 1
SRCS+=	opt_ktrace.h opt_sysvipc.h opt_route.h
@


1.34
log
@SVN rev 191919 on 2009-05-08 20:06:37Z by ed

Burn TTY ioctl bridges in compat layers.

I really don't want any pieces of code to include ioctl_compat.h, so let
the ibcs2 and svr4 compat leave sgtty alone. If they want to support
sgtty, they should emulate it on top of termios, not sgtty.

The code has been marked with BURN_BRIDGES for a long time. ibcs2 and
svr4 are not really popular pieces of code anyway.
@
text
@d5 1
a5 1
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_mac.h opt_svr4.h \
@


1.33
log
@SVN rev 188516 on 2009-02-12 14:44:15Z by n_hibma

Fix a few problems related to building modules in /sys/modules (not
checked whether this applies to builds in /sys/*/compile/* as well):

- Create empty opt_*.h files were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
  disconnect it in the Makefile. were missing
  - Hook up svr4 to the build. It compiles fine here, so no reason to
    disconnect it in the Makefile.
@
text
@d7 1
a7 1
	svr4_misc.c svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c \
@


1.32
log
@SVN rev 183040 on 2008-09-15 15:09:35Z by ed

Allow COMPAT_SVR4 to be built without COMPAT_43.

It seems we only depend on COMPAT_43 to implement the send() and recv()
routines. We can easily implement them using sendto() and recvfrom(),
just like we do inside our very own C library.

I wasn't able to really test it, apart from simple compilation testing.
I've heard rumours that COMPAT_SVR4 is broken inside execve() anyway.
It's still worth to fix this, because I suspect we'll get rid of
COMPAT_43 somewhere in the future...

Reviewed by:	rdivacky
Discussed with:	jhb
@
text
@d12 2
@


1.31
log
@SVN rev 182668 on 2008-09-01 23:59:00Z by imp

Per email to arch@@ a little while ago (that was greeted with silence),
prefer the more common > ${.TARGET} over > opt_foo.h in modules
makefiles.
@
text
@d27 1
a27 5
.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_43 1" > ${.TARGET}

.if defined(DEBUG)
a30 1
.endif
@


1.30
log
@Housekeeping. Update for maintainers who have handed in their commit bits
or (in my case) no longer feel that oversight is necessary.
@
text
@d29 1
a29 1
	echo "#define COMPAT_43 1" > opt_compat.h
d33 1
a33 1
	echo "#define DEBUG_SVR4 1" > opt_svr4.h
@


1.30.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/svr4/Makefile 160063 2006-07-01 10:51:55Z markm $
@


1.30.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.30.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/svr4/Makefile 160063 2006-07-01 10:51:55Z markm $
@


1.30.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.30.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.30.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.29
log
@opt_vmpage.h is no longer needed here because it is not included by
vm_page.h.
@
text
@a2 2
MAINTAINER=	newton@@FreeBSD.org

@


1.28
log
@Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64
@
text
@d8 1
a8 1
	opt_vmpage.h vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c \
@


1.27
log
@Add opt_mac.h to dependencies for svr4 module, since I'm about to
commit the MAC checks for it.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
@
text
@d29 1
d37 1
@


1.27.8.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d3 2
@


1.27.14.1
log
@MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by:	re (kensmith, scottl)
Requested by:	ru
Tested on:	amd64 i386 sparc64
Tested by:	md5
@
text
@a28 1
.if !defined(KERNBUILDDIR)
a35 1
.endif
@


1.27.14.2
log
@MFC: MAINTAINER status quo
@
text
@d3 2
@


1.27.14.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/svr4/Makefile 160206 2006-07-09 15:38:31Z markm $
@


1.27.14.2.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.26
log
@genassym depends on the presence of common variables, disable the use
of -fno-common in this case.
@
text
@d7 5
a11 5
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \
	vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \
	svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c \
	svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \
	svr4_resource.c svr4_ipc.c
@


1.25
log
@Removed mentions of TARGET_ARCH from non-cross places.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.24 2001/02/04 10:52:25 peter Exp $
d27 1
a27 1
	${CC} -c ${CFLAGS} ${.IMPSRC}
@


1.24
log
@Zap obsolete (died with LKM) EXPORT_SYMS variable
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.23 2001/02/04 08:23:13 peter Exp $
d5 1
a5 3
TARGET_ARCH?=	${MACHINE_ARCH}

.PATH:	${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
@


1.23
log
@Zap some bad examples:
opt_foo.h:
	touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.22 2001/01/06 14:00:23 obrien Exp $
a15 1
EXPORT_SYMS=	_svr4_mod
@


1.22
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.21 2000/11/29 10:40:53 sheldonh Exp $
d35 1
d37 1
a37 3
	touch opt_svr4.h
.if defined(DEBUG)
	echo "#define DEBUG_SVR4 1" >> opt_svr4.h
@


1.21
log
@Decommission the svr4(8) shell script, which has been pointless since
our kernel module system learned how to handle dependencies.

Providing a whole bunch of shell scripts that do nothing but load
a similarly named kernel loadable module is out of vogue.

The svr4(8) manual page has been replaced with a much better svr4(4)
page.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.20 2000/10/08 16:53:05 obrien Exp $
d16 2
a17 2
EXPORT_SYMS=_svr4_mod
CLEANFILES= svr4_assym.h svr4_genassym.o
d19 1
a19 1
svr4_assym.h:	svr4_genassym.o
d21 1
a21 1
svr4_assym.h:	@@/kern/genassym.sh
d25 1
a25 1
svr4_locore.o:	svr4_locore.s svr4_assym.h
d29 1
a29 1
svr4_genassym.o:	svr4_genassym.c svr4.h @@ machine
@


1.20
log
@Don't install manpages.
They are being moved elsewhere, and they are causing problems being here.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.19 2000/10/04 07:20:24 obrien Exp $
a38 6
.endif

.if exists(${DESTDIR}/usr/bin)
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4
@


1.19
log
@Only install secondary components if the destination directory exists.
This may be a WIP, but `make release' needs it sooner than later.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.18 2000/08/31 22:54:01 obrien Exp $
a14 3
.if exists(${DESTDIR}/usr/share/man/man8)
MAN8=	svr4.8
.endif
@


1.18
log
@Cleanup after repo copy of sys/svr4 to sys/compat/svr4.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.17 2000/06/03 07:40:19 bde Exp $
d15 1
d17 1
d44 1
d48 1
@


1.17
log
@Use the genassym script here too.  The linux and svr4 modules were broken.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.16 2000/05/27 01:14:18 peter Exp $
d7 1
a7 1
.PATH:	${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../svr4
@


1.16
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.15 2000/05/10 01:05:11 obrien Exp $
d21 4
a24 1
	genassym ${.ALLSRC} > ${.TARGET}
@


1.15
log
@Support non-i386 architectures.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.14 2000/05/04 12:08:20 peter Exp $
d43 1
a43 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.14
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.13 2000/01/10 08:48:11 phantom Exp $
d5 3
a7 1
.PATH:	${.CURDIR}/../../i386/svr4 ${.CURDIR}/../../svr4
@


1.13
log
@. add manpage for svr4(8)
. s/freebsd/FreeBSD
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.12 2000/01/09 13:11:19 bde Exp $
d41 1
a41 1
.include <bsd.kmod.mk>
@


1.13.2.1
log
@MFC: rev 1.1{4,6} (use sys/conf/kmod.mk to make /sys self contained)
     rev 1.15 (make MI)
     rev 1.17 (use getassym script)
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 3
TARGET_ARCH?=	${MACHINE_ARCH}

.PATH:	${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../svr4
d19 1
a19 4
.if exists(@@)
svr4_assym.h:	@@/kern/genassym.sh
.endif
	sh @@/kern/genassym.sh svr4_genassym.o > ${.TARGET}
@


1.13.2.2
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.13.2.1 2000/07/07 01:30:28 obrien Exp $
d15 1
a15 1
MAN=	svr4.8
@


1.13.2.3
log
@MFC: Removed mentions of TARGET_ARCH from non cross-tools.
@
text
@d1 1
a1 1
# $FreeBSD$
d5 3
a7 1
.PATH:	${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../svr4
@


1.13.2.4
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d41 1
a41 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.13.2.5
log
@MFC: Drop support for COPY.
@
text
@d41 1
a41 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.13.2.6
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/svr4/Makefile 101469 2002-08-07 16:32:02Z ru $
@


1.12
log
@Cleaned up options handling:
- don't generate unusable headers or #defines.
- removed duplicate opt_svr4.h in CLEANFILES.
- removed bogus dependency of svr4.h on options headers.
@
text
@d1 3
a3 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.11 2000/01/09 10:16:12 bde Exp $
a12 1
NOMAN=1
a13 1
MAINTAINER=	newton@@freebsd.org
@


1.11
log
@Compile svr4_genassym.c with ordinary ${CFLAGS}.  The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from CFLAGS.

Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.10 1999/12/29 04:54:51 peter Exp $
d5 1
a5 1
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_global.h opt_vmpage.h \
d9 1
a9 1
	svr4_resource.c svr4_ipc.c opt_svr4.h
d16 1
a16 3
CLEANFILES= svr4_assym.h svr4_genassym.o opt_svr4.h

svr4.h:	opt_global.h opt_svr4.h
d32 1
a32 1
	echo "#define COMPAT_SVR4 1" > opt_svr4.h
a35 3

opt_global.h:
	touch opt_global.h
@


1.10
log
@Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.  "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.9 1999/12/23 21:19:32 marcel Exp $
a12 1
CFLAGS+= -D_KERNEL
d21 1
a21 1
	genassym -o ${.TARGET} ${.ALLSRC}
d24 1
a24 1
	${CC} -c -x assembler-with-cpp -DLOCORE -D_KERNEL ${CFLAGS} \
d28 1
a28 1
	${CC} -c ${CFLAGS} -U_KERNEL ${.IMPSRC}
@


1.9
log
@Use genassym(1) and <sys/assym.h> to generate assembler symbols.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.8 1999/12/08 17:27:40 marcel Exp $
d13 1
a13 1
CFLAGS+= -DKERNEL
d25 1
a25 1
	${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \
d29 1
a29 1
	${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC}
@


1.8
log
@Add opt_svr4.h to SRCS. This fixes make depend.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.7 1999/12/08 10:50:58 newton Exp $
d17 1
a17 3
CLEANFILES= svr4_assym.h svr4_genassym svr4_genassym.o opt_svr4.h

build-tools: svr4_genassym
d21 2
a22 2
svr4_assym.h:	svr4_genassym
	./svr4_genassym > svr4_assym.h
a29 3

svr4_genassym:	svr4_genassym.o
	${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
@


1.7
log
@SVR4 emulator source files now take their compilation options from
opt_global.h and opt_svr4.h, instead of from the command line.  This
brings them in-line with most of the rest of the kernel.

svr4_ioctl.c has also failed to compile with debugging for a while
now;  fixed by adding systm.h and socketvar.

Some svr4 source files are automatically generated from syscalls.master;
these have been committed as consequential changes, otherwise everyone
will have to "make svr4_sysent.c".

Changes:

sys/svr4/svr4.h			include opt_global.h and opt_svr4.h
sys/svr4/svr4_ioctl.c		include svr4.h, sys/systm.h and sys/socketvar.h
sys/svr4/svr4_ipc.c		include svr4.h
sys/svr4/svr4_resource.c 	include svr4.h
sys/svr4/svr4_socket.c		include svr4.h
sys/svr4/svr4_ttold.c		include svr4.h
sys/svr4/syscalls.master	include svr4.h
sys/svr4/svr4_syscallnames.c	dependent on syscalls.master
sys/svr4/svr4_sysent.c		dependent on syscalls.master
sys/svr4/svr4_syscall.h		dependent on syscalls.master
sys/svr4/svr4_proto.h		dependent on syscalls.master
sys/modules/svr4/Makefile	create opt_global.h and opt_svr4.h
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.6 1999/11/28 18:53:25 bde Exp $
d9 1
a9 1
	svr4_resource.c svr4_ipc.c
@


1.6
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.5 1999/09/05 05:19:08 obrien Exp $
d5 5
a9 5
SRCS=	svr4_sysent.c svr4_sysvec.c opt_compat.h opt_vmpage.h vnode_if.h \
	imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c svr4_ioctl.c \
	svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c svr4_stream.c \
	svr4_socket.c svr4_sockio.c svr4_machdep.c svr4_resource.c \
	svr4_ipc.c
a15 5
CFLAGS+= -DCOMPAT_SVR4
.if defined(DEBUG)
CFLAGS+= -DDEBUG_SVR4
.endif

d17 1
a17 1
CLEANFILES= svr4_assym.h svr4_genassym svr4_genassym.o
d21 2
d38 9
@


1.5
log
@Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.

related to PR:		13545
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.4 1999/09/01 00:32:14 newton Exp $
d22 1
a22 2
CLEANFILES+= vnode_if.h vnode_if.c svr4_genassym.o svr4_genassym \
	svr4_assym.h opt_compat.h opt_vmpage.h
a40 3

opt_vmpage.h:
	touch opt_vmpage.h
@


1.4
log
@Add MAINTAINER line
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/svr4/Makefile,v 1.3 1999/08/28 00:47:42 peter Exp $
d48 1
a48 1
		${.CURDIR}/svr4.sh ${DESTDIR}/usr/bin/svr4
@


1.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
@


1.2
log
@Honor ${LDFLAGS} for building svr4_genassym.  This is part of fixing
world breakage (mainly for cross-world cases).  The world Makefile
attempts to build tools static so that nonexistent or wrong shared
libraries and interpreters don't get used.  This is broken anyway
since the world Makefile doesn't know about svr4_genassym.

Force building svr4_genassym static.  This is part of "fixing"
aout-to-elf-build breakage.  aout-to-elf-build abuses NOTOOLS to
avoid rebuilding all the aout tools.  This saves time and avoids
some complications.  However, it breaks all the internal tools --
they get linked to target libraries which might not work.  Cases
where the host can run the target's static libraries are "fixed"
by encrufting all Makefiles that build internal tools to build the
tools static.

Don't add .depend to CLEANFILES -- it just breaks the separation of
`make cleandepend' from `make clean'.

Removed some superflous explicit dependencies.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1999/01/30 06:29:48 newton Exp $
@


1.1
log
@Emulator KLD for SysVR4 executables grabbed from NetBSD.
See http://www.freebsd.org/~newton/freebsd-svr4 for limitations,
capabilities, history and TO-DO list.
@
text
@d1 1
a1 1
#	$Id$
d22 1
a22 1
	svr4_assym.h opt_compat.h opt_vmpage.h .depend
d37 1
a37 3
	${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}

svr4_sysvec.o: opt_vmpage.h opt_compat.h
@
