head	1.15;
access;
symbols
	RELENG_2_2_8_RELEASE:1.4.2.1
	RELENG_3_0_0_RELEASE:1.14
	RELENG_2_2_7_RELEASE:1.4.2.1
	RELENG_2_2_6_RELEASE:1.4
	RELENG_2_2_5_RELEASE:1.4
	RELENG_2_2_2_RELEASE:1.4
	RELENG_2_2_1_RELEASE:1.4
	RELENG_2_2_0_RELEASE:1.4
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.4.0.2
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3;
locks; strict;
comment	@# @;


1.15
date	98.12.27.19.38.06;	author sos;	state dead;
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
	1.3.4.1;
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.3.4.1
date	99.09.05.11.21.51;	author peter;	state Exp;
branches;
next	;

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

1.4.2.2
date	99.09.05.11.20.32;	author peter;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Remove LKM's depricated by modules.
@
text
@#       $Id: Makefile,v 1.14 1998/03/27 04:05:08 peter Exp $

.PATH:  ${.CURDIR}/../../sys/net
KMOD=   if_ppp_mod
SRCS=	if_ppp.c ppp_tty.c slcompress.c \
	bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h
NOMAN=
PSEUDO_LKM=

NPPP?=		2
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

CFLAGS+= ${PROTOS}

.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

bpfilter.h:
	echo "#define NBPFILTER ${PPP_FILTER}" > bpfilter.h

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

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

.include <bsd.kmod.mk>
@


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 $
@


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.4.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


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.3.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


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
@
