summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/apm/Makefile8
-rw-r--r--usr.sbin/rip6query/Makefile6
-rw-r--r--usr.sbin/sushi/Makefile4
-rw-r--r--usr.sbin/tcpdmatch/Makefile4
4 files changed, 13 insertions, 9 deletions
diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile
index a719c271456..5cbd995a9c3 100644
--- a/usr.sbin/apm/Makefile
+++ b/usr.sbin/apm/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2002/09/16 19:59:00 manu Exp $
+# $NetBSD: Makefile,v 1.11 2002/09/19 12:08:37 lukem Exp $
+
+.include <bsd.own.mk>
.if (${MACHINE} == "i386" || ${MACHINE} == "macppc" || ${MACHINE} == "hpcarm")
PROG= apm
SRCS= apm.c apmsubr.c
-.PATH: ${.CURDIR}/../apmd
-CPPFLAGS+=-I${.CURDIR}/../apmd
+.PATH: ${NETBSDSRCDIR}/usr.sbin/apmd
+CPPFLAGS+=-I${NETBSDSRCDIR}/usr.sbin/apmd
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
.endif
diff --git a/usr.sbin/rip6query/Makefile b/usr.sbin/rip6query/Makefile
index bc8734a0c93..8fc28ffc77c 100644
--- a/usr.sbin/rip6query/Makefile
+++ b/usr.sbin/rip6query/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2000/01/19 06:35:23 itojun Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/19 12:08:38 lukem Exp $
+
+.include <bsd.own.mk>
PROG= rip6query
MAN= rip6query.8
-CPPFLAGS+= -DINET6 -I${.CURDIR}/../route6d
+CPPFLAGS+= -DINET6 -I${NETBSDSRCDIR}/usr.sbin/route6d
.include <bsd.prog.mk>
diff --git a/usr.sbin/sushi/Makefile b/usr.sbin/sushi/Makefile
index 9b08d0c0acd..f9694245bf9 100644
--- a/usr.sbin/sushi/Makefile
+++ b/usr.sbin/sushi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/01/16 02:34:14 cgd Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/19 12:08:38 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -9,7 +9,7 @@ SRCS= sushi.c scandir.c menutree.c scanform.c run.c functions.c \
MAN= sushi.8
-LIBINSTALL != cd ${.CURDIR}/../pkg_install/lib && ${PRINTOBJDIR}
+LIBINSTALL != cd ${NETBSDSRCDIR}/usr.sbin/pkg_install/lib && ${PRINTOBJDIR}
LDADD+= -lutil -lcdk -lform -lcurses -lm -L${LIBINSTALL} -linstall
DPADD+= ${LIBUTIL} ${LIBCDK} ${LIBFORM} ${LIBCURSES} ${LIBM} \
diff --git a/usr.sbin/tcpdmatch/Makefile b/usr.sbin/tcpdmatch/Makefile
index e4e7d5f6468..e9e279c1c32 100644
--- a/usr.sbin/tcpdmatch/Makefile
+++ b/usr.sbin/tcpdmatch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/09/18 03:54:38 lukem Exp $
+# $NetBSD: Makefile,v 1.11 2002/09/19 12:08:38 lukem Exp $
#
.include <bsd.own.mk>
@@ -6,7 +6,7 @@
PROG= tcpdmatch
SRCS= tcpdmatch.c fakelog.c inetcf.c scaffold.c percent_m.c
MAN= tcpdmatch.8
-TCPDCHK=${.CURDIR}/../tcpdchk
+TCPDCHK=${NETBSDSRCDIR}/usr.sbin/tcpdchk
.PATH: ${TCPDCHK}
CPPFLAGS+= -I${TCPDCHK} -I${NETBSDSRCDIR}/lib/libwrap -DSYS_ERRLIST_DEFINED
LDADD= -lwrap