aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-18 15:13:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-18 15:13:06 +0000
commit455e3a78bf4649fc7fae3f6b9f2c7840bfc14cec (patch)
treea443dd54ea8c39107fe4d164e3eec65811aab5d3
parent198d002e7b889d754bb172123f518cbaeab0a834 (diff)
downloadsrc-455e3a78bf4649fc7fae3f6b9f2c7840bfc14cec.tar.gz
src-455e3a78bf4649fc7fae3f6b9f2c7840bfc14cec.zip
This style is *way* outside the relm of any other of our Makefiles
(other than the single sys.mk). Adjust to smell like FreeBSD. Reviewed & prefered by: bde
Notes
Notes: svn path=/head/; revision=94998
-rw-r--r--lib/libypclnt/Makefile53
1 files changed, 21 insertions, 32 deletions
diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile
index 4af3bc8f95ae..1fc2adc6ccd3 100644
--- a/lib/libypclnt/Makefile
+++ b/lib/libypclnt/Makefile
@@ -1,37 +1,26 @@
# $FreeBSD$
-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
+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
yp.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}