Home | History | Annotate | Download | only in games
History log of /src/games/Makefile.inc
RevisionDateAuthorComments
 1.16  23-Mar-2014  dholland Add note cautioning against bothering with WARNS=6 until gcc improves
(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;
^
 1.15  19-Jun-2012  dholland branches: 1.15.2;
WARNS=5, and make WARNS=5 the default for src/games.
 1.14  18-Jan-2009  dholland branches: 1.14.8;
Fix bogus conditional caught by today's make. It looks as if MKHIDEGAME
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.
 1.13  28-Jan-2008  dholland Make the default WARNS for games 4. The only game that needs to set WARNS
to anything else now is rogue, so clear WARNS from the other makefiles.
 1.12  28-May-2007  tls branches: 1.12.4;
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.11  27-Jan-2002  perry Temporarily add a "MKHIDEGAME" variable that by default blocks the
"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.
 1.10  27-Jan-2002  perry Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk
 1.9  20-Nov-1997  mrg install games that need it setgid.
 1.8  19-Nov-1997  mrg make hidden games mode 550, group games.
 1.7  12-Oct-1997  lukem branches: 1.7.2;
enable WARNS?=1 by default, & temporarily disable for the few unclean programs
 1.6  11-Oct-1997  mycroft Do the previous a little differently.
 1.5  11-Oct-1997  veego Only use SYMLINKS when PROG is defined.
 1.4  27-Mar-1997  mycroft Do the symlink for HIDEGAME here, via SYMLINKS.
 1.3  21-Mar-1995  cgd clean up import
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  21-Mar-1995  cgd from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.2.2  20-Nov-1997  mrg pull up from trunk:
- install games files with the correct permissions.
- install games that need it setgid.
 1.7.2.1  19-Nov-1997  mellon Pull rev 1.8 up from trunk (mrg)
 1.12.4.1  23-Mar-2008  matt sync with HEAD
 1.14.8.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.8.1  30-Oct-2012  yamt sync with head
 1.15.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed