Commit Graph

41 Commits

Author SHA1 Message Date
wiz d6a5b6cce4 Convert to mdoc. Still needs tbl for two tables that have more than 6
columns, but looks much nicer now.
2001-04-02 22:41:43 +00:00
simonb eb5ddb38e4 Build the data files in the obj/compile directory and install them with
FILES and FILESDIR.
"Problem" reported by David Querbach on current-users.
2001-03-27 02:23:28 +00:00
christos c18d8e65fc remove redundant decls 2001-02-05 01:01:27 +00:00
matt 568a487125 Make this produce local objects with .lo suffix. 2000-06-20 16:07:04 +00:00
jdc d6d7f0531f Fix arguments to *printw(). 2000-04-27 00:30:51 +00:00
pk b63c26a995 HOST_CC -> HOST_LINK.c 2000-04-24 15:15:05 +00:00
jdolecek 8c9b24b9ca Fix two ubiquitous operator precedence error of type
bar = foo + (cond) ? x : y.
Patch sent by John Darrow in bin/9698.
2000-03-30 11:01:13 +00:00
mycroft 615ac255bd More .mk file fallout. *sigh* 2000-01-23 22:10:52 +00:00
jsm ce5670f70f Fix uses of namespaces reserved by ISO C or POSIX.1. 1999-09-30 18:01:31 +00:00
jsm 8cdc3f1b7f Cleanup and warning fixes for phantasia/setup.c. 1999-09-19 18:14:52 +00:00
jsm 20e3305006 Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
jsm 7dc5308d13 A couple more checks for file descriptor < 3 missed earlier. 1999-09-13 17:15:42 +00:00
jsm 5fb18dd9da Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
1999-09-08 21:57:16 +00:00
jsm b03d4fa882 Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082.  Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
1999-09-08 21:45:25 +00:00
jsm 092d313019 Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
1999-09-08 21:17:44 +00:00
simonb ba77c9abaf Don't chown installed files or directories if UNPRIVILEGED is defined.
"make build" should now work as a non-root user (tested on Alpha).
mtree spits out lots of warnings during "make distrib-dirs", but
these are non-fatal.
1999-08-21 06:30:11 +00:00
hubertf 96651fe764 Make phrase to enter password again clearer 1999-08-18 01:39:16 +00:00
tron 1c7a4fb141 Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers. 1999-01-02 15:47:55 +00:00
dbj 16a09f01ca tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
1998-12-06 09:06:45 +00:00
veego 04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
mycroft a6bb9f4ef1 const poisoning. 1998-07-27 01:12:35 +00:00
jtc 2065ddb3da Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +00:00
christos 3fbc9d3d5d Remove -lcompat; not needed 1998-02-04 10:19:34 +00:00
mrg 84c6a8bdf1 don't clobber the score file! 1997-11-24 01:47:26 +00:00
mrg 999b5ad105 install games files with the correct permissions. 1997-11-20 08:52:16 +00:00
mrg 6074e1b476 install games that need it setgid. 1997-11-20 00:12:30 +00:00
lukem a232aee2bc WARNSify, KNFify (inc. removing extremely verbose & useless comments), ... 1997-10-13 02:18:06 +00:00
lukem 4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
lukem 31af6bf816 getopt returns -1 not EOF 1997-10-12 14:19:17 +00:00
phil c8798e26cd Use tbl support from bsd.man.mk instead of having a special rule. 1997-06-30 19:33:34 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
mycroft a839dd7415 Use afterinstall, not beforeinstall. 1997-05-09 16:51:41 +00:00
thorpej 20c2907cc6 Allow this to be cross-compiled. 1997-04-19 07:20:13 +00:00
tls 088fb970a2 Sync to 4.4BSD-Lite2, not that you'd know because none of these files have SCCS ID strings! 1997-01-07 12:20:38 +00:00
jtk 69aa3ae174 use posix-style : for chown uid/group separator 1996-06-01 19:47:19 +00:00
cgd c4816c32b3 Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd dcfebd78e8 rcs id conventions 1995-03-24 03:58:08 +00:00
pk db800d7063 Use ${DESTDIR}. 1995-03-08 19:41:53 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
jtc 86a62b8dfd phantasia(6), from 44lite 1994-10-21 21:19:39 +00:00