aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* build: provide a default WARNS for all in-tree buildsKyle Evans2020-09-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover parts of the build a little deeper (e.g. libcasper). Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that variable is defined. This lets us relatively cleanly provide a default WARNS no matter where you're building in the src tree without breaking things outside of the tree. Crunchgen has been updated as a bootstrap tool to work on this change because it needs r365605 at a minimum to succeed. The cleanup necessary to successfully walk over this change on WITHOUT_CLEAN builds has been added. There is a supplemental project to this to list all of the warnings that are encountered when the environment has WARNS=6 NO_WERROR=yes: https://warns.kevans.dev -- this project will hopefully eventually go away in favor of CI doing a much better job than it. Reviewed by: emaste, brooks, ngie (all earlier version) Reviewed by: emaste, arichardson (depend-cleanup.sh change) Differential Revision: https://reviews.freebsd.org/D26455 Notes: svn path=/head/; revision=365887
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+1
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-1/+3
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* NOSHARED -> NO_SHAREDRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139112
* Now that we have gcc 3.4, we can flip ia64 to using a dynamically linkedGordon Tetlow2004-08-061-1/+1
| | | | | | | | | /bin and /sbin. Reviewed by: marcel (via pluto1) Notes: svn path=/head/; revision=133187
* Force a staticly linked /bin and /sbin for ia64. The necessary changesMarcel Moolenaar2003-11-191-1/+1
| | | | | | | | | | | | | | | to gcc have not been made for ia64, which means that executables still have /usr/libexec/ld-elf.so.1 as the dynamic linker. This simply does not work if /usr is a seperate filesystem not mounted when the kernel tries to execute init(8). Note that this is a temporary fix until a new gcc has been imported that does have the required changes. Approved: re@ Notes: svn path=/head/; revision=122900
* Change the default for binaries in /bin and /sbin from statically toGordon Tetlow2003-11-161-1/+1
| | | | | | | | | | | | dynamically linked. This has been a long time coming with the move of critical libraries from /usr/lib to /lib. If you don't feel comfortable with dynamically linked binaries in your root partition, now is the time to define NO_DYNAMICROOT in your make.conf. Approved by: re Notes: svn path=/head/; revision=122778
* Style.Ruslan Ermilov2003-11-021-1/+1
| | | | Notes: svn path=/head/; revision=121876
* Stage 4 of dynamically linked root support. Add a big knob,Gordon Tetlow2003-08-171-1/+4
| | | | | | | | | | | | | | WITH_DYNAMICROOT, which will toggle the generation of dynamically-linked binaries for installation in /bin and /sbin. It is currently off, meaning that /bin and /sbin are still statically linked by default. If something goes wrong (which I hope doesn't), this is what /rescue is all about. Please do not try to use WITH_DYNAMICROOT and NO_RESCUE to save space or some other equally silly reason. If you do and end up having problems, you have been warned. Notes: svn path=/head/; revision=119018
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-1/+0
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-0/+2
| | | | Notes: svn path=/head/; revision=74531
* Part one of a "fix-and-move". Init(8) had make macros declared hereMark Murray1997-02-101-16/+0
| | | | | | | | | bogusly. This removes the macros for replacement into init's Makefile. Pointed-out-by: BDE Notes: svn path=/head/; revision=22545
* Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8)Mark Murray1996-05-041-2/+8
| | | | Notes: svn path=/head/; revision=15612
* Define CRYPTOBJDIR if secure is being builtMark Murray1995-10-011-0/+10
| | | | Notes: svn path=/head/; revision=11109
* Don't build /sbin shared.Rodney W. Grimes1994-05-281-0/+1
| | | | Notes: svn path=/head/; revision=1597
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+3
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558