diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-13 06:20:02 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-13 06:20:02 +0000 |
| commit | c0f2281eddc9d5dd8f5106611b93b8668ebb112d (patch) | |
| tree | 6c6416f8b50fad0a0556c858101fdcf1f8aecbeb /lib/libypclnt/Makefile | |
| parent | 2f6ee8eb7e21fff37c348090c628d3b259a19148 (diff) | |
Notes
Diffstat (limited to 'lib/libypclnt/Makefile')
| -rw-r--r-- | lib/libypclnt/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/lib/libypclnt/Makefile b/lib/libypclnt/Makefile new file mode 100644 index 000000000000..09e477aaa96a --- /dev/null +++ b/lib/libypclnt/Makefile @@ -0,0 +1,54 @@ +# $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} +DPADD += ${LIBRPCSVC} +LDADD += -lrpcsvc +WARNS ?= 4 + +GENSRCS = +GENSRCS += yp.h +GENSRCS += yp_clnt.c +GENSRCS += yppasswd.h +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} + +yp_clnt.c: ${RPCSRC} + ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} + +yppasswd.h: ${RPCSRC_PW} + ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} + +yppasswd_clnt.c: ${RPCSRC_PW} + ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} + +yppasswd_private.h: ${RPCSRC_PRIV} + ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} + +yppasswd_private_xdr.c: ${RPCSRC_PRIV} + ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} + +yppasswd_private_clnt.c: ${RPCSRC_PRIV} + ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} + +.include <bsd.lib.mk> |
