head	1.39;
access;
symbols
	RELENG_7_4_0_RELEASE:1.37.12.1
	RELENG_7_4:1.37.0.12
	RELENG_7_4_BP:1.37
	RELENG_7_3_0_RELEASE:1.37.10.1
	RELENG_7_3:1.37.0.10
	RELENG_7_3_BP:1.37
	RELENG_7_2_0_RELEASE:1.37.8.1
	RELENG_7_2:1.37.0.8
	RELENG_7_2_BP:1.37
	RELENG_7_1_0_RELEASE:1.37.6.1
	RELENG_6_4_0_RELEASE:1.33.2.4.4.1
	RELENG_7_1:1.37.0.6
	RELENG_7_1_BP:1.37
	RELENG_6_4:1.33.2.4.0.4
	RELENG_6_4_BP:1.33.2.4
	RELENG_7_0_0_RELEASE:1.37
	RELENG_6_3_0_RELEASE:1.33.2.4
	RELENG_7_0:1.37.0.4
	RELENG_7_0_BP:1.37
	RELENG_6_3:1.33.2.4.0.2
	RELENG_6_3_BP:1.33.2.4
	RELENG_7:1.37.0.2
	RELENG_7_BP:1.37
	RELENG_6_2_0_RELEASE:1.33.2.3
	RELENG_6_2:1.33.2.3.0.2
	RELENG_6_2_BP:1.33.2.3
	RELENG_5_5_0_RELEASE:1.31
	RELENG_5_5:1.31.0.14
	RELENG_5_5_BP:1.31
	RELENG_6_1_0_RELEASE:1.33.2.2
	RELENG_6_1:1.33.2.2.0.2
	RELENG_6_1_BP:1.33.2.2
	RELENG_6_0_0_RELEASE:1.33
	RELENG_6_0:1.33.0.4
	RELENG_6_0_BP:1.33
	RELENG_6:1.33.0.2
	RELENG_6_BP:1.33
	RELENG_5_4_0_RELEASE:1.31
	RELENG_5_4:1.31.0.12
	RELENG_5_4_BP:1.31
	RELENG_4_11_0_RELEASE:1.21
	RELENG_4_11:1.21.0.20
	RELENG_4_11_BP:1.21
	RELENG_5_3_0_RELEASE:1.31
	RELENG_5_3:1.31.0.10
	RELENG_5_3_BP:1.31
	RELENG_5:1.31.0.8
	RELENG_5_BP:1.31
	RELENG_4_10_0_RELEASE:1.21
	RELENG_4_10:1.21.0.18
	RELENG_4_10_BP:1.21
	RELENG_5_2_1_RELEASE:1.31
	RELENG_5_2_0_RELEASE:1.31
	RELENG_5_2:1.31.0.6
	RELENG_5_2_BP:1.31
	RELENG_4_9_0_RELEASE:1.21
	RELENG_4_9:1.21.0.16
	RELENG_4_9_BP:1.21
	RELENG_5_1_0_RELEASE:1.31
	RELENG_5_1:1.31.0.4
	RELENG_5_1_BP:1.31
	RELENG_4_8_0_RELEASE:1.21
	RELENG_4_8:1.21.0.14
	RELENG_4_8_BP:1.21
	RELENG_5_0_0_RELEASE:1.31
	RELENG_5_0:1.31.0.2
	RELENG_5_0_BP:1.31
	RELENG_4_7_0_RELEASE:1.21
	RELENG_4_7:1.21.0.12
	RELENG_4_7_BP:1.21
	RELENG_4_6_2_RELEASE:1.21
	RELENG_4_6_1_RELEASE:1.21
	RELENG_4_6_0_RELEASE:1.21
	RELENG_4_6:1.21.0.10
	RELENG_4_6_BP:1.21
	RELENG_4_5_0_RELEASE:1.21
	RELENG_4_5:1.21.0.8
	RELENG_4_5_BP:1.21
	RELENG_4_4_0_RELEASE:1.21
	RELENG_4_4:1.21.0.6
	RELENG_4_4_BP:1.21
	KSE_MILESTONE_2:1.28
	KSE_PRE_MILESTONE_2:1.28
	RELENG_4_3_0_RELEASE:1.21
	RELENG_4_3:1.21.0.4
	RELENG_4_3_BP:1.21
	RELENG_4_2_0_RELEASE:1.21
	RELENG_4_1_1_RELEASE:1.21
	PRE_SMPNG:1.23
	RELENG_4_1_0_RELEASE:1.21
	RELENG_3_5_0_RELEASE:1.16.2.1
	RELENG_4_0_0_RELEASE:1.21
	RELENG_4:1.21.0.2
	RELENG_4_BP:1.21
	RELENG_3_4_0_RELEASE:1.16.2.1
	RELENG_3_3_0_RELEASE:1.16.2.1
	RELENG_3_2_PAO:1.16.0.4
	RELENG_3_2_PAO_BP:1.16
	RELENG_3_2_0_RELEASE:1.16
	POST_VFS_BIO_NFS_PATCH:1.17
	PRE_VFS_BIO_NFS_PATCH:1.17
	POST_SMP_VMSHARE:1.16
	PRE_SMP_VMSHARE:1.16
	POST_NEWBUS:1.16
	PRE_NEWBUS:1.16
	RELENG_3_1_0_RELEASE:1.16
	RELENG_3:1.16.0.2
	RELENG_3_BP:1.16
	RELENG_3_0_0_RELEASE:1.15
	old_RELENG_2_2_7_RELEASE:1.4.2.1
	old_RELENG_2_2_6_RELEASE:1.4
	old_RELENG_2_2_5_RELEASE:1.4
	old_RELENG_2_2_2_RELEASE:1.4
	old_RELENG_2_2_1_RELEASE:1.4
	old_RELENG_2_2_0_RELEASE:1.4
	old_RELENG_2_1_7_RELEASE:1.3
	old_RELENG_2_1_6_1_RELEASE:1.3
	old_RELENG_2_1_6_RELEASE:1.3
	old_RELENG_2_2:1.4.0.2
	old_RELENG_2_2_BP:1.4
	old_RELENG_2_1_5_RELEASE:1.3
	old_RELENG_2_1_0_RELEASE:1.3
	old_RELENG_2_1_0:1.3.0.4
	old_RELENG_2_1_0_BP:1.3
	old_RELENG_2_0_5_RELEASE:1.3
	old_RELENG_2_0_5:1.3.0.2
	old_RELENG_2_0_5_BP:1.3
	old_RELENG_2_0_5_ALPHA:1.3;
locks; strict;
comment	@# @;


1.39
date	2009.06.14.23.27.09;	author des;	state dead;
branches;
next	1.38;

1.38
date	2009.06.06.17.01.44;	author rwatson;	state Exp;
branches;
next	1.37;

1.37
date	2006.11.11.15.02.04;	author ume;	state Exp;
branches
	1.37.2.1
	1.37.6.1
	1.37.8.1
	1.37.10.1
	1.37.12.1;
next	1.36;

1.36
date	2006.08.14.13.28.53;	author des;	state Exp;
branches;
next	1.35;

1.35
date	2006.02.27.16.56.22;	author wkoszek;	state Exp;
branches;
next	1.34;

1.34
date	2005.10.14.23.30.11;	author yar;	state Exp;
branches;
next	1.33;

1.33
date	2004.12.29.08.45.48;	author imp;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2004.09.01.07.12.24;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	2002.08.09.15.30.43;	author brooks;	state Exp;
branches;
next	1.30;

1.30
date	2002.07.31.20.19.28;	author rwatson;	state Exp;
branches;
next	1.29;

1.29
date	2002.01.11.15.48.48;	author ru;	state Exp;
branches;
next	1.28;

1.28
date	2001.02.04.08.23.11;	author peter;	state Exp;
branches;
next	1.27;

1.27
date	2001.01.06.13.59.50;	author obrien;	state Exp;
branches;
next	1.26;

1.26
date	2000.09.26.18.55.24;	author bde;	state Exp;
branches;
next	1.25;

1.25
date	2000.09.26.18.09.02;	author bde;	state Exp;
branches;
next	1.24;

1.24
date	2000.09.07.01.32.54;	author jasone;	state Exp;
branches;
next	1.23;

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

1.22
date	2000.05.04.12.07.28;	author peter;	state Exp;
branches;
next	1.21;

1.21
date	99.11.28.18.52.51;	author bde;	state Exp;
branches
	1.21.2.1;
next	1.20;

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

1.19
date	99.08.28.00.47.17;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	99.07.06.19.23.05;	author des;	state Exp;
branches;
next	1.17;

1.17
date	99.04.28.01.18.02;	author msmith;	state Exp;
branches;
next	1.16;

1.16
date	99.01.17.20.53.48;	author peter;	state Exp;
branches
	1.16.2.1;
next	1.15;

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

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

1.13
date	98.02.01.18.12.13;	author bde;	state Exp;
branches;
next	1.12;

1.12
date	98.01.09.01.01.17;	author eivind;	state Exp;
branches;
next	1.11;

1.11
date	98.01.08.23.50.18;	author eivind;	state Exp;
branches;
next	1.10;

1.10
date	97.12.16.22.50.18;	author eivind;	state Exp;
branches;
next	1.9;

1.9
date	97.12.16.18.28.07;	author eivind;	state Exp;
branches;
next	1.8;

1.8
date	97.10.18.01.37.52;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	97.08.21.10.17.29;	author jmg;	state Exp;
branches;
next	1.6;

1.6
date	97.02.22.12.48.06;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	97.01.14.06.21.56;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.10.31.20.54.15;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	95.04.15.17.36.53;	author ats;	state Exp;
branches;
next	1.2;

1.2
date	95.03.20.19.33.35;	author wollman;	state Exp;
branches;
next	1.1;

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

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

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

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

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

1.37.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.37.12.2;

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

1.33.2.1
date	2006.02.10.00.38.02;	author yar;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2006.03.01.21.40.14;	author wkoszek;	state Exp;
branches;
next	1.33.2.3;

1.33.2.3
date	2006.09.13.08.40.21;	author des;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2006.11.19.07.17.22;	author ume;	state Exp;
branches
	1.33.2.4.4.1;
next	1.33.2.5;

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

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

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

1.16.2.1
date	99.08.29.16.27.16;	author peter;	state Exp;
branches;
next	;

1.4.2.1
date	98.06.25.09.02.51;	author peter;	state Exp;
branches;
next	;


desc
@@


1.39
log
@SVN rev 194220 on 2009-06-14 23:27:09Z by des

Ed forgot this in r190751.
@
text
@# $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.38 2009/06/06 17:01:44 rwatson Exp $

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

KMOD=	if_ppp
SRCS=	if_ppp.c ppp_tty.c slcompress.c \
	opt_inet.h opt_inet6.h opt_ipx.h opt_ppp.h

PPP_BSDCOMP?=	1	# 0/1
PPP_DEFLATE?=	1	# 0/1
PPP_FILTER?=	1	# 0/1 - requires bpf to be configured in kernel
PPP_INET?=	1	# 0/1 - requires INET to be configured in kernel
.if defined(NO_INET6)
PPP_INET6?=	0	# 0/1 - requires INET6 to be configured in kernel
.else
PPP_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel
.endif
PPP_IPX?=	0	# 0/1 - requires IPX to be configured in kernel

.if ${PPP_BSDCOMP} > 0
SRCS+=	bsd_comp.c
.endif
.if ${PPP_DEFLATE} > 0
SRCS+=	ppp_deflate.c
.endif

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

.if ${PPP_INET6} > 0
opt_inet6.h:
	echo "#define INET6 1" > ${.TARGET}
.endif

.if ${PPP_IPX} > 0
opt_ipx.h:
	echo "#define IPX ${PPP_IPX}" > ${.TARGET}
.endif

opt_ppp.h:
	:> ${.TARGET}
.if ${PPP_BSDCOMP} > 0
	echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
.endif
.if ${PPP_DEFLATE} > 0
	echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
.endif
.if ${PPP_FILTER} > 0
	echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
.endif
.endif

.include <bsd.kmod.mk>
@


1.38
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.37
log
@Teach an IPv6 to ppp(4).

Obtained from:	NetBSD
MFC after:	1 week
@
text
@d7 1
a7 1
	opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h opt_ppp.h
@


1.37.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/if_ppp/Makefile 164180 2006-11-11 15:02:04Z ume $
@


1.37.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.37.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/if_ppp/Makefile 164180 2006-11-11 15:02:04Z ume $
@


1.37.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.37.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.37.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.36
log
@Don't use touch when what is really meant is :> (create an empty file, or
truncate it if it exists) or :>> (ensure the file exists, but don't change
it if it already does)

Reviewed by:	ru
MFC after:	2 weeks
@
text
@d7 1
a7 1
	opt_inet.h opt_ipx.h opt_mac.h opt_ppp.h
d13 5
d33 5
@


1.35
log
@This patch fixes a problem, which exists if you have IPSEC in your kernel
and want to have crypto support loaded as KLD. By moving zlib to separate
module and adding MODULE_DEPEND directives, it is possible to use such
configuration without complication. Otherwise, since IPSEC is linked with
zlib (just like crypto.ko) you'll get following error:

	interface zlib.1 already present in the KLD 'kernel'!

Approved by:	cognet (mentor)
@
text
@d25 1
a25 1
	echo "#define INET 1" >> ${.TARGET}
d30 1
a30 1
	echo "#define IPX ${PPP_IPX}" >> ${.TARGET}
d34 1
a34 1
	touch ${.TARGET}
@


1.34
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
@d19 1
a19 1
SRCS+=	ppp_deflate.c zlib.c
@


1.33
log
@We don't need to generate vnode_if.h anymore
@
text
@d22 1
d44 1
@


1.33.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
@a21 1
.if !defined(KERNBUILDDIR)
a42 1
.endif
@


1.33.2.2
log
@MFC:
  Connect zlib to the build.

  This patch fixes a problem, which exists if you have IPSEC in your kernel
  and want to have crypto support loaded as KLD. By moving zlib to separate
  module and adding MODULE_DEPEND directives, it is possible to use such
  configuration without complication. Otherwise, since IPSEC is linked with
  zlib (just like crypto.ko) you'll get following error:

          interface zlib.1 already present in the KLD 'kernel'!

  Approved by:    cognet (mentor)

Approved by:	re (scottl)
@
text
@d19 1
a19 1
SRCS+=	ppp_deflate.c
@


1.33.2.3
log
@MFC: avoid unnecessary use of touch + ${.TARGET} fixes + redirection issues

Approved by:	re (kensmith)
@
text
@d25 1
a25 1
	echo "#define INET 1" > ${.TARGET}
d30 1
a30 1
	echo "#define IPX ${PPP_IPX}" > ${.TARGET}
d34 1
a34 1
	:> ${.TARGET}
@


1.33.2.4
log
@MFC: Teach an IPv6 to ppp(4).

	sys/modules/if_ppp/Makefile:	1.37
	sys/net/if_ppp.c:		1.118
	sys/net/if_pppvar.h:		1.25
@
text
@d7 1
a7 1
	opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h opt_ppp.h
a12 5
.if defined(NO_INET6)
PPP_INET6?=	0	# 0/1 - requires INET6 to be configured in kernel
.else
PPP_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel
.endif
a27 5
.if ${PPP_INET6} > 0
opt_inet6.h:
	echo "#define INET6 1" > ${.TARGET}
.endif

@


1.33.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/if_ppp/Makefile 164400 2006-11-19 07:17:22Z ume $
@


1.33.2.4.4.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.32
log
@Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
automatically removes opt_*.h and if_*.h found in SRCS.
@
text
@d7 1
a7 1
	opt_inet.h opt_ipx.h opt_mac.h opt_ppp.h vnode_if.h
@


1.31
log
@Make ppp(4) devices clonable and unloadable.
@
text
@a21 2
CLEANFILES=	ppp.h

@


1.30
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
@d7 1
a7 1
	opt_inet.h opt_ipx.h opt_mac.h opt_ppp.h ppp.h vnode_if.h
a8 1
NPPP?=		2
a44 3

ppp.h:
	echo "#define NPPP ${NPPP}" > ${.TARGET}
@


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

Not objected to by:	-current
@
text
@d7 1
a7 1
	opt_inet.h opt_ipx.h opt_ppp.h ppp.h vnode_if.h
@


1.28
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/if_ppp/Makefile,v 1.27 2001/01/06 13:59:50 obrien Exp $
a7 1
NOMAN=
@


1.27
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_ppp/Makefile,v 1.26 2000/09/26 18:55:24 bde Exp $
d26 1
a27 2
	touch ${.TARGET}
.if ${PPP_INET} > 0
d31 1
a32 2
	touch ${.TARGET}
.if ${PPP_IPX} > 0
@


1.26
log
@Removed garbage (CFLAGS+= ${PROTOS} was a vestige of an old way of
configuring INET).

Fixed most style bugs (mainly hard-coding of ${.TARGET}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.25 2000/09/26 18:09:02 bde Exp $
d4 1
@


1.25
log
@Backed out previous commit (SMPng megacommit: support for garbage added
to ppp_tty.c by the megacommit, and garbage added here).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.24 2000/09/07 01:32:54 jasone Exp $
d4 1
a4 1
KMOD=   if_ppp
d6 1
a6 1
	ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
a15 2
CFLAGS+= ${PROTOS}

a24 3
ppp.h:
	echo "#define NPPP ${NPPP}" > ppp.h

d26 1
a26 1
	touch opt_inet.h
d28 1
a28 1
	echo "#define INET 1" > opt_inet.h
d32 1
a32 1
	touch opt_ipx.h
d34 1
a34 1
	echo "#define IPX ${PPP_IPX}" > opt_ipx.h
d38 1
a38 1
	touch opt_ppp.h
d40 1
a40 1
	echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
d43 1
a43 1
	echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> opt_ppp.h
d46 1
a46 1
	echo "#define PPP_FILTER ${PPP_FILTER}" >> opt_ppp.h
d48 3
@


1.24
log
@Major update to the way synchronization is done in the kernel.  Highlights
include:

* Mutual exclusion is used instead of spl*().  See mutex(9).  (Note: The
  alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
  preempted (i386 only).

Partially contributed by:	BSDi (BSD/OS)
Submissions by (at least):	cp, dfr, dillon, grog, jake, jhb, sheldonh
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.23 2000/05/27 01:13:49 peter Exp $
d5 2
a6 2
SRCS=	bus_if.h device_if.h if_ppp.c ppp_tty.c slcompress.c \
	ppp.h opt_bus.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
@


1.23
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_ppp/Makefile,v 1.22 2000/05/04 12:07:28 peter Exp $
d5 2
a6 2
SRCS=	if_ppp.c ppp_tty.c slcompress.c \
	ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
@


1.22
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_ppp/Makefile,v 1.21 1999/11/28 18:52:51 bde Exp $
d54 1
a54 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.21
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_ppp/Makefile,v 1.20 1999/09/26 18:44:29 peter Exp $
d54 1
a54 1
.include <bsd.kmod.mk>
@


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


1.20
log
@Minor tidy up of PPP_FILTER and NBPF stuff.  Don't generate bpf.h in the
module and don't #include "bpf.h".
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/if_ppp/Makefile,v 1.19 1999/08/28 00:47:17 peter Exp $
a7 1
CLEANFILES+=	vnode_if.c vnode_if.h
d25 1
a25 1
CLEANFILES+=	opt_inet.h opt_ipx.h opt_ppp.h ppp.h
@


1.19
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d6 1
a6 1
	bpf.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
d26 1
a26 4
CLEANFILES+=	bpf.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h

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


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


1.17
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.16 1999/01/17 20:53:48 peter Exp $
d6 1
a6 1
	bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
d26 1
a26 1
CLEANFILES+=	bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h
d28 2
a29 2
bpfilter.h:
	echo "#define NBPFILTER ${PPP_FILTER}" > bpfilter.h
@


1.16
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.15 1998/10/16 04:30:44 peter Exp $
d13 1
a13 1
PPP_FILTER?=	0	# 0/1 - requires bpf to be configured in kernel
@


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


1.15
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.14 1998/03/27 04:05:08 peter Exp $
d6 1
a6 1
	bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h
d8 1
@


1.14
log
@Give this a shot at actually working as an LKM..
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.13 1998/02/01 18:12:13 bde Exp $
d3 2
a4 2
.PATH:  ${.CURDIR}/../../sys/net
KMOD=   if_ppp_mod
a7 1
PSEUDO_LKM=
@


1.13
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.12 1998/01/09 01:01:17 eivind Exp $
d5 2
a6 2
SRCS=	bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h \
	opt_inet.h opt_ipx.h opt_ppp.h
d18 8
@


1.12
log
@Minor fixups after INET option change.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.11 1998/01/08 23:50:18 eivind Exp $
a8 1
CFLAGS+= -I.
@


1.11
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.10 1997/12/16 22:50:18 eivind Exp $
a16 1
PROTOS?=	-DINET	# add -DIPX if you have IPX in the kernel
d30 1
a30 1
	echo "#define IPX ${PPP_INET}" > opt_inet.h
@


1.10
log
@Fix my typo.

Submitted by: helbig
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.9 1997/12/16 18:28:07 eivind Exp $
d6 1
a6 1
	opt_ipx.h opt_ppp.h
d15 1
d20 1
a20 1
CLEANFILES+=	bpfilter.h ppp.h opt_ipx.h opt_ppp.h
d27 6
@


1.9
log
@Whoops - fix this after yesterday's IPX option changes.  Also fix
minor buglet when neither bsdcomp, deflate or filter is used.

Pointed out by:	Chris Timmons <skynyrd@@opus.cts.cwu.edu>
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.8 1997/10/18 01:37:52 peter Exp $
d30 1
a30 1
	echo "#define IPX ${PPP_BSDCOMP}" > opt_ipx.h
@


1.8
log
@Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP and
PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the
original method of "#define PPP_DEFLATE 0" did not actually disable
anything.  It was not possible to configure out bsdcomp or zlib
compression.  Also, join the settings for PPP_FILTER and NBPFILTER together
since they are related here (can't have PPP_FILTER without NBPFILTER).
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.7 1997/08/21 10:17:29 jmg Exp $
d5 2
a6 1
SRCS=	bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h opt_ppp.h
d15 1
d19 1
a19 1
CLEANFILES+=	bpfilter.h ppp.h opt_ppp.h
d27 6
d34 1
@


1.7
log
@make lkm/if_ppp build again..  opt_ppp.h is needed again...

similar fix to one provided in pr4348

Closes PR#4348
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.6 1997/02/22 12:48:06 peter Exp $
a9 1
NBPFILTER?=	0
d11 4
a14 3
PPP_BSDCOMP?=	1
PPP_DEFLATE?=	1
PROTOS?=	-DINET
d20 1
a20 1
	echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
d26 1
d28 2
d31 4
@


1.6
log
@Revert $FreeBSD$ back to $Id$
@
text
@d1 1
a1 1
#       $Id$
d5 1
a5 1
SRCS=	bsd_comp.c if_ppp.c ppp_tty.c slcompress.c bpfilter.h ppp.h
d12 2
d17 1
a17 1
CLEANFILES+=	bpfilter.h ppp.h
d24 4
@


1.5
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.4
log
@Update if_ppp lkm to pull in the new files...
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.3 1995/04/15 17:36:53 ats Exp $
@


1.4.2.1
log
@Whoops. :-(  Update the if_ppp build glue to deal with 2.3.5 from -current.
(All my systems have lkm's disabled for safety, I ususally forget them.)
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.4 1995/10/31 20:54:15 peter Exp $
d5 1
a5 2
SRCS=	if_ppp.c ppp_tty.c slcompress.c \
	bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h
d10 1
d12 1
a12 5
PPP_BSDCOMP?=	1	# 0/1
PPP_DEFLATE?=	1	# 0/1
PPP_FILTER?=	0	# 0/1 - requires bpf to be configured in kernel
PPP_INET?=	1	# 0/1 - requires INET to be configured in kernel
PPP_IPX?=	0	# 0/1 - requires IPX to be configured in kernel
d15 1
a15 9

.if ${PPP_BSDCOMP} > 0
SRCS+=	bsd_comp.c
.endif
.if ${PPP_DEFLATE} > 0
SRCS+=	ppp_deflate.c zlib.c
.endif

CLEANFILES+=	bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h
d18 1
a18 1
	echo "#define NBPFILTER ${PPP_FILTER}" > bpfilter.h
a21 24

opt_inet.h:
	touch opt_inet.h
.if ${PPP_INET} > 0
	echo "#define INET 1" > opt_inet.h
.endif

opt_ipx.h:
	touch opt_ipx.h
.if ${PPP_IPX} > 0
	echo "#define IPX ${PPP_IPX}" > opt_ipx.h
.endif

opt_ppp.h:
	touch opt_ppp.h
.if ${PPP_BSDCOMP} > 0
	echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
.endif
.if ${PPP_DEFLATE} > 0
	echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> opt_ppp.h
.endif
.if ${PPP_FILTER} > 0
	echo "#define PPP_FILTER ${PPP_FILTER}" >> opt_ppp.h
.endif
@


1.3
log
@Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically
generated. Should this lkm set VFS_LKM ?
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.2 1995/03/20 19:33:35 wollman Exp $
d5 1
a5 1
SRCS=   if_ppp.c pppcompress.c bpfilter.h ppp.h vnode_if.h
d15 1
a15 1
CLEANFILES+=	bpfilter.h ppp.h vnode_if.h vnode_if.c
@


1.2
log
@Forgot pppcompress.c in PPP module.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.1 1995/03/20 19:25:46 wollman Exp $
d15 1
a15 1
CLEANFILES+=	bpfilter.h ppp.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_ppp.c bpfilter.h ppp.h vnode_if.h
@
