summaryrefslogtreecommitdiffstats
path: root/cddl/usr.bin/sgsmsg
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-03-02 19:04:07 +0000
committeruqs <uqs@FreeBSD.org>2010-03-02 19:04:07 +0000
commitce11b17db82815ff8f3d9a6698359d04ebd3615f (patch)
tree70c9d8907f70b1034bd6e7417000ab87703c1bd2 /cddl/usr.bin/sgsmsg
parent4a10ff6f0485601e757edf83113cfe6362ccf96e (diff)
downloadFreeBSD-src-ce11b17db82815ff8f3d9a6698359d04ebd3615f.zip
FreeBSD-src-ce11b17db82815ff8f3d9a6698359d04ebd3615f.tar.gz
Remove manual .includes in cddl Makefiles
- Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor)
Diffstat (limited to 'cddl/usr.bin/sgsmsg')
-rw-r--r--cddl/usr.bin/sgsmsg/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/cddl/usr.bin/sgsmsg/Makefile b/cddl/usr.bin/sgsmsg/Makefile
index 5414414..8d1f70f 100644
--- a/cddl/usr.bin/sgsmsg/Makefile
+++ b/cddl/usr.bin/sgsmsg/Makefile
@@ -1,20 +1,17 @@
# $FreeBSD$
-.include "../../Makefile.inc"
+.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/sgs/tools/common
+.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/avl
# This program is required as a bootstrap tool for 'make buildworld'
PROG= sgsmsg
-
+NO_MAN=
SRCS= avl.c sgsmsg.c string_table.c findprime.c
+WARNS?= 0
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
-I${OPENSOLARIS_USR_DISTDIR}/cmd/sgs/include \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
-.PATH: ${OPENSOLARIS_USR_DISTDIR}/cmd/sgs/tools/common
-.PATH: ${OPENSOLARIS_SYS_DISTDIR}/common/avl
-
-NO_MAN=
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud