Commit Graph

3374 Commits

Author SHA1 Message Date
Bruce Evans
5441eeaedf Fudge local variables better in the yacc rules so that multiple yacc
sources are handled properly.
1998-05-04 17:43:46 +00:00
Bruce Evans
42b2082ac7 Generate explicit rules and other infrastructure for lex and yacc
sources.  This will be used to fix `make -jN' races in many
Makefiles in /usr/src, and to simplify these and other Makefiles.

To get the fixes and simplifications, application Makefiles should
put the raw lex and yacc source names (foo.l and bar.y) in SRCS and
not put the names of any generated files in SRCS or CLEANFILES.  A
few Makefiles already do this, although it didn't actually work before
(mkdep couldn't create complete dependencies because there is no
intermediate .c file for the .y.o and .l.o implicit rules).

Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h
will be generated whether or not it is used, even if this clobbers a
real source file.  This is so that bar.c can be generated using the
-j-safe and debugger-friendly -o option to YACC.  There are smaller
warts for handling y.tab.h.  y.tab.c and lex.yy.c are not supported.
1998-05-04 13:54:41 +00:00
Poul-Henning Kamp
59a3a63c97 Just the sans-serif console font that I use on my system; I've made the
letters one pixel taller, and the ()[]{} are more distinct.  Nice if
your monitor is small.  8x16 and 8x8 fonts included.

PR:		4208
Reviewed by:	phk
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1998-05-04 11:24:05 +00:00
Steve Price
05effdc4fc Change a couple 'make' to '${MAKE}'.
PR:		6341
Submitted by:	Niall Smart <rotel@indigo.ie>
1998-05-04 04:01:26 +00:00
James Raynard
c52c933ddd Typo fixes 1998-05-03 22:59:47 +00:00
Steve Price
941bf15861 Typo and grammer fixes.
PR:		6482
Submitted by:	Allen Campbell <allenc@verinet.com>
1998-05-03 17:57:39 +00:00
Bruce Evans
89f9e39f19 Added -ansi to CWARNFLAGS so that ANSI errors don't come back. 1998-05-01 18:13:37 +00:00
Jordan K. Hubbard
94e9e9fdc2 Add -pipe to default CFLAGS. The optimization it provides is cheap
and does not require any special action on the part of the user to
take advantage of it.  And no, it probably won't work with c89. Cry me
a river!
1998-05-01 11:36:59 +00:00
Andreas Klemm
a2ba45e521 Fixes incorrect company and product names in uha(4) manpage and
LINT config file. Should be merged to -STABLE as well.
PR:		closes 6447
Submitted by:	Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
Bruce Evans
55137cdb87 Don't include ../Makefile.inc here. bsd.man.mk is always included
in another .mk file which has already included ../Makefile.inc, so
including ../Makefike.inc again mainly messed up `+=' definitions.
1998-04-27 15:08:07 +00:00
John Birrell
6d4e2365bf Add an example supfile for the gnats database.
Submitted by:	A Joseph Koshy <koshy@india.hp.com>
1998-04-20 11:26:29 +00:00
Brian Somers
252ba33d3c Add natd support.
PR:		6339
Submitted by:	cdillon@wolves.k12.mo.us
1998-04-18 10:27:19 +00:00
Andrey A. Chernov
b7574f89a4 Add commented out common INSTALL and FORCE_PKG_REGISTER knobs 1998-04-16 08:21:24 +00:00
Andrey A. Chernov
07b31e7d58 Add missing commented out MOTIF_STATIC example 1998-04-16 08:01:27 +00:00
Poul-Henning Kamp
5a85f025f8 In light of the fact that several widespread sendmail alternatives exists
is reason enough to make the compilation & installation of sendmail an
make.conf option.  I know that you hate negative options Bruce.

PR:		6284
Reviewed by:	phk
Submitted by:	Adrian Colley <aecolley@world.std.com>
1998-04-15 16:37:42 +00:00
Bruce Evans
ab9ddd8e8a Finished previous commit. Just revert to rev.1.9.
Bruce
1998-04-13 15:05:43 +00:00
Jordan K. Hubbard
255f85322d Fix comment.
Scolded by:	bde
1998-04-12 14:02:33 +00:00
Søren Schmidt
e4a4c14ac4 omehow Jordan got 07.lpd in -current enabled again... 1998-04-12 12:33:59 +00:00
Poul-Henning Kamp
abc7a4adca In these enlightened times there are more and better places to find
this information.  PR 2789 mentions:

     http://www.pacbell.com/about-pb/areacodes/

     http://www.bellcore.com/NANP/

PR:		2789 (in a backewards kind of way)
1998-04-11 20:45:16 +00:00
Jordan K. Hubbard
e963d45e31 MF22: build lpd docs 1998-04-11 15:10:35 +00:00
John Birrell
087ee43044 Add a reference to the gcc linker option -pthread that is part of
the FreeBSD configuration LIB_SPEC.
1998-04-10 09:33:09 +00:00
Søren Schmidt
ca317b8277 Add the LBA addressing flag. 1998-04-09 22:31:47 +00:00
John Birrell
4d2c1d2306 This function compiles with the standard, so say so. 1998-04-03 09:12:19 +00:00
John Birrell
bb8a420424 This function compiles with the standard, so say so.
Add a note about not touching errno and warn about previous drafts
of the standard which changed the level of indirection to the thread
argument. POSIX had a bit of trouble deciding what to do. So anyone
coding to both draft 4 and draft 10 (the final draft) will get burnt
by this function. I did. Grrr.
1998-04-03 09:11:15 +00:00
Philippe Charnier
facbd4876f .Sh AUTHOR -> .Sh AUTHORS. 1998-04-01 06:24:20 +00:00
Jean-Marc Zucconi
2dc703e48c Document the WORMIOCFIRSTWRITABLEADDR ioctl. 1998-03-31 01:55:11 +00:00
Warner Losh
58ee96c06e fkey61 is the same thing as del, kinda. Make sure that we really swap del and
bs.

