Makefile (9199c09a159c4e3e98c212d4eec1edc5252d9e33) | Makefile (c0f2281eddc9d5dd8f5106611b93b8668ebb112d) |
---|---|
1# $FreeBSD$ 2 | 1# $FreeBSD$ 2 |
3LIB= ypclnt 4SHLIB_MAJOR= 4 5SRCS= ypclnt_connect.c \ 6 ypclnt_error.c \ 7 ypclnt_free.c \ 8 ypclnt_new.c \ 9 ypclnt_passwd.c \ 10 ${GENSRCS} 11CLEANFILES+= ${GENSRCS} 12INCS= ypclnt.h | 3LIB = ypclnt 4SHLIB_MAJOR = 1 5SHLIB_MINOR = 0 6SRCS = 7SRCS += ypclnt_connect.c 8SRCS += ypclnt_error.c 9SRCS += ypclnt_free.c 10SRCS += ypclnt_new.c 11SRCS += ypclnt_passwd.c 12SRCS += ${GENSRCS} 13INCS = ypclnt.h 14CLEANFILES += ${GENSRCS} 15DPADD += ${LIBRPCSVC} 16LDADD += -lrpcsvc 17WARNS ?= 4 |
13 | 18 |
14CFLAGS+= -I. | 19GENSRCS = 20GENSRCS += yp.h 21GENSRCS += yp_clnt.c 22GENSRCS += yppasswd.h 23GENSRCS += yppasswd_clnt.c 24GENSRCS += yppasswd_private.h 25GENSRCS += yppasswd_private_clnt.c 26GENSRCS += yppasswd_private_xdr.c |
15 | 27 |
16GENSRCS=yp.h \ 17 yp_clnt.c \ 18 yppasswd.h \ 19 yppasswd_xdr.c \ 20 yppasswd_clnt.c \ 21 yppasswd_private.h \ 22 yppasswd_private_clnt.c \ 23 yppasswd_private_xdr.c | 28RPCGEN = rpcgen -C 29RPCSRC = ${.CURDIR}/../../include/rpcsvc/yp.x 30RPCSRC_PW = ${.CURDIR}/../../include/rpcsvc/yppasswd.x 31RPCSRC_PRIV = ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x |
24 | 32 |
25RPCGEN= rpcgen -C 26RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x 27RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x 28RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x 29 | |
30yp.h: ${RPCSRC} 31 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 32 33yp_clnt.c: ${RPCSRC} 34 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} 35 36yppasswd.h: ${RPCSRC_PW} 37 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} 38 | 33yp.h: ${RPCSRC} 34 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 35 36yp_clnt.c: ${RPCSRC} 37 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} 38 39yppasswd.h: ${RPCSRC_PW} 40 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} 41 |
39yppasswd_xdr.c: ${RPCSRC_PW} 40 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW} 41 | |
42yppasswd_clnt.c: ${RPCSRC_PW} 43 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} 44 45yppasswd_private.h: ${RPCSRC_PRIV} 46 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} 47 48yppasswd_private_xdr.c: ${RPCSRC_PRIV} 49 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} 50 51yppasswd_private_clnt.c: ${RPCSRC_PRIV} 52 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} 53 54.include <bsd.lib.mk> | 42yppasswd_clnt.c: ${RPCSRC_PW} 43 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} 44 45yppasswd_private.h: ${RPCSRC_PRIV} 46 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} 47 48yppasswd_private_xdr.c: ${RPCSRC_PRIV} 49 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} 50 51yppasswd_private_clnt.c: ${RPCSRC_PRIV} 52 ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} 53 54.include <bsd.lib.mk> |