head	1.21;
access;
symbols
	RELENG_7_4_0_RELEASE:1.20.12.1
	RELENG_7_4:1.20.0.12
	RELENG_7_4_BP:1.20
	RELENG_7_3_0_RELEASE:1.20.10.1
	RELENG_7_3:1.20.0.10
	RELENG_7_3_BP:1.20
	RELENG_7_2_0_RELEASE:1.20.8.1
	RELENG_7_2:1.20.0.8
	RELENG_7_2_BP:1.20
	RELENG_7_1_0_RELEASE:1.20.6.1
	RELENG_6_4_0_RELEASE:1.19.14.1.8.1
	RELENG_7_1:1.20.0.6
	RELENG_7_1_BP:1.20
	RELENG_6_4:1.19.14.1.0.8
	RELENG_6_4_BP:1.19.14.1
	RELENG_7_0_0_RELEASE:1.20
	RELENG_6_3_0_RELEASE:1.19.14.1
	RELENG_7_0:1.20.0.4
	RELENG_7_0_BP:1.20
	RELENG_6_3:1.19.14.1.0.6
	RELENG_6_3_BP:1.19.14.1
	RELENG_7:1.20.0.2
	RELENG_7_BP:1.20
	RELENG_6_2_0_RELEASE:1.19.14.1
	RELENG_6_2:1.19.14.1.0.4
	RELENG_6_2_BP:1.19.14.1
	RELENG_5_5_0_RELEASE:1.19
	RELENG_5_5:1.19.0.18
	RELENG_5_5_BP:1.19
	RELENG_6_1_0_RELEASE:1.19.14.1
	RELENG_6_1:1.19.14.1.0.2
	RELENG_6_1_BP:1.19.14.1
	RELENG_6_0_0_RELEASE:1.19
	RELENG_6_0:1.19.0.16
	RELENG_6_0_BP:1.19
	RELENG_6:1.19.0.14
	RELENG_6_BP:1.19
	RELENG_5_4_0_RELEASE:1.19
	RELENG_5_4:1.19.0.12
	RELENG_5_4_BP:1.19
	RELENG_4_11_0_RELEASE:1.13
	RELENG_4_11:1.13.0.20
	RELENG_4_11_BP:1.13
	RELENG_5_3_0_RELEASE:1.19
	RELENG_5_3:1.19.0.10
	RELENG_5_3_BP:1.19
	RELENG_5:1.19.0.8
	RELENG_5_BP:1.19
	RELENG_4_10_0_RELEASE:1.13
	RELENG_4_10:1.13.0.18
	RELENG_4_10_BP:1.13
	RELENG_5_2_1_RELEASE:1.19
	RELENG_5_2_0_RELEASE:1.19
	RELENG_5_2:1.19.0.6
	RELENG_5_2_BP:1.19
	RELENG_4_9_0_RELEASE:1.13
	RELENG_4_9:1.13.0.16
	RELENG_4_9_BP:1.13
	RELENG_5_1_0_RELEASE:1.19
	RELENG_5_1:1.19.0.4
	RELENG_5_1_BP:1.19
	RELENG_4_8_0_RELEASE:1.13
	RELENG_4_8:1.13.0.14
	RELENG_4_8_BP:1.13
	RELENG_5_0_0_RELEASE:1.19
	RELENG_5_0:1.19.0.2
	RELENG_5_0_BP:1.19
	RELENG_4_7_0_RELEASE:1.13
	RELENG_4_7:1.13.0.12
	RELENG_4_7_BP:1.13
	RELENG_4_6_2_RELEASE:1.13
	RELENG_4_6_1_RELEASE:1.13
	RELENG_4_6_0_RELEASE:1.13
	RELENG_4_6:1.13.0.10
	RELENG_4_6_BP:1.13
	RELENG_4_5_0_RELEASE:1.13
	RELENG_4_5:1.13.0.8
	RELENG_4_5_BP:1.13
	RELENG_4_4_0_RELEASE:1.13
	RELENG_4_4:1.13.0.6
	RELENG_4_4_BP:1.13
	KSE_MILESTONE_2:1.18
	KSE_PRE_MILESTONE_2:1.18
	RELENG_4_3_0_RELEASE:1.13
	RELENG_4_3:1.13.0.4
	RELENG_4_3_BP:1.13
	RELENG_4_2_0_RELEASE:1.13
	RELENG_4_1_1_RELEASE:1.13
	PRE_SMPNG:1.15
	RELENG_4_1_0_RELEASE:1.13
	RELENG_3_5_0_RELEASE:1.7.2.1
	RELENG_4_0_0_RELEASE:1.13
	RELENG_4:1.13.0.2
	RELENG_4_BP:1.13
	RELENG_3_4_0_RELEASE:1.7.2.1
	RELENG_3_3_0_RELEASE:1.7.2.1
	RELENG_3_2_PAO:1.7.0.4
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	POST_VFS_BIO_NFS_PATCH:1.8
	PRE_VFS_BIO_NFS_PATCH:1.8
	POST_SMP_VMSHARE:1.7
	PRE_SMP_VMSHARE:1.7
	POST_NEWBUS:1.7
	PRE_NEWBUS:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.2
	RELENG_3_BP:1.7
	RELENG_3_0_0_RELEASE:1.7
	old_RELENG_2_2_7_RELEASE:1.2.6.1
	old_RELENG_2_2_6_RELEASE:1.2.6.1
	old_RELENG_2_2_5_RELEASE:1.2
	old_RELENG_2_2_2_RELEASE:1.2
	old_RELENG_2_2_1_RELEASE:1.2
	old_RELENG_2_2_0_RELEASE:1.2
	old_RELENG_2_1_7_RELEASE:1.2
	old_RELENG_2_1_6_1_RELEASE:1.2
	old_RELENG_2_1_6_RELEASE:1.2
	old_RELENG_2_2:1.2.0.6
	old_RELENG_2_2_BP:1.2
	old_RELENG_2_1_5_RELEASE:1.2
	old_RELENG_2_1_0_RELEASE:1.2
	old_RELENG_2_1_0:1.2.0.4
	old_RELENG_2_1_0_BP:1.2
	old_RELENG_2_0_5_RELEASE:1.2
	old_RELENG_2_0_5:1.2.0.2
	old_RELENG_2_0_5_BP:1.2
	old_RELENG_2_0_5_ALPHA:1.2;
locks; strict;
comment	@# @;


1.21
date	2009.06.14.23.44.06;	author des;	state dead;
branches;
next	1.20;

1.20
date	2005.10.14.23.30.11;	author yar;	state Exp;
branches
	1.20.2.1
	1.20.6.1
	1.20.8.1
	1.20.10.1
	1.20.12.1;
next	1.19;

1.19
date	2002.01.11.15.48.48;	author ru;	state Exp;
branches
	1.19.14.1;
next	1.18;

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

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

1.16
date	2000.09.26.18.20.37;	author bde;	state Exp;
branches;
next	1.15;

1.15
date	2000.05.27.01.13.49;	author peter;	state Exp;
branches;
next	1.14;

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

1.13
date	99.11.28.18.52.53;	author bde;	state Exp;
branches
	1.13.2.1;
next	1.12;

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

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

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

1.9
date	99.07.06.19.23.07;	author des;	state Exp;
branches;
next	1.8;

1.8
date	99.04.28.01.18.05;	author msmith;	state Exp;
branches;
next	1.7;

1.7
date	98.10.16.04.30.45;	author peter;	state Exp;
branches
	1.7.2.1;
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.08.23.50.23;	author eivind;	state Exp;
branches;
next	1.4;

1.4
date	97.02.22.12.48.08;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	97.01.14.06.21.58;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	95.03.20.19.31.47;	author wollman;	state Exp;
branches
	1.2.6.1;
next	1.1;

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

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

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

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

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

1.20.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.20.12.2;

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

1.19.14.1
date	2006.02.10.00.38.02;	author yar;	state Exp;
branches
	1.19.14.1.8.1;
next	1.19.14.2;

1.19.14.2
date	2012.11.17.07.44.19;	author svnexp;	state Exp;
branches;
next	;

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

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

1.7.2.1
date	99.08.29.16.27.17;	author peter;	state Exp;
branches;
next	;

1.2.6.1
date	98.03.06.05.26.56;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.21
log
@SVN rev 194225 on 2009-06-14 23:44:06Z by des

Ed forgot this in r190751.
@
text
@# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.20 2005/10/14 23:30:11 yar Exp $

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

KMOD=	if_sl
SRCS=	if_sl.c slcompress.c opt_inet.h opt_slip.h

.if !defined(KERNBUILDDIR)
opt_inet.h:
	echo "#define INET 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


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


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


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


1.20.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.20.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.20.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.19
log
@Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by:	-current
@
text
@d8 1
d11 1
@


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


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


1.19.14.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.18
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_sl/Makefile,v 1.17 2000/09/26 18:34:30 bde Exp $
a6 1
NOMAN=
@


1.17
log
@Handle slip options in the usual way (generate a dummy options file in
the module Makefile and don't clutter the sources with ifdefs).

Fixed nearby formatting bugs.
@
text
@d1 3
a3 1
# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.16 2000/09/26 18:20:37 bde Exp $
a4 1
.PATH:  ${.CURDIR}/../../net
@


1.16
log
@Removed fresh garbage (old way of configuring number of units) and old
garbage (very old way of configuring INET).

Fixed a style bug (hard-coded ${.TARGET}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.15 2000/05/27 01:13:49 peter Exp $
d4 2
a5 2
KMOD=   if_sl
SRCS=   if_sl.c slcompress.c opt_inet.h
@


1.15
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_sl/Makefile,v 1.14 2000/05/04 12:07:30 peter Exp $
d5 1
a5 1
SRCS=   if_sl.c slcompress.c opt_inet.h sl.h
a7 6
NSL?=		2
PROTOS?=	-DINET

CFLAGS+= ${PROTOS}
CLEANFILES=	sl.h

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

sl.h:
	echo "#define NSL ${NSL}" > sl.h
@


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/if_sl/Makefile,v 1.13 1999/11/28 18:52:53 bde Exp $
d20 1
a20 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.13
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_sl/Makefile,v 1.12 1999/09/27 01:00:20 peter Exp $
d20 1
a20 1
.include <bsd.kmod.mk>
@


1.13.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/if_sl/Makefile 53846 1999-11-28 18:53:47Z bde $
@


1.12
log
@Don't set an unused make(1) variable (NBPF)
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.11 1999/09/27 00:33:58 peter Exp $
d12 1
a12 1
CLEANFILES+=	opt_inet.h sl.h
@


1.11
log
@Don't generate 'bpf.h' since it's not used.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_sl/Makefile,v 1.10 1999/08/28 00:47:18 peter Exp $
a7 1
NBPF?=	1
@


1.10
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 1
SRCS=   if_sl.c slcompress.c bpf.h opt_inet.h sl.h
d13 1
a13 4
CLEANFILES+=	bpf.h opt_inet.h sl.h

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


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


1.8
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.7 1998/10/16 04:30:45 peter Exp $
d5 1
a5 1
SRCS=   if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
d8 1
a8 1
NBPFILTER?=	1
d13 1
a13 1
CLEANFILES+=	bpfilter.h opt_inet.h sl.h
d15 2
a16 2
bpfilter.h:
	echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
@


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 $
d8 1
a8 1
NBPFILTER?=	0
@


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


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/08 23:50:23 eivind Exp $
d3 2
a4 2
.PATH:  ${.CURDIR}/../../sys/net
KMOD=   if_sl_mod
a6 1
PSEUDO_LKM=
@


1.5
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.4 1997/02/22 12:48:08 peter Exp $
a7 1
CFLAGS+= -I.
@


1.4
log
@Revert $FreeBSD$ back to $Id$
@
text
@d1 1
a1 1
#       $Id$
d5 1
a5 1
SRCS=   if_sl.c slcompress.c bpfilter.h sl.h
d15 1
a15 1
CLEANFILES+=	bpfilter.h sl.h
d19 3
@


1.3
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.2
log
@Forgot slcompress.c in SLIP module.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.1 1995/03/20 19:25:47 wollman Exp $
@


1.2.6.1
log
@MFC: primarily do-nothing commits just to facilitate future merging.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.2 1995/03/20 19:31:47 wollman Exp $
d5 1
a5 1
SRCS=   if_sl.c slcompress.c bpfilter.h opt_inet.h sl.h
d8 1
d14 2
a15 2
CFLAGS+= -I. ${PROTOS}
CLEANFILES+=	bpfilter.h opt_inet.h sl.h
a18 3

opt_inet.h:
	echo "#define INET 1" > opt_inet.h
@


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 $
d5 1
a5 1
SRCS=   if_sl.c bpfilter.h sl.h
@
