mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
c7b111cba8
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".
32 lines
597 B
Makefile
32 lines
597 B
Makefile
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
|
# $FreeBSD$
|
|
|
|
.SUFFIXES: .x
|
|
|
|
RPCCOM = rpcgen -C
|
|
|
|
HDRS= rpcb_prot.h
|
|
|
|
XFILES= rpcb_prot.x
|
|
|
|
HFILES= auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
|
|
nettype.h pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h \
|
|
rpc.h rpc_msg.h rpcb_clnt.h rpcent.h rpc_com.h \
|
|
svc.h svc_auth.h svc_soc.h svc_dg.h types.h xdr.h
|
|
|
|
# Secure RPC
|
|
HFILES+= auth_des.h des.h des_crypt.h
|
|
|
|
# Kerberos
|
|
HFILES+= auth_kerb.h
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
INCS= ${HFILES} ${XFILES} ${HDRS}
|
|
INCSDIR=${INCLUDEDIR}/rpc
|
|
|
|
.x.h:
|
|
${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|