aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
commit90e655ea4e3750a48b8b350adb823f0ace818f21 (patch)
treefb97d8f0fea8f93b6e8bb70b86e003cf5cbc2b79 /usr.sbin/mrouted
parent6161544ca763d8c1432b4b68ab5e84407d048e83 (diff)
Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
Notes
svn path=/head/; revision=80029
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r--usr.sbin/mrouted/Makefile.inc2
-rw-r--r--usr.sbin/mrouted/common/Makefile14
-rw-r--r--usr.sbin/mrouted/map-mbone/Makefile13
-rw-r--r--usr.sbin/mrouted/mrinfo/Makefile13
-rw-r--r--usr.sbin/mrouted/mrouted/Makefile12
-rw-r--r--usr.sbin/mrouted/mtrace/Makefile10
-rw-r--r--usr.sbin/mrouted/testrsrr/Makefile10
7 files changed, 38 insertions, 36 deletions
diff --git a/usr.sbin/mrouted/Makefile.inc b/usr.sbin/mrouted/Makefile.inc
index 767c93a298fc..a8e134e93611 100644
--- a/usr.sbin/mrouted/Makefile.inc
+++ b/usr.sbin/mrouted/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
-CFLAGS+= -DRSRR
+CFLAGS+= -DRSRR
.if exists(${.OBJDIR}/../common)
LIBMROUTED= ${.OBJDIR}/../common/libmrouted.a
diff --git a/usr.sbin/mrouted/common/Makefile b/usr.sbin/mrouted/common/Makefile
index d3ed61e4f731..4c0288125798 100644
--- a/usr.sbin/mrouted/common/Makefile
+++ b/usr.sbin/mrouted/common/Makefile
@@ -1,15 +1,15 @@
# $FreeBSD$
-LIB= mrouted
-NOPROFILE= yes
-NOPIC= yes
-
S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
+.PATH: $S
+LIB= mrouted
+NOPROFILE= yes
+NOPIC= yes
+NOMAN= #true
SRCS= igmp.c inet.c kern.c
-NOMAN=
+
+CFLAGS+= -I$S
# nothing to install
install:
diff --git a/usr.sbin/mrouted/map-mbone/Makefile b/usr.sbin/mrouted/map-mbone/Makefile
index 66b0f5d234ac..f99247b62500 100644
--- a/usr.sbin/mrouted/map-mbone/Makefile
+++ b/usr.sbin/mrouted/map-mbone/Makefile
@@ -1,14 +1,15 @@
# $FreeBSD$
+S= ${.CURDIR}/..
+.PATH: $S
+
PROG= map-mbone
+MAN= map-mbone.8
+SRCS= mapper.c
+
+CFLAGS+= -I$S
-S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
DPADD= ${LIBMROUTED}
LDADD= ${LIBMROUTED}
-SRCS= mapper.c
-MAN= map-mbone.8
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/mrouted/mrinfo/Makefile b/usr.sbin/mrouted/mrinfo/Makefile
index 701a1932962d..feae4cea32d6 100644
--- a/usr.sbin/mrouted/mrinfo/Makefile
+++ b/usr.sbin/mrouted/mrinfo/Makefile
@@ -1,14 +1,15 @@
# $FreeBSD$
+S= ${.CURDIR}/..
+.PATH: $S
+
PROG= mrinfo
+MAN= mrinfo.8
+BINMODE= 4555
+
+CFLAGS+= -I$S
-S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
DPADD= ${LIBMROUTED}
LDADD= ${LIBMROUTED}
-MAN= mrinfo.8
-BINMODE=4555
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/mrouted/mrouted/Makefile b/usr.sbin/mrouted/mrouted/Makefile
index c6855f4b2583..afd3af82342d 100644
--- a/usr.sbin/mrouted/mrouted/Makefile
+++ b/usr.sbin/mrouted/mrouted/Makefile
@@ -1,16 +1,16 @@
# $FreeBSD$
-PROG= mrouted
-
S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
-YFLAGS=
+.PATH: $S
+PROG= mrouted
+MAN= mrouted.8
SRCS= config.c cfparse.y main.c route.c vif.c prune.c callout.c rsrr.c \
ipip.c icmp.c vers.c igmp.c inet.c kern.c
CLEANFILES+= vers.c
-MAN= mrouted.8
+
+CFLAGS+= -I$S
+YFLAGS=
vers.c: $S/VERSION
rm -f vers.c ; \
diff --git a/usr.sbin/mrouted/mtrace/Makefile b/usr.sbin/mrouted/mtrace/Makefile
index 325999465629..125493e5d95f 100644
--- a/usr.sbin/mrouted/mtrace/Makefile
+++ b/usr.sbin/mrouted/mtrace/Makefile
@@ -1,12 +1,12 @@
# $FreeBSD$
-PROG= mtrace
-
S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
+.PATH: $S
+PROG= mtrace
MAN= mtrace.8
-BINMODE=4555
+BINMODE= 4555
+
+CFLAGS+= -I$S
.include <bsd.prog.mk>
diff --git a/usr.sbin/mrouted/testrsrr/Makefile b/usr.sbin/mrouted/testrsrr/Makefile
index b1ea5e523689..131346d6d356 100644
--- a/usr.sbin/mrouted/testrsrr/Makefile
+++ b/usr.sbin/mrouted/testrsrr/Makefile
@@ -1,13 +1,13 @@
# $FreeBSD$
-PROG= testrsrr
-
S= ${.CURDIR}/..
-.PATH: $S
-CFLAGS+= -I$S
+.PATH: $S
+PROG= testrsrr
+NOMAN= #true
SRCS= testrsrr.c
-NOMAN=
+
+CFLAGS+= -I$S
install: