mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-30 05:01:39 +01:00
70046b9a22
Taken from 1.1.5; not sure who originally wrote it.
32 lines
704 B
Makefile
32 lines
704 B
Makefile
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
|
|
# $Id: Makefile,v 1.6 1994/02/07 09:07:48 rgrimes 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
|
|
|
|
RPCCOM = rpcgen
|
|
|
|
INCDIRS= -I/usr/include/rpcsvc
|
|
CFLAGS+= ${INCDIRS}
|
|
|
|
SRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
|
|
|
|
CLEANFILES+= ${SRCS} ${RPCSRCS}
|
|
|
|
NOMAN= noman
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.SUFFIXES: .x _xdr.c
|
|
|
|
.x_xdr.c:
|
|
@echo generating $@...
|
|
@PWD=`pwd` ; cd ${.CURDIR} ; if cmp -s ${.IMPSRC} ${*F}.x > /dev/null; then :; else cp -f ${.IMPSRC} $$PWD/${*F}.x ; fi
|
|
@${RPCCOM} -c ${*F}.x -o ${.TARGET}
|
|
|
|
OBJS+= ${RPCSRCS:R:S/$/_xdr.o/g}
|