Home | History | Annotate | Download | only in librpcsvc
History log of /src/lib/librpcsvc/Makefile
RevisionDateAuthorComments
 1.42  25-Nov-2024  riastradh librpcsvc: Split yp symbols into a separate expected symbols list.

Should fix MKYP=no builds.
 1.41  24-Apr-2019  roy branches: 1.41.12;
Fix building librpcsvc for MKYP=no
 1.40  21-Mar-2012  matt branches: 1.40.32;
These directories don't handle WARNS=5
 1.39  28-May-2007  tls branches: 1.39.34;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.38  08-Jan-2005  lukem Build librpcsvc as a shared library, since pam_unix.so needs it.
 1.37  05-Jan-2003  sommerfeld Use <bsd.rpc.mk>
 1.36  19-Aug-2002  lukem Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)
 1.35  29-Jan-2002  tv Cope with RPCGEN now conta8ining multiple words.
 1.34  12-Dec-2001  tv Readability cleanups; MKfoo=no -> NOfoo.
 1.33  01-Nov-2001  tv Be smarter about finding rpcgen's absolute path; only do it if ${RPCGEN}
(when evaluated) does not start with a /. Also don't go through a make(1)
recursion step; just use !=.
 1.32  31-Oct-2001  tv No need to do the tricky XRPCGEN dance; simply add the rules after
.include <bsd.lib.mk>. Defining the explicit compile rules later is fine.
 1.31  21-Mar-2001  mycroft Use `rpcgen -C'.
 1.30  16-Feb-2001  enami No need to invoke extra shell.
 1.29  16-Jan-2001  cgd use expr to do subtraction. shell math isn't as portable.
 1.28  30-Dec-2000  sommerfeld parallelize (mostly ${MAKE} print-objdir -> ${PRINTOBJDIR})
 1.27  29-Nov-2000  matt Add -${MAKEFLAGS} so that make options (like -m) get used for the submake
 1.26  10-Sep-2000  erh Make targets which are generated with rpcgen depend on the rpcgen binary.
 1.25  25-Jul-2000  cgd ${RPCGEN}, not hard-coded rpcgen
 1.24  13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.23  09-Oct-1997  lukem remove WARNS=0, because mycroft fixed rpcgen(1) to DTRT WRT outputting KNF.
 1.22  09-Oct-1997  lukem - define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
 1.21  09-May-1997  mycroft Minor cleanup.
 1.20  09-May-1997  mycroft Eliminate bogus redefinitions of standard targets.
 1.19  24-Mar-1997  christos Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
 1.18  18-Oct-1996  thorpej Use ${INSTALL}.
 1.17  10-May-1996  cgd Be more verbose during 'includes' installation. Instead of showing
'install' commands only if the 'cmp' sees differences, show the
'cmp ... || install ...' commands like other Makefiles do when
installing includes. It's comforting to see the extra output (to see
that updated files would actually be installed), and is consistent
with other makefiles.
 1.16  08-May-1996  pk $Id -> $NetBSD (PR#682).
 1.15  29-Apr-1996  jtc Changed rules used for converting rpc source (*.x) to *.c and *.h so
that rpcgen invocation is not hidden. There is no reason to hide it,
and it might be useful. For example, this makes the make -n output
much more useful.
 1.14  29-Apr-1996  jtc Echo install commands, so user knows what is being installed.
Suggested by cgd.
 1.13  25-Apr-1996  jtc Use 'includes' instead of 'beforeinstall' target to install headers
 1.12  12-Jan-1995  jtc Rpcgen bugs that required us to have separate src, include, and object
directories have long been fixed. This allows us to bring the *.x
files up into the main librpcsvc directory where they belong.
 1.11  12-Jan-1995  jtc Use and .
 1.10  14-Jun-1994  cgd amq.x is gone now
 1.9  22-May-1994  jtc Only install header files if they are different from the ones that are
allready installed.
 1.8  20-Jan-1994  jtc Rpcgen fix allows us to simplify building of rpcsvc library.
 1.7  08-Oct-1993  cgd move include generation and rpc source files intp lib/librpcsvc
 1.6  01-Aug-1993  mycroft Add RCS identifiers.
 1.5  03-Jun-1993  brezak Add more RPC definitions.
 1.4  03-Jun-1993  brezak Keep the cp'ed .x in the objdir. Be sure to clean it too.
 1.3  03-Jun-1993  brezak Copy the .x file to the obj directory before running rpcgen. You have
to do this because rpcgen will generate an include line with the full
path of the .x file.
 1.2  03-Jun-1993  brezak Fix for building in obj tree.
 1.1  02-Jun-1993  brezak Build librpcsvc.a
 1.39.34.1  17-Apr-2012  yamt sync with head
 1.40.32.1  10-Jun-2019  christos Sync with HEAD
 1.41.12.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed