mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
5efd9b894a
in practice, even if there is no obj directory, because the sources are not in ${.CURDIR} and the full path to them was not added.
37 lines
831 B
Makefile
37 lines
831 B
Makefile
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
|
|
# $Id: Makefile,v 1.10 1997/05/28 04:53:07 wpaul Exp $
|
|
|
|
.PATH: ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
LIB= rpcsvc
|
|
|
|
RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
|
|
rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \
|
|
ypupdate_prot.x
|
|
|
|
OTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
|
|
SECRPCSRCS= publickey.c secretkey.c xcrypt.c
|
|
|
|
RPCCOM = rpcgen -C
|
|
|
|
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
|
|
|
|
CFLAGS+= -DYP ${INCDIRS}
|
|
|
|
GENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
|
|
SRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS}
|
|
|
|
CLEANFILES+= ${GENSRCS}
|
|
|
|
NOMAN= noman
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.SUFFIXES: .x _xdr.c
|
|
|
|
.x_xdr.c:
|
|
${RPCCOM} -c ${.IMPSRC} -o ${.TARGET}
|
|
|
|
OBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \
|
|
${OTHERSRCS:R:S/$/.o/g}
|