Reported by: Chuck Robey
1998-03-30 04:25:42 +00:00
Eivind Eklund
55d7643ed8 Support for fine-grained external control of subdir building. 1998-03-29 01:10:09 +00:00
Peter Dufault
8a6472b723 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
Warner Losh
432f450f4e Add us.unix.kbd. Just like us.iso.kbd except:
ESCAPE and `~ are swapped
	CTRL and CAPS LOCK are swapped
	BACKSPACE and DELETE are swapped

Suitable for keymap=us.unix in your rc.conf file or for setting on the
fly with kbdcontrol -l us.unix.  This is the keyboard layout of many of
the more traditional unix workstations and terminals that have been around
for a very long time.  Older Sun keyboards and VT100's had a layout
very similar to the PC, with the above exceptions.
Idea Reviewed by:	Many people in -hackers
1998-03-28 06:42:43 +00:00
Eivind Eklund
f342a1c4b4 Remove special handling of 'tags' for complex subdir systems
(presently only used in tip; should have been used by e.g. pkg_add).

Submitted by:	bde
1998-03-26 16:02:44 +00:00
Dima Ruban
0fcadac763 Don't build sperl if you don't want to. 1998-03-26 06:06:22 +00:00
Satoshi Asami
f0bb46b1b3 Don't delete "Latest" link if NO_LATEST_LINK is set. 1998-03-24 03:34:51 +00:00
Peter Wemm
58a06cdf07 Updates for the new si driver.
Obtained from:  Nick Sayer <nick@specialix.com>, and tweaks by me.
1998-03-23 20:24:31 +00:00
Eivind Eklund
1ed9b1c368 Support new version of global.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
Tested by:	make buildworld
1998-03-23 14:58:30 +00:00
Bruce Evans
5c7e14e4fb Fixed a function arg type in the synopsis. 1998-03-23 13:07:17 +00:00
Bruce Evans
8d17ea527b Use gzip's -n flag so that simple regression tests of `make world'
work better.
1998-03-19 13:32:43 +00:00
Bruce Evans
5f1c0dcd1a Fixed CLEANFILES. Some temporary files were missing. 1998-03-19 13:22:46 +00:00
Jordan K. Hubbard
77636759a3 style tweak. 1998-03-18 08:00:25 +00:00
Jordan K. Hubbard
9a4d88e55e Document NOPERL 1998-03-18 07:58:49 +00:00
Bruce Evans
fe9ce45a0e Improved comparison of ${DPADD} with ${LDADD} for the checkdpadd target.
`BINFORMAT=foo make checkdpadd' in /usr/src now reports only 2 false
negatives (in libss and init).  (BINFORMAT=foo is to turn off better
handling of the a.out case.)
1998-03-14 14:08:29 +00:00
Eivind Eklund
69b87d3e06 Introduce the 'regress' target.
Silently approved by:	-hackers, -current
1998-03-12 20:02:17 +00:00
Philippe Charnier
aaf1f16e39 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs.
Use .An/.Aq.
1998-03-12 07:31:21 +00:00
Jordan K. Hubbard
593616c9ef Add man page for the bktr driver.
PR:		5954
Submitted by:	wlloyd@mpd.ca (with tweaks from reviewer)
1998-03-09 10:56:22 +00:00
Jordan K. Hubbard
76a43cd8f2 Document rarpd flags. 1998-03-09 08:50:59 +00:00
Jordan K. Hubbard
4d79c8effc Typo fixes.
PR:		5951
Submitted by:	Doug <Studded@dal.net>
1998-03-09 02:21:17 +00:00
Peter Dufault
aac4ad2c99 Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L:

1. Add sys/_posix.h to handle those preprocessor defs that POSIX
says have effects when defined before including any header files;

2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE

3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now
defined in POSIX.  These show up when:

_POSIX_SOURCE and _POSIX_C_SOURCE are not set or
_POSIX_C_SOURCE is set >= 199309L

and vanish when:

_POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L.

4. Explain these in man 9 posix4;

5. Include _posix.h and conditionalize on new feature test.
1998-03-08 17:25:38 +00:00
James Raynard
49ad8a1f2c Revert previous commit. Despite the names, these files contain
troff input, not C source.
1998-03-07 22:34:23 +00:00
Bruce Evans
a813856e54 Pass -nostdinc to mkdep for assembler and C files (it was already
passed for C++ files).

Don't pass -nostdlib to mkdep for C++ files.

Don't use temporary variables to obfuscate the main rule.
1998-03-07 13:57:37 +00:00
Bruce Evans
fcccc50b75 Fixed generation of extra dependencies:
- the two `_EXTRADEPEND::' targets potentially clobbered each other for
  `make -jN'.  In practice, the output for the second target sometimes
  disappeared.
- bogus dependencies were generated for static libraries.
1998-03-07 13:13:41 +00:00