summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* Add note cautioning against bothering with WARNS=6 until gcc improvesdholland2014-03-231-1/+4
| | | | | | | | (or -Wconversion is removed from WARNS=6) as it produces loads of false positives. The most entertaining of these that I've seen this afternoon: games/hack/hack.apply.c:143:22: error: conversion to 'unsigned char:1' from 'int' may alter its value [-Werror=conversion] flags.move = multi = 0; ^
* WARNS=5, and make WARNS=5 the default for src/games.dholland2012-06-191-2/+2
|
* Fix bogus conditional caught by today's make. It looks as if MKHIDEGAMEdholland2009-01-181-2/+2
| | | | | | | has never worked since it was introduced in 2002... clearly a lot of people care about that. It should work now, but because it's evidently never been tested it may also require setlist adjustments.
* Make the default WARNS for games 4. The only game that needs to set WARNSdholland2008-01-281-2/+2
| | | to anything else now is rogue, so clear WARNS from the other makefiles.
* Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls2007-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Temporarily add a "MKHIDEGAME" variable that by default blocks theperry2002-01-271-2/+4
| | | | | | | "install some games into /usr/games/hide" dance. This is ?='ed to "no" at the top of the file. XXX What we should do ultimately is either add this to bsd.own.mk or rename it to MKDM and also have it control whether dm(8) is built at all.
* Make this work if HIDEGAME is not set but SETGIDGAME is set.perry2002-01-271-6/+10
| | | | Also, fix SETGIDGAME -- it was breaking for anything that included bsd.own.mk
* install games that need it setgid.mrg1997-11-201-1/+5
|
* make hidden games mode 550, group games.mrg1997-11-191-3/+3
|
* enable WARNS?=1 by default, & temporarily disable for the few unclean programslukem1997-10-121-1/+2
|
* Do the previous a little differently.mycroft1997-10-111-6/+2
|
* Only use SYMLINKS when PROG is defined.veego1997-10-111-1/+5
|
* Do the symlink for HIDEGAME here, via SYMLINKS.mycroft1997-03-271-1/+2
|
* clean up importcgd1995-03-211-2/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+9