head	1.31;
access;
symbols
	RELENG_8_4:1.31.0.2
	RELENG_9_1_0_RELEASE:1.30.4.1.4.2
	RELENG_9_1:1.30.4.1.0.4
	RELENG_9_1_BP:1.30.4.1
	RELENG_8_3_0_RELEASE:1.30.2.1.8.1
	RELENG_8_3:1.30.2.1.0.8
	RELENG_8_3_BP:1.30.2.1
	RELENG_9_0_0_RELEASE:1.30.4.1.2.1
	RELENG_9_0:1.30.4.1.0.2
	RELENG_9_0_BP:1.30.4.1
	RELENG_9:1.30.0.4
	RELENG_9_BP:1.30
	RELENG_7_4_0_RELEASE:1.29.12.1
	RELENG_8_2_0_RELEASE:1.30.2.1.6.1
	RELENG_7_4:1.29.0.12
	RELENG_7_4_BP:1.29
	RELENG_8_2:1.30.2.1.0.6
	RELENG_8_2_BP:1.30.2.1
	RELENG_8_1_0_RELEASE:1.30.2.1.4.1
	RELENG_8_1:1.30.2.1.0.4
	RELENG_8_1_BP:1.30.2.1
	RELENG_7_3_0_RELEASE:1.29.10.1
	RELENG_7_3:1.29.0.10
	RELENG_7_3_BP:1.29
	RELENG_8_0_0_RELEASE:1.30.2.1.2.1
	RELENG_8_0:1.30.2.1.0.2
	RELENG_8_0_BP:1.30.2.1
	RELENG_8:1.30.0.2
	RELENG_8_BP:1.30
	RELENG_7_2_0_RELEASE:1.29.8.1
	RELENG_7_2:1.29.0.8
	RELENG_7_2_BP:1.29
	RELENG_7_1_0_RELEASE:1.29.6.1
	RELENG_6_4_0_RELEASE:1.28.2.1.8.1
	RELENG_7_1:1.29.0.6
	RELENG_7_1_BP:1.29
	RELENG_6_4:1.28.2.1.0.8
	RELENG_6_4_BP:1.28.2.1
	RELENG_7_0_0_RELEASE:1.29
	RELENG_6_3_0_RELEASE:1.28.2.1
	RELENG_7_0:1.29.0.4
	RELENG_7_0_BP:1.29
	RELENG_6_3:1.28.2.1.0.6
	RELENG_6_3_BP:1.28.2.1
	RELENG_7:1.29.0.2
	RELENG_7_BP:1.29
	RELENG_6_2_0_RELEASE:1.28.2.1
	RELENG_6_2:1.28.2.1.0.4
	RELENG_6_2_BP:1.28.2.1
	RELENG_5_5_0_RELEASE:1.27
	RELENG_5_5:1.27.0.12
	RELENG_5_5_BP:1.27
	RELENG_6_1_0_RELEASE:1.28.2.1
	RELENG_6_1:1.28.2.1.0.2
	RELENG_6_1_BP:1.28.2.1
	RELENG_6_0_0_RELEASE:1.28
	RELENG_6_0:1.28.0.4
	RELENG_6_0_BP:1.28
	RELENG_6:1.28.0.2
	RELENG_6_BP:1.28
	RELENG_5_4_0_RELEASE:1.27
	RELENG_5_4:1.27.0.10
	RELENG_5_4_BP:1.27
	RELENG_4_11_0_RELEASE:1.19.2.1
	RELENG_4_11:1.19.2.1.0.16
	RELENG_4_11_BP:1.19.2.1
	RELENG_5_3_0_RELEASE:1.27
	RELENG_5_3:1.27.0.8
	RELENG_5_3_BP:1.27
	RELENG_5:1.27.0.6
	RELENG_5_BP:1.27
	RELENG_4_10_0_RELEASE:1.19.2.1
	RELENG_4_10:1.19.2.1.0.14
	RELENG_4_10_BP:1.19.2.1
	RELENG_5_2_1_RELEASE:1.27
	RELENG_5_2_0_RELEASE:1.27
	RELENG_5_2:1.27.0.4
	RELENG_5_2_BP:1.27
	RELENG_4_9_0_RELEASE:1.19.2.1
	RELENG_4_9:1.19.2.1.0.12
	RELENG_4_9_BP:1.19.2.1
	RELENG_5_1_0_RELEASE:1.27
	RELENG_5_1:1.27.0.2
	RELENG_5_1_BP:1.27
	RELENG_4_8_0_RELEASE:1.19.2.1
	RELENG_4_8:1.19.2.1.0.10
	RELENG_4_8_BP:1.19.2.1
	RELENG_5_0_0_RELEASE:1.26
	RELENG_5_0:1.26.0.2
	RELENG_5_0_BP:1.26
	RELENG_4_7_0_RELEASE:1.19.2.1
	RELENG_4_7:1.19.2.1.0.8
	RELENG_4_7_BP:1.19.2.1
	RELENG_4_6_2_RELEASE:1.19.2.1
	RELENG_4_6_1_RELEASE:1.19.2.1
	RELENG_4_6_0_RELEASE:1.19.2.1
	RELENG_4_6:1.19.2.1.0.6
	RELENG_4_6_BP:1.19.2.1
	RELENG_4_5_0_RELEASE:1.19.2.1
	RELENG_4_5:1.19.2.1.0.4
	RELENG_4_5_BP:1.19.2.1
	RELENG_4_4_0_RELEASE:1.19.2.1
	RELENG_4_4:1.19.2.1.0.2
	RELENG_4_4_BP:1.19.2.1
	KSE_MILESTONE_2:1.24
	KSE_PRE_MILESTONE_2:1.24
	RELENG_4_3_0_RELEASE:1.19
	RELENG_4_3:1.19.0.4
	RELENG_4_3_BP:1.19
	RELENG_4_2_0_RELEASE:1.19
	RELENG_4_1_1_RELEASE:1.19
	PRE_SMPNG:1.22
	RELENG_4_1_0_RELEASE:1.19
	RELENG_3_5_0_RELEASE:1.8.2.1
	RELENG_4_0_0_RELEASE:1.19
	RELENG_4:1.19.0.2
	RELENG_4_BP:1.19
	RELENG_3_4_0_RELEASE:1.8.2.1
	RELENG_3_3_0_RELEASE:1.8.2.1
	RELENG_3_2_PAO:1.8.0.4
	RELENG_3_2_PAO_BP:1.8
	RELENG_3_2_0_RELEASE:1.8
	POST_VFS_BIO_NFS_PATCH:1.9
	PRE_VFS_BIO_NFS_PATCH:1.9
	POST_SMP_VMSHARE:1.8
	PRE_SMP_VMSHARE:1.8
	POST_NEWBUS:1.8
	PRE_NEWBUS:1.8
	RELENG_3_1_0_RELEASE:1.8
	RELENG_3:1.8.0.2
	RELENG_3_BP:1.8
	RELENG_3_0_0_RELEASE:1.7
	old_RELENG_2_2_7_RELEASE:1.1
	old_RELENG_2_2_6_RELEASE:1.1
	old_RELENG_2_2_5_RELEASE:1.1
	old_RELENG_2_2_2_RELEASE:1.1
	old_RELENG_2_2_1_RELEASE:1.1
	old_RELENG_2_2_0_RELEASE:1.1
	old_RELENG_2_1_7_RELEASE:1.1
	old_RELENG_2_1_6_1_RELEASE:1.1
	old_RELENG_2_1_6_RELEASE:1.1
	old_RELENG_2_2:1.1.0.6
	old_RELENG_2_2_BP:1.1
	old_RELENG_2_1_5_RELEASE:1.1
	old_RELENG_2_1_0_RELEASE:1.1
	old_RELENG_2_1_0:1.1.0.4
	old_RELENG_2_1_0_BP:1.1
	old_RELENG_2_0_5_RELEASE:1.1
	old_RELENG_2_0_5:1.1.0.2
	old_RELENG_2_0_5_BP:1.1
	old_RELENG_2_0_5_ALPHA:1.1;
locks; strict;
comment	@# @;


1.31
date	2012.11.17.01.52.56;	author svnexp;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2009.06.06.17.01.44;	author rwatson;	state Exp;
branches
	1.30.2.1
	1.30.4.1;
next	1.29;

1.29
date	2005.10.14.23.30.11;	author yar;	state Exp;
branches
	1.29.2.1
	1.29.6.1
	1.29.8.1
	1.29.10.1
	1.29.12.1;
next	1.28;

1.28
date	2004.12.29.08.45.48;	author imp;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2003.03.08.21.54.32;	author jlemon;	state Exp;
branches;
next	1.26;

1.26
date	2002.07.31.20.19.28;	author rwatson;	state Exp;
branches;
next	1.25;

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

1.24
date	2001.01.06.13.59.51;	author obrien;	state Exp;
branches;
next	1.23;

1.23
date	2000.09.26.19.25.14;	author bde;	state Exp;
branches;
next	1.22;

1.22
date	2000.09.02.19.17.08;	author phk;	state Exp;
branches;
next	1.21;

1.21
date	2000.05.27.01.13.49;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	2000.05.04.12.07.31;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	2000.01.29.01.11.03;	author brian;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2000.01.26.01.08.03;	author brian;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.24.20.38.55;	author brian;	state Exp;
branches;
next	1.16;

1.16
date	2000.01.23.10.41.48;	author brian;	state Exp;
branches;
next	1.15;

1.15
date	2000.01.23.01.47.59;	author brian;	state Exp;
branches;
next	1.14;

1.14
date	99.11.28.18.52.54;	author bde;	state Exp;
branches;
next	1.13;

1.13
date	99.09.27.01.04.39;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	99.09.27.00.33.59;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.08.28.00.47.19;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	99.07.06.19.23.09;	author des;	state Exp;
branches;
next	1.9;

1.9
date	99.04.28.01.18.08;	author msmith;	state Exp;
branches;
next	1.8;

1.8
date	99.01.17.20.53.47;	author peter;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	98.10.16.04.30.45;	author peter;	state Exp;
branches;
next	1.6;

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

1.5
date	98.01.24.02.21.49;	author eivind;	state Exp;
branches;
next	1.4;

1.4
date	98.01.08.23.50.27;	author eivind;	state Exp;
branches;
next	1.3;

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

1.2
date	97.01.14.06.21.59;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	95.03.20.19.25.49;	author wollman;	state Exp;
branches;
next	;

1.31.2.1
date	2012.11.17.01.52.56;	author svnexp;	state dead;
branches;
next	1.31.2.2;

1.31.2.2
date	2013.03.28.13.05.20;	author svnexp;	state Exp;
branches;
next	;

1.30.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.30.2.1.2.1
	1.30.2.1.4.1
	1.30.2.1.6.1
	1.30.2.1.8.1;
next	1.30.2.2;

1.30.2.2
date	2012.11.17.10.36.56;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.30.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.30.2.1.8.2;

1.30.2.1.8.2
date	2012.11.17.08.25.33;	author svnexp;	state Exp;
branches;
next	;

1.30.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.30.4.1.2.1
	1.30.4.1.4.1;
next	1.30.4.2;

1.30.4.2
date	2012.11.17.11.37.17;	author svnexp;	state Exp;
branches;
next	;

1.30.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.30.4.1.2.2;

1.30.4.1.2.2
date	2012.11.17.08.37.13;	author svnexp;	state Exp;
branches;
next	;

1.30.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.30.4.1.4.2;

1.30.4.1.4.2
date	2012.11.17.08.48.04;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2012.11.17.08.06.49;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.29.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.29.12.2;

1.29.12.2
date	2012.11.17.08.17.27;	author svnexp;	state Exp;
branches;
next	;

1.28.2.1
date	2006.02.10.00.38.03;	author yar;	state Exp;
branches
	1.28.2.1.8.1;
next	1.28.2.2;

1.28.2.2
date	2012.11.17.07.44.20;	author svnexp;	state Exp;
branches;
next	;

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

1.19.2.1
date	2001.07.24.09.49.42;	author dd;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2012.11.17.07.26.31;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	99.08.29.16.27.18;	author peter;	state Exp;
branches;
next	;


desc
@@


1.31
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $

.PATH: ${.CURDIR}/../../net

KMOD=	if_tun
SRCS=	if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h

.if !defined(KERNBUILDDIR)
opt_atalk.h:
	echo "#define NETATALK 1" > ${.TARGET}

opt_inet.h:
	echo "#define INET 1" > ${.TARGET}

opt_inet6.h:
	echo "#define INET6 1" > ${.TARGET}

opt_ipx.h:
	echo "#define IPX 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.31.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:20 +0000
@
text
@d1 22
@


1.31.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 22
# $FreeBSD: releng/8.4/sys/modules/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $

.PATH: ${.CURDIR}/../../net

KMOD=	if_tun
SRCS=	if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h

.if !defined(KERNBUILDDIR)
opt_atalk.h:
	echo "#define NETATALK 1" > ${.TARGET}

opt_inet.h:
	echo "#define INET 1" > ${.TARGET}

opt_inet6.h:
	echo "#define INET6 1" > ${.TARGET}

opt_ipx.h:
	echo "#define IPX 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.30
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
@d1 1
a1 1
# $FreeBSD$
@


1.30.4.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.30.4.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/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $
@


1.30.4.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.30.4.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $
@


1.30.4.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.30.4.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $
@


1.30.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.30.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/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $
@


1.30.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.30.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/if_tun/Makefile 193588 2009-06-06 17:01:44Z rwatson $
@


1.30.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.30.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.30.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.29
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
@d6 1
a6 1
SRCS=	if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h
@


1.29.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/if_tun/Makefile 151350 2005-10-14 23:30:17Z yar $
@


1.29.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.29.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/if_tun/Makefile 151350 2005-10-14 23:30:17Z yar $
@


1.29.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.29.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.29.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.28
log
@We don't need to generate vnode_if.h anymore
@
text
@d8 1
d20 1
@


1.28.2.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
@a7 1
.if !defined(KERNBUILDDIR)
a18 1
.endif
@


1.28.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/if_tun/Makefile 155500 2006-02-10 00:38:08Z yar $
@


1.28.2.1.8.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.27
log
@Fix module build by adding options to Makefile.
@
text
@d6 1
a6 2
SRCS=	if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h \
	vnode_if.h
@


1.26
log
@The ppp and tunnel modules now rely on opt_mac.h.  Missed in a previous
commit.

Submitted by:	Anders Andersson <anders@@hack.org>
@
text
@d6 5
a10 1
SRCS=	if_tun.c opt_inet.h opt_mac.h vnode_if.h
d14 6
@


1.25
log
@Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by:	-current
@
text
@d6 1
a6 1
SRCS=	if_tun.c opt_inet.h vnode_if.h
@


1.24
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.23 2000/09/26 19:25:14 bde Exp $
a6 1
NOMAN=
@


1.23
log
@Removed fresh garbage (vestiges of old way of configuring number of
units), mature garbage (vestiges of old way of configuring bpf) and
old garbage (vestiges of old way of configuring INET).

Fixed most style bugs.
@
text
@d1 3
a3 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.22 2000/09/02 19:17:08 phk Exp $
a4 1
.PATH:	${.CURDIR}/../../net
@


1.22
log
@Avoid the modules madness I inadvertently introduced by making the
cloning infrastructure standard in kern_conf.  Modules are now
the same with or without devfs support.

If you need to detect if devfs is present, in modules or elsewhere,
check the integer variable "devfs_present".

This happily removes an ugly hack from kern/vfs_conf.c.

This forces a rename of the eventhandler and the standard clone
helper function.

Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include
like <sys/queue.h>

Remove all #includes of opt_devfs.h they no longer matter.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.21 2000/05/27 01:13:49 peter Exp $
d3 3
a5 3
.PATH:  ${.CURDIR}/../../net
KMOD=   if_tun
SRCS=   if_tun.c opt_inet.h vnode_if.h
a7 5
NBPF?=	1
NTUN?=		2

CFLAGS+= ${PROTOS}

d9 1
a9 1
	echo "#define INET 1" > opt_inet.h
@


1.21
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/if_tun/Makefile,v 1.20 2000/05/04 12:07:31 peter Exp $
d5 1
a5 1
SRCS=   if_tun.c opt_devfs.h opt_inet.h vnode_if.h
@


1.20
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/if_tun/Makefile,v 1.19 2000/01/29 01:11:03 brian Exp $
d16 1
a16 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.19
log
@Restore to version 1.14.  Only opt_inet.h is required again.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.18 2000/01/26 01:08:03 brian Exp $
d16 1
a16 1
.include <bsd.kmod.mk>
@


1.19.2.1
log
@Removing old, broken DEVFS from -stable phase one: remove support
code, everything under #ifdef DEVFS (and thus opt_devfs.h), and most
references to the DEVFS routines.  Code that really couldn't be
reached was left alone.  Removal of the actual DEVFS implementation
will come later.

Approved by:	-stable
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.19 2000/01/29 01:11:03 brian Exp $
d5 1
a5 1
SRCS=   if_tun.c opt_inet.h vnode_if.h
@


1.19.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/if_tun/Makefile 80267 2001-07-24 09:49:45Z dd $
@


1.18
log
@Don't use ATM on the alpha - it #errors out.

Pointed out by: jdp
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.17 2000/01/24 20:38:55 brian Exp $
d5 1
a5 2
SRCS=   if_tun.c opt_devfs.h opt_atalk.h opt_atm.h opt_inet.h opt_inet6.h \
	opt_ipx.h opt_natm.h vnode_if.h
a12 10
opt_atalk.h:
	echo "#define NETATALK 1" > opt_atalk.h

opt_atm.h:
	echo "#ifdef __i386__" > opt_atm.h
	echo "#define ATM_CORE 1" >> opt_atm.h
	echo "#else" >>opt_atm.h
	echo "#undef ATM_CORE" >>opt_atm.h
	echo "#endif" >>opt_atm.h

a14 9

opt_inet6.h:
	echo "#define INET6 1" > opt_inet6.h

opt_ipx.h:
	echo "#define IPX 1" > opt_ipx.h

opt_natm.h:
	echo "#define NATM 1" > opt_natm.h
@


1.17
log
@Move the *intrq variables into net/intrq.c and unconditionally
include this in all kernels.  Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.

Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.

Review not required by: freebsd-hackers
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.16 2000/01/23 10:41:48 brian Exp $
d18 5
a22 1
	echo "#define ATM_CORE 1" > opt_atm.h
@


1.16
log
@Hmm, don't compile in INET6, IPX or NETATALK support for the
moment :-(  I think we need some sort of stub variable and a
``is this queue available'' flag.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.15 2000/01/23 01:47:59 brian Exp $
d5 2
a6 2
SRCS=   if_tun.c opt_devfs.h opt_inet.h opt_inet6.h opt_atalk.h opt_ipx.h \
	vnode_if.h
d14 6
d24 1
a24 1
	echo "#undef INET6" > opt_inet6.h
d26 2
a27 2
opt_atalk.h:
	echo "#undef NETATALK" > opt_atalk.h
d29 2
a30 2
opt_ipx.h:
	echo "#undef IPX" > opt_ipx.h
@


1.15
log
@Support INET6, NETATALK and IPX as well as INET.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.14 1999/11/28 18:52:54 bde Exp $
d18 1
a18 1
	echo "#define INET6 1" > opt_inet6.h
d21 1
a21 1
	echo "#define NETATALK 1" > opt_atalk.h
d24 1
a24 1
	echo "#define IPX 1" > opt_ipx.h
@


1.14
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/if_tun/Makefile,v 1.13 1999/09/27 01:04:39 peter Exp $
d5 2
a6 1
SRCS=   if_tun.c opt_devfs.h opt_inet.h vnode_if.h
d16 9
@


1.13
log
@Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.12 1999/09/27 00:33:59 peter Exp $
a6 1
CLEANFILES+=	vnode_if.h vnode_if.c
a11 4
CLEANFILES+=	opt_devfs.h opt_inet.h

opt_devfs.h:
	touch opt_devfs.h
@


1.12
log
@Don't generate 'bpf.h' since it's not used.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_tun/Makefile,v 1.11 1999/08/28 00:47:19 peter Exp $
d5 1
a5 1
SRCS=   if_tun.c opt_devfs.h opt_inet.h tun.h vnode_if.h
d13 1
a13 1
CLEANFILES+=	opt_devfs.h opt_inet.h tun.h
a19 3

tun.h:
	echo "#define NTUN ${NTUN}" > tun.h
@


1.11
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 1
SRCS=   if_tun.c bpf.h opt_devfs.h opt_inet.h tun.h vnode_if.h
d13 1
a13 4
CLEANFILES+=	bpf.h opt_devfs.h opt_inet.h tun.h

bpf.h:
	echo "#define NBPF ${NBPF}" > bpf.h
@


1.10
log
@Rename bpfilter to bpf.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.9 1999/04/28 01:18:08 msmith Exp $
@


1.9
log
@Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.8 1999/01/17 20:53:47 peter Exp $
d5 1
a5 1
SRCS=   if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h vnode_if.h
d9 1
a9 1
NBPFILTER?=	1
d13 1
a13 1
CLEANFILES+=	bpfilter.h opt_devfs.h opt_inet.h tun.h
d15 2
a16 2
bpfilter.h:
	echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
@


1.8
log
@Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
    rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
    read or write "flag" context.  Perhaps a redundant declaration
    somewhere like sys/conf.h might help remove the need for vnode.h in
    these device drivers in the first place.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.7 1998/10/16 04:30:45 peter Exp $
d9 1
a9 1
NBPFILTER?=	0
@


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


1.7
log
@Sample initial set of kld-ified modules.  Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.6 1998/02/01 18:12:14 bde Exp $
d5 1
a5 1
SRCS=   if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h
d7 1
@


1.6
log
@Don't put "-I." in ${CFLAGS} here.  bsd.kmod.mk now puts an absolute
path to the obj directory in ${CFLAGS}.  This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.5 1998/01/24 02:21:49 eivind Exp $
d3 2
a4 2
.PATH:  ${.CURDIR}/../../sys/net
KMOD=   if_tun_mod
a6 1
PSEUDO_LKM=
@


1.5
log
@LKM-support for converting all file-system options to new-style options.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.4 1998/01/08 23:50:27 eivind Exp $
a7 1
CFLAGS+= -I.
@


1.4
log
@Make the LKMs compile with the INET option as a newstyle option in
opt_inet.h.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.3 1997/02/22 12:48:10 peter Exp $
d5 1
a5 1
SRCS=   if_tun.c bpfilter.h opt_inet.h tun.h
d14 1
a14 1
CLEANFILES+=	bpfilter.h opt_inet.h tun.h
d18 3
@


1.3
log
@Revert $FreeBSD$ back to $Id$
@
text
@d1 1
a1 1
#       $Id$
d5 1
a5 1
SRCS=   if_tun.c bpfilter.h tun.h
a11 1
PROTOS?=	-DINET
d14 1
a14 1
CLEANFILES+=	bpfilter.h tun.h
d18 3
@


1.2
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#       $FreeBSD$
@


1.1
log
@The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable.  It doesn't make sense to do the same
for the loopback.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.1 1994/09/22 22:12:59 wollman Exp $
@
