Makefile (9375) | Makefile (9970) |
---|---|
1# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC | 1# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC |
2# $Id: Makefile,v 1.4 1995/06/29 19:43:00 wollman Exp $ | 2# $Id: Makefile,v 1.5 1995/06/29 19:45:46 wollman Exp $ |
3 4.SUFFIXES: .x 5 6RPCCOM = rpcgen 7 8HDRS= klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h\ 9 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h 10XFILES= bootparam_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \ --- 6 unchanged lines hidden (view full) --- 17EVERYTHING= $(XFILES) $(HFILES) 18 19all: ${HDRS} 20 21install: all 22 @${ECHO} "Installing RPC service header and definition files" 23.for i in $(EVERYTHING) 24 @cd ${.CURDIR}; cmp -s $i $(RPCDIR)/$i || \ | 3 4.SUFFIXES: .x 5 6RPCCOM = rpcgen 7 8HDRS= klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h\ 9 rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h 10XFILES= bootparam_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \ --- 6 unchanged lines hidden (view full) --- 17EVERYTHING= $(XFILES) $(HFILES) 18 19all: ${HDRS} 20 21install: all 22 @${ECHO} "Installing RPC service header and definition files" 23.for i in $(EVERYTHING) 24 @cd ${.CURDIR}; cmp -s $i $(RPCDIR)/$i || \ |
25 (install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ | 25 (${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ |
26 $i ${RPCDIR}; \ 27 $(ECHO) $i) 28.endfor 29.for i in $(HDRS) 30 @cmp -s $i $(RPCDIR)/$i || \ | 26 $i ${RPCDIR}; \ 27 $(ECHO) $i) 28.endfor 29.for i in $(HDRS) 30 @cmp -s $i $(RPCDIR)/$i || \ |
31 (install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ | 31 (${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ |
32 $i ${RPCDIR}; \ 33 $(ECHO) $i) 34.endfor 35 36.x.h: 37 cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o ${.OBJDIR}/$@ 38 39.include <bsd.prog.mk> 40 41 42 43 | 32 $i ${RPCDIR}; \ 33 $(ECHO) $i) 34.endfor 35 36.x.h: 37 cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o ${.OBJDIR}/$@ 38 39.include <bsd.prog.mk> 40 41 42 43 |