aboutsummaryrefslogtreecommitdiff
path: root/include/rpcsvc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-05-12 16:01:00 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-05-12 16:01:00 +0000
commitc7b111cba82a6eafca66d37944c7293fb1a11000 (patch)
tree57ff969855b4ca919ff4d533236ef90e163b1e76 /include/rpcsvc
parent26e5d4d14fe0a1a8c1169a4f02b167aa6b26e2e7 (diff)
downloadsrc-c7b111cba82a6eafca66d37944c7293fb1a11000.tar.gz
src-c7b111cba82a6eafca66d37944c7293fb1a11000.zip
Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
Notes
Notes: svn path=/head/; revision=96462
Diffstat (limited to 'include/rpcsvc')
-rw-r--r--include/rpcsvc/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile
index 48e78a6f4733..d7d093fe5eb7 100644
--- a/include/rpcsvc/Makefile
+++ b/include/rpcsvc/Makefile
@@ -17,16 +17,11 @@ HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
CLEANFILES+= ${HDRS}
-all: ${HDRS}
-
-beforeinstall:
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${HFILES:S;^;${.CURDIR}/;} \
- ${XFILES:S;^;${.CURDIR}/;} \
- ${HDRS} \
- ${DESTDIR}/usr/include/rpcsvc
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 key_prot.h \
- ${DESTDIR}/usr/include/rpc
+INCSGROUPS= INCS RPCHDRS
+INCS= ${HFILES} ${XFILES} ${HDRS}
+INCSDIR= ${INCLUDEDIR}/rpcsvc
+RPCHDRS= key_prot.h
+RPCHDRSDIR= ${INCLUDEDIR}/rpc
.x.h:
${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}