add Makefile.inc to use ../Makefile.inc, and cleanup subdir Makefiles

This commit is contained in:
lukem 1997-10-17 12:07:28 +00:00
parent e94356b174
commit 2b042c28d8
4 changed files with 8 additions and 14 deletions

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile.inc,v 1.1 1997/10/17 12:07:28 lukem Exp $
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif

View File

@ -1,10 +1,6 @@
# $NetBSD: Makefile,v 1.7 1997/09/26 19:52:13 christos Exp $
# $NetBSD: Makefile,v 1.8 1997/10/17 12:07:34 lukem Exp $
WARNS?= 1
PROG= chat
SRCS= chat.c
MAN= chat.8
BINDIR= /usr/sbin
.include "../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -1,6 +1,5 @@
# $NetBSD: Makefile,v 1.20 1997/09/29 03:53:38 christos Exp $
# $NetBSD: Makefile,v 1.21 1997/10/17 12:07:39 lukem Exp $
WARNS?= 1
PCAPDIR=${.CURDIR}/../../../lib/libpcap
PROG= pppd
@ -16,5 +15,4 @@ LDADD= -lpcap -lcrypt -lutil
DPADD= ${LIBPCAP} ${LIBCRYPT} ${LIBUTIL}
CFLAGS+= -I. -DHAVE_PATHS_H -I${PCAPDIR} -DPPP_FILTER -DCBCP_SUPPORT
.include "../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -1,11 +1,6 @@
# $NetBSD: Makefile,v 1.13 1997/09/26 19:53:30 christos Exp $
# $NetBSD: Makefile,v 1.14 1997/10/17 12:07:47 lukem Exp $
WARNS?= 1
PROG= pppstats
SRCS= pppstats.c
MAN= pppstats.8
BINDIR= /usr/sbin
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
.include "../../Makefile.inc"
.include <bsd.prog.mk>