summaryrefslogtreecommitdiffstats
path: root/sbin/ggate
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-05-20 20:05:05 +0000
committerpjd <pjd@FreeBSD.org>2004-05-20 20:05:05 +0000
commitad72c978dabe88e013354d497aac877e44e68baa (patch)
tree1e7762ac0df47bc7803c2a7ec05f9a2df17e4a1c /sbin/ggate
parent16d4ddc96c742fd89043148c1b456ba72ae0e178 (diff)
downloadFreeBSD-src-ad72c978dabe88e013354d497aac877e44e68baa.zip
FreeBSD-src-ad72c978dabe88e013354d497aac877e44e68baa.tar.gz
Various style.Makefile(5) improvements.
Provoked by: ru
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/Makefile.inc5
-rw-r--r--sbin/ggate/ggatec/Makefile12
-rw-r--r--sbin/ggate/ggated/Makefile9
3 files changed, 15 insertions, 11 deletions
diff --git a/sbin/ggate/Makefile.inc b/sbin/ggate/Makefile.inc
new file mode 100644
index 0000000..e55271f
--- /dev/null
+++ b/sbin/ggate/Makefile.inc
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+WARNS?= 6
+
+.include "../Makefile.inc"
diff --git a/sbin/ggate/ggatec/Makefile b/sbin/ggate/ggatec/Makefile
index 80525a3..e545dff 100644
--- a/sbin/ggate/ggatec/Makefile
+++ b/sbin/ggate/ggatec/Makefile
@@ -1,15 +1,15 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../shared
+.PATH: ${.CURDIR}/../shared
-BINDIR= /sbin
PROG= ggatec
-SRCS= ggatec.c ggate.c
MAN= ggatec.8
+SRCS= ggatec.c ggate.c
+
+CFLAGS+= -DLIBGEOM
+CFLAGS+= -I${.CURDIR}/../shared
+
DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML}
LDADD= -lgeom -lsbuf -lbsdxml
-WARNS= 6
-CFLAGS+=-I${.CURDIR}/../shared
-CFLAGS+=-DLIBGEOM
.include <bsd.prog.mk>
diff --git a/sbin/ggate/ggated/Makefile b/sbin/ggate/ggated/Makefile
index e016b8a..fa5c0fb 100644
--- a/sbin/ggate/ggated/Makefile
+++ b/sbin/ggate/ggated/Makefile
@@ -1,12 +1,11 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../shared
+.PATH: ${.CURDIR}/../shared
-BINDIR= /sbin
PROG= ggated
-SRCS= ggated.c ggate.c
MAN= ggated.8
-WARNS= 6
-CFLAGS+=-I${.CURDIR}/../shared
+SRCS= ggated.c ggate.c
+
+CFLAGS+= -I${.CURDIR}/../shared
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud