Makefile revision 94577
194575Sdes# $FreeBSD: head/lib/libypclnt/Makefile 94577 2002-04-13 06:57:14Z des $ 294575Sdes 394575SdesLIB = ypclnt 494575SdesSHLIB_MAJOR = 1 594575SdesSHLIB_MINOR = 0 694575SdesSRCS = 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 1794575SdesDPADD += ${LIBRPCSVC} 1894575SdesLDADD += -lrpcsvc 1994575Sdes 2094575SdesGENSRCS = 2194575SdesGENSRCS += yp.h 2294575SdesGENSRCS += yp_clnt.c 2394575SdesGENSRCS += yppasswd.h 2494575SdesGENSRCS += yppasswd_clnt.c 2594575SdesGENSRCS += yppasswd_private.h 2694575SdesGENSRCS += yppasswd_private_clnt.c 2794575SdesGENSRCS += yppasswd_private_xdr.c 2894575Sdes 2994575SdesRPCGEN = rpcgen -C 3094575SdesRPCSRC = ${.CURDIR}/../../include/rpcsvc/yp.x 3194575SdesRPCSRC_PW = ${.CURDIR}/../../include/rpcsvc/yppasswd.x 3294575SdesRPCSRC_PRIV = ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x 3394575Sdes 3494575Sdesyp.h: ${RPCSRC} 3594575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 3694575Sdes 3794575Sdesyp_clnt.c: ${RPCSRC} 3894575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC} 3994575Sdes 4094575Sdesyppasswd.h: ${RPCSRC_PW} 4194575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW} 4294575Sdes 4394575Sdesyppasswd_clnt.c: ${RPCSRC_PW} 4494575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW} 4594575Sdes 4694575Sdesyppasswd_private.h: ${RPCSRC_PRIV} 4794575Sdes ${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV} 4894575Sdes 4994575Sdesyppasswd_private_xdr.c: ${RPCSRC_PRIV} 5094575Sdes ${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV} 5194575Sdes 5294575Sdesyppasswd_private_clnt.c: ${RPCSRC_PRIV} 5394575Sdes ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} 5494575Sdes 5594575Sdes.include <bsd.lib.mk> 56