Makefile revision 94773
194575Sdes# $FreeBSD: head/lib/libypclnt/Makefile 94773 2002-04-15 15:39:14Z des $ 294575Sdes 394575SdesLIB = ypclnt 494575SdesSHLIB_MAJOR = 1 594575SdesSHLIB_MINOR = 0 694713SdesSRCS = 794575SdesSRCS += ypclnt_connect.c 894575SdesSRCS += ypclnt_error.c 994575SdesSRCS += ypclnt_free.c 1094575SdesSRCS += ypclnt_new.c 1194575SdesSRCS += ypclnt_passwd.c 1294575SdesSRCS += ${GENSRCS} 1394575SdesINCS = ypclnt.h 1494575SdesCLEANFILES += ${GENSRCS} 1594577SdesCFLAGS += -I. 1694577SdesWARNS ?= 4 1794770SruNO_WERROR = yes 1894575SdesDPADD += ${LIBRPCSVC} 1994575SdesLDADD += -lrpcsvc 2094575Sdes 2194575SdesGENSRCS = 2294575SdesGENSRCS += yp.h 2394575SdesGENSRCS += yp_clnt.c 2494575SdesGENSRCS += yppasswd.h 2594713SdesGENSRCS += yppasswd_xdr.c 2694575SdesGENSRCS += yppasswd_clnt.c 2794575SdesGENSRCS += yppasswd_private.h 2894575SdesGENSRCS += yppasswd_private_clnt.c 2994575SdesGENSRCS += yppasswd_private_xdr.c 3094575Sdes 3194575SdesRPCGEN = rpcgen -C 3294575SdesRPCSRC = ${.CURDIR}/../../include/rpcsvc/yp.x 3394575SdesRPCSRC_PW = ${.CURDIR}/../../include/rpcsvc/yppasswd.x 3494575SdesRPCSRC_PRIV = ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x 3594575Sdes 3694575Sdesyp.h: ${RPCSRC} 3794575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 3894575Sdes 3994575Sdesyp_clnt.c: ${RPCSRC} 4094575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} 4194575Sdes 4294575Sdesyppasswd.h: ${RPCSRC_PW} 4394575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} 4494575Sdes 4594773Sdesyppasswd_xdr.c: ${RPCSRC_PW} 4694713Sdes ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PW} 4794713Sdes 4894575Sdesyppasswd_clnt.c: ${RPCSRC_PW} 4994575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} 5094575Sdes 5194575Sdesyppasswd_private.h: ${RPCSRC_PRIV} 5294575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} 5394575Sdes 5494575Sdesyppasswd_private_xdr.c: ${RPCSRC_PRIV} 5594575Sdes ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} 5694575Sdes 5794575Sdesyppasswd_private_clnt.c: ${RPCSRC_PRIV} 5894575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} 5994575Sdes 6094575Sdes.include <bsd.lib.mk> 61