summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-18 16:20:18 +0000
committerdes <des@FreeBSD.org>2002-04-18 16:20:18 +0000
commitc5eb18e0383a451b2ecaaabe89c1a14760e39794 (patch)
treef91cb72f63d6e29c532ed04d921c36df94630d29 /lib
parentfe79677df89bf774cbf0a976d2e2041aa5d385fb (diff)
downloadFreeBSD-src-c5eb18e0383a451b2ecaaabe89c1a14760e39794.zip
FreeBSD-src-c5eb18e0383a451b2ecaaabe89c1a14760e39794.tar.gz
Back out previous commit, which was not at all approved by the maintainer
of this code. I very much doubt that "the FreeBSD way" really means "make it as unreadable and unmaintable as possible", and I would like Makefile style (which is not currently documented anywhere except in the minds of bde and ru) to be discussed and agreed upon in the appropriate forum before any further commits of this kind happen.
Diffstat (limited to 'lib')
-rw-r--r--lib/libypclnt/Makefile53
1 files changed, 32 insertions, 21 deletions
diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile
index 1fc2adc..4af3bc8 100644
--- a/lib/libypclnt/Makefile
+++ b/lib/libypclnt/Makefile
@@ -1,26 +1,37 @@
# $FreeBSD$
-LIB= ypclnt
-SHLIB_MAJOR=1
-SHLIB_MINOR=0
-SRCS= ypclnt_connect.c ypclnt_error.c ypclnt_free.c ypclnt_new.c \
- ypclnt_passwd.c
-SRCS+= ${GENSRCS}
-INCS= ypclnt.h
-CLEANFILES+= ${GENSRCS}
-CFLAGS+= -I.
-WARNS?= 4
-DPADD= ${LIBRPCSVC}
-LDADD= -lrpcsvc
-
-GENSRCS+= yp.h yp_clnt.c \
- yppasswd.h yppasswd_xdr.c yppasswd_clnt.c yppasswd_private.h \
- yppasswd_private_clnt.c yppasswd_private_xdr.c
-
-RPCGEN= rpcgen -C
-RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x
-RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x
-RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
+LIB = ypclnt
+SHLIB_MAJOR = 1
+SHLIB_MINOR = 0
+SRCS =
+SRCS += ypclnt_connect.c
+SRCS += ypclnt_error.c
+SRCS += ypclnt_free.c
+SRCS += ypclnt_new.c
+SRCS += ypclnt_passwd.c
+SRCS += ${GENSRCS}
+INCS = ypclnt.h
+CLEANFILES += ${GENSRCS}
+CFLAGS += -I.
+WARNS ?= 4
+NO_WERROR = yes
+DPADD += ${LIBRPCSVC}
+LDADD += -lrpcsvc
+
+GENSRCS =
+GENSRCS += yp.h
+GENSRCS += yp_clnt.c
+GENSRCS += yppasswd.h
+GENSRCS += yppasswd_xdr.c
+GENSRCS += yppasswd_clnt.c
+GENSRCS += yppasswd_private.h
+GENSRCS += yppasswd_private_clnt.c
+GENSRCS += yppasswd_private_xdr.c
+
+RPCGEN = rpcgen -C
+RPCSRC = ${.CURDIR}/../../include/rpcsvc/yp.x
+RPCSRC_PW = ${.CURDIR}/../../include/rpcsvc/yppasswd.x
+RPCSRC_PRIV = ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
yp.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
OpenPOWER on IntegriCloud