Commit Graph

7208 Commits

Author SHA1 Message Date
erh 552531a249 Also support per-program LDFLAGS and LDSTATIC. 2003-09-13 03:44:20 +00:00
erh 056a75c41e Create a way to add additional flags to COPTS, CPPFLAGS, CXXFLAGS and LDADD
for particular libraries or programs by specifying the additions in mk.conf
instead of needing to go edit individual Makefiles.
2003-09-13 02:52:05 +00:00
lukem ee20b1b408 sanitise ${DESTDIR}${SOMEOTHERVAR} 2003-09-13 00:16:10 +00:00
lukem 7be275a0ed add infrastructure to support reach-over builds of xsrc 2003-09-12 07:44:10 +00:00
lukem 5ec73d3c6d <bsd.x11.mk>: infrastructure to support reach-over builds of xsrc 2003-09-12 07:40:34 +00:00
wiz e8080261ea Remove superfluous .Nm arguments; grammar fixes; add semicolons
when enumerating variables (looks more natural).
2003-09-10 14:24:23 +00:00
christos 97f5766ac2 New man page for siginfo. 2003-09-10 14:11:27 +00:00
wiz a4ef1e4169 Fix typo. 2003-09-10 13:54:08 +00:00
jschauma 88744fcbcc Add MUA and MTA. 2003-09-10 03:34:58 +00:00
wiz a607a10950 Punctuation fix. 2003-09-08 18:06:40 +00:00
wiz dca9ccd375 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
simonb 47b6d4cbaf Note that umass works with Sony DSC Digital Cameras in general, and not
just one specific model (augments PR doc-bug/22684).
2003-09-08 11:45:23 +00:00
seb 4fa89f262a Remove link from pool_cache.9 to itself.
Implicit approval by kleink@.
2003-09-07 21:14:22 +00:00
wiz 47190e80b8 Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
wiz 306ad0947f Grammar improvements from Jason Lingohr in PR 22712. 2003-09-07 15:57:30 +00:00
wiz fed69d20fb Fix a Xr (missing section), and sort SEE ALSO. 2003-09-07 14:10:34 +00:00
yamt 1a8fb0c4bb a pool_cache(9) manpage.
maybe incomplete, but better than none.
2003-09-07 11:24:34 +00:00
yamt 3284959051 add a missig period. 2003-09-07 10:09:07 +00:00
wiz 9ff10e9612 Mark up NULL; whitespace nits. 2003-09-06 23:20:57 +00:00
christos 245108acf3 clarify versioning scheme, and update for SA_SIGINFO. 2003-09-06 22:08:48 +00:00
yamt 23af6a400e this is about buffer cache, not namei 2003-09-06 19:38:19 +00:00
yamt ef0f2fa292 use .Fn rather than .Fa for functions. 2003-09-06 19:25:04 +00:00
wiz ab4849bbde Grammar improvements; fix typos; mark up B_* flags with .Dv. 2003-09-06 19:09:03 +00:00
yamt 5c0b08ff13 use .Fn rather than .Fa for functions. 2003-09-06 19:02:42 +00:00
yamt b840c9fdf3 note that bread() and friends don't use a given ucred. 2003-09-06 18:41:44 +00:00
yamt ad7083055f a man page for buffer cache interfaces.
(an incomplete page is better than no page)
2003-09-06 18:12:39 +00:00
wiz 4777604a08 Add man page for aica(4). 2003-09-06 16:24:21 +00:00
cjep 902ec20eef Sync w/ FreeBSD v1.73 (add FreeBSD 5.1 and BSD/OS 5.0 to the family tree). 2003-09-06 13:36:23 +00:00
tron 1b7c775558 Add a few more devices which are known to work with this driver.
Some of them were suggested by Rich Neswold in PR kern/22684.
2003-09-05 09:04:40 +00:00
wiz 1579d37ceb In `openfiles' attribute, clarify that it's the number of open file
descriptors (which could include sockets, etc.).
From jmc@openbsd.
2003-09-04 09:19:36 +00:00
lukem 959cbfd166 revert previous; there's too much hairy crap in sys/lkm/compat involving
the order that Makefile.inc is pulled in to get this to work.

this stuff needs a rototill (for another day). for example, having every
sys/lkm/** directory make their own  machine ${MACHINE_CPU} and possibly
${SHARED_MACHINE_CPU} (e.g, x86 for i386/x86_64) is not the most optimal
situation ...
2003-09-04 08:27:08 +00:00
lukem f212488840 simplify include symlink creation with LNFILES 2003-09-04 07:15:43 +00:00
dan b8ae1829cd build atw.4 2003-09-04 03:17:03 +00:00
lukem d4ea794325 .PHONY cleanlnfiles 2003-09-03 07:09:39 +00:00
lukem 518360ab1a pull in <bsd.files.mk> incase LNFILES is used by <bsd.man.mk> user. 2003-09-03 05:40:12 +00:00
lukem d18c364585 Implement LNFILES: a list of two word items:
lnsrc lntgt
For each lnsrc item, create a symlink named lntgt.
The lntgt symlinks are removed by the cleandir target.
2003-09-03 05:38:09 +00:00
junyoung 54df754e6e Sort unsorted entries in last commit. 2003-09-02 10:29:27 +00:00
junyoung 2b86c997a6 Sort entries by name. 2003-09-02 10:26:46 +00:00
junyoung d1c665c08e Add UTF-8 ctype locale support for Korean.
From Min Sik Kim <minskim bawi org>. tshiozak@ ok.
2003-09-02 09:30:31 +00:00
wiz d66a08dbdc Bump date for previous. 2003-09-01 18:51:15 +00:00
manu 6035c6f8af The sentence explaining programs using /proc are unsupported is misleading:
we support them using -o linux option of mount_proc. Remove it.
2003-09-01 17:54:41 +00:00
uwe ce52f77fb0 Now that HAVE_GCC3 is always defined, adjust the logic that selects if
NOPIC for sh3 should be set to check the value of HAVE_GCC3.
2003-09-01 09:38:42 +00:00
lukem fd483b4d81 provide commands required to create the syslog log files used by this config 2003-09-01 00:30:34 +00:00
lukem da5f4674a3 don't need to rotate /var/cron/log, as all.debug doesn't use it 2003-09-01 00:29:05 +00:00
wiz 8cc29c0e3f Grammar improvements; new sentence, new line; drop superfluous Pp. 2003-08-31 16:40:33 +00:00
wiz 5230fed0a0 Bump date for previous; use Dv for a #define; add an article for better grammar. 2003-08-31 16:38:30 +00:00
wiz df4a783e58 Bump date for last, remove superfluous Pp. 2003-08-31 16:36:34 +00:00
wiz 36b8de2473 Add ASAIC (as soon as I can). 2003-08-31 16:35:32 +00:00
enami 6023693d1b uvm_map() takes sixth argument `align'. 2003-08-31 12:35:35 +00:00
ragge 6914781990 Remove description of trailers and some non-existing error messages. 2003-08-31 11:34:09 +00:00
ragge 27d88f53e3 Add qt manpage. 2003-08-31 11:29:05 +00:00
wiz fc388bdc8b Use more markup; comment out xref to hostname.if(5) which we do not have;
drop trailing whitespace; use standard section header order.
2003-08-30 23:15:05 +00:00
jdolecek 7dbbf58371 add sk(4) manpage, adapted from OpenBSD by Stephen Degler
followup to PR kern/22511
2003-08-30 22:00:37 +00:00
jmmv 673c04d3d6 Add NOYB, NOYFB. From Soren Jacobsen. 2003-08-30 20:49:20 +00:00
wiz d6391bee35 Add KVA, PDP, PTE, and PTP. 2003-08-30 10:17:45 +00:00
martin a79495d23b Default sparc64 to XFree 4. 2003-08-29 10:51:21 +00:00
wiz c5400d5e9a Sync termios(4) with header file. Reported by Vink Joris.
Diff provided by jmc@openbsd -- thanks!
2003-08-28 19:39:40 +00:00
tron 1fc6b8eac2 Fix logic error in last change which caused GCC 3.x to be the default for
several platforms unintentionally.
2003-08-28 12:28:34 +00:00
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
wiz ba19061c25 Bump date for last. 2003-08-24 18:12:58 +00:00
marcus f41f88660b Mention AICA device driver. 2003-08-24 17:35:58 +00:00
lukem 40a8a5734e Support ${LDFLAGS} when linking libraries 2003-08-24 09:35:49 +00:00
wiz c75eddaaa3 New sentence, new line; grammar fix. 2003-08-23 23:29:54 +00:00
wiz 7aa5d5eb62 regen (+crypto) 2003-08-23 23:16:36 +00:00
wiz 604306e5cf Bump date for last. 2003-08-23 23:10:27 +00:00
wiz 2da7435114 Bump date for last. 2003-08-23 22:39:32 +00:00
wiz 5049850f67 New sentence, new line. 2003-08-23 22:25:03 +00:00
yamt ee4f738b03 sync with reality. 2003-08-23 07:21:07 +00:00
dsl a33723f245 Add a ${PROG}.ro target that does an 'ld -r' of the program object files.
Allows a much simplified build of 'crunched' binaries since crunchgen can
build prog.ro instead of having to deretmine the names of all the .o files.
2003-08-22 19:17:00 +00:00
christos 4ef8a70c82 Disable -Wtraditional and explain why. 2003-08-22 18:07:21 +00:00
itojun 2aaba1f5d3 add Corega USB-TXS (aue.4 and if_aue.c are very out of sync - could some
take a look?)
2003-08-22 06:43:02 +00:00
itojun 15980e345d manpage for udav* 2003-08-22 06:42:01 +00:00
jschauma 1a1b3c583d Add MIA 2003-08-21 12:57:14 +00:00
drochner 3eecd94099 vlan support works, as far as the driver is concerned, so uncomment
the corresponding part
2003-08-21 12:50:57 +00:00
jdolecek 2ed4245f5e fixup the part what happens when specified filename
doesn't exist in description of cinclude
2003-08-19 09:33:16 +00:00
jdolecek 3faeefaf20 document 'include', 'cinclude', 'prefix' and 'package'
bump date
2003-08-19 09:29:22 +00:00
tshiozak ad49f181fd To ensure the mapping identical, change the unicode codepoint for the reverse
solidus on JIS X 0208.
2003-08-18 15:28:25 +00:00
keihan 35b86d9c94 Add CIDR and NIC. 2003-08-15 05:56:41 +00:00
wiz 82c8a2d63a Bump date and copyright for last, and add a comma. 2003-08-14 17:59:40 +00:00
elric b7b719ccb6 We're using a default keylength for cgd of 128 in AES not 256. 2003-08-14 17:57:07 +00:00
dsl 16243ec6f5 Bring closer to reality - specify correct filenames for new boot code.
Fixes port-i386/22477
2003-08-14 09:55:29 +00:00
itojun c61230d99d fix bad example of select() - first arg shouldn't be FD_SETSIZE. from openbsd 2003-08-13 02:07:06 +00:00
lukem 28d70b03dc order .SUFFIXES similar to other *.mk files 2003-08-11 09:59:43 +00:00
wiz d509f2554d We use long month names in .Dd. 2003-08-11 08:23:21 +00:00
augustss df8ead8f63 Add Sony Ericsson DCU10. 2003-08-11 08:19:18 +00:00
keihan be22639c8e Add a bunch more, ok'd by Grant Beattie. 2003-08-10 00:44:46 +00:00
keihan 785984d9e4 Add a bunch of acronyms, approved by Grant Beattie. 2003-08-09 01:35:16 +00:00
keihan 40bff3072a Add a couple of acronyms and fix API.
This and the previous commit to acronyms approved by Lubomir Sedlacik.
2003-08-08 19:17:52 +00:00
keihan 5a33a0e11d Add 'stfa'. 2003-08-08 19:16:13 +00:00
rafal 11595d9a7c Regen to match reality, mainly due to pf addition. 2003-08-08 16:45:14 +00:00
rafal 9c025bd75a Regen for radio(4) addition, also pick up pf 2003-08-08 16:44:29 +00:00
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +00:00
wiz 1c976c2b9c Bump date for callout_invoking; fix macro usage; remove superfluous "The". 2003-08-07 09:53:33 +00:00
wiz 0afb7885e6 Remove empty line, and use Aq instead of \*[Lt]\*[Gt]. 2003-08-07 09:49:31 +00:00
wiz b3b0c404d2 Sort SEE ALSO; add commas between Nm entries in NAME section. 2003-08-07 09:41:14 +00:00
jmmv a55ba0a54c Add example section for action mode. 2003-08-06 22:16:34 +00:00
jmmv 01144be932 Add a sample line for the new "modes" property. Fix a word. 2003-08-06 18:09:12 +00:00
martin 28ef1fc8fe Handle empty __DPSRCS.d, avoiding executing commands like "cat > .depend"
in directories where only non-C/C++ files are in SRCS (e.g.: the forth
code for sparc bootblocks).

Patch from Luke.
2003-08-06 13:55:11 +00:00
joda 3cf9a41b83 add 8100 to list of supported chips 2003-08-05 17:03:42 +00:00
jmmv da0805ffe2 Recommend EXIT_SUCCESS and EXIT_FAILURE for exit status, instead of directly
using 0 and 1 values, respectively.
2003-08-05 13:26:13 +00:00
wiz af5407f23f Fix typo, reported by Geoff C. Wing in PR 22351. 2003-08-04 05:53:36 +00:00
grant c6a7fea713 new sentence, new line. 2003-08-04 02:22:48 +00:00
tron ce7972a7a1 Add EPSON Perfection 1260, 1660 and 2400 to list of support scanners. 2003-08-03 15:25:48 +00:00
jmcneill 339f87dc7f Document options ESA_NUM_VOICES, and update my email address. 2003-08-03 15:13:57 +00:00
lukem 64b5a0fe7b Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files.  INCSYMLINKS are installed with
'make includes'.  This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
lukem d65b74da7c Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS

Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".

Update documentation for some other make variables
2003-08-02 00:34:25 +00:00
mrg e128feab59 use -isystem-cxx for now. update the "mostly ready to switch to gcc3" list 2003-08-01 22:51:34 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem e1ba5f323e simplify the ${PROG}: target to reduce duplication between the DESTDIR
and !DESTDIR cases...
2003-08-01 13:08:35 +00:00
tsutsui 1494428e04 Remove man pages for old MD SCSI and mention new MI spc(4) SCSI. 2003-08-01 02:42:08 +00:00
tsutsui 3ffdc0a82f Add spc(4) man page for Fujitsu MB87030/MB89352 SCSI Protocol Controller
(SPC) driver.
2003-08-01 02:36:04 +00:00
tsutsui 1102154ee6 Regen: added some MI SCSI devices. 2003-08-01 02:21:24 +00:00
lukem 3cbb5fea48 tweak ${DEPENDSRCS.d} target so that ${SRCS} isn't there. this fixes the
"make: out of memory" problem when make dependencies in lib/libc.

XXX: this is a temporary workaround.  i'm working on cleaning up how
the DPSRCS stuff is used throughout the tree...
2003-08-01 00:55:43 +00:00
lukem a504cd2911 bsd.dep.mk: add a dependency for *.d on ${SRCS} ${DPSRCS}. this should fix
some build problems where DPSRCS contains .h files that need to exist to
build the .d file.

document that bsd.dep.mk should be included after anything that might
update SRCS or DPSRCS so that the above works correctly, and actually
ensure this is the case.
2003-07-31 13:47:32 +00:00
lukem 6874712934 Don't need -R/usr/lib; it will be searched at the end by ld.elf_so anyway.
Noted by matt green <mrg@>
2003-07-31 06:31:38 +00:00
wiz a0b8d1d261 Add STFU (shut the fuck up). 2003-07-29 16:48:17 +00:00
lukem 86173c79de Set .NOPATH for all ${DEPENDSRCS} and not just .depend.
Should fix build problem noted by Geoff Wing on current-users@
2003-07-29 07:56:23 +00:00
lukem c6fbe6d8e0 just add various files to ${DPSRCS} instead of trying to get
a ${DEPENDSRCS} target to DTRT
2003-07-29 02:42:49 +00:00
lukem a0df1980db add bsd.dep.mk 2003-07-29 01:26:15 +00:00
lukem bd166fb2bd * move .includes added in rev 1.5 to outside of .if defined(RPC_SVCFILES (oops)
* move ${DEPENDSRCS}: ...  to the end of the file
2003-07-29 01:12:46 +00:00
lukem b082f4d46d Use the more "standard" `foo.d' instead of `foo.SUFFIX.dep'; the rules
are simpler and would have helped prevent the previous fubar.
Don't bother using -a with ${MKDEP} to build the individual .d files.
2003-07-28 23:57:24 +00:00
lukem 5aab21f43a be consistent when adding *.y and *.l to DPSRCS 2003-07-28 23:54:24 +00:00
matt ebfb9912e2 Make all the suffix rules with .c .c.dep (e.g not .cc .cc.cc.dep) 2003-07-28 21:33:57 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem 8f4575345b Simplify .*.dep generation by using suffix transforms.
This also fixes a problem in the previous where the .ALLSRC would contain
any other dependencies that .depend had, thus breaking the mkdep invocation.

Provide DEPENDSRCS which effectively contains ".depend *.dep", to be
used in other Makefiles that want to add dependencies for .depend.
2003-07-28 15:07:16 +00:00
lukem 696a21d88f Always use the "per source file".dep method to build the .depend file
(that was formerly only used for HOST_CYGWIN.).
Clean up implementation to minimise unnecessary variable munging.
Ensure all .dep files are deleted in cleandepend:.

This allows us to correctly support CPPFLAGS.<file> in make depend, and
whilst this method is marginally slower in the "no existing .depend file"
case, it should be faster in the "rebuilding depend for a subset of
source files" case.
2003-07-28 08:59:52 +00:00
lukem cc73d5607b replace MKCXXSUPCXX(!=no) with USE_LIBSTDCXX(==no) 2003-07-28 08:53:53 +00:00
lukem 0b96e890ae Change defined(CXX_SUPCXX) to MKCXXSUPCXX != "no".
Clarify that command-line overrides of the MKxxx variables should be
done via the environment rather than make(1) command-line variable
assignment, since the latter doesn't actually work as intended.
2003-07-28 07:03:43 +00:00
matt 1072487f05 Back last commit and just allow USE_TOOLS_TOOLCHAIN be overridden in the
environment.
2003-07-28 05:54:18 +00:00
matt 66430c1aa7 Let the if define USE_TOOLS_TOOLCHAIN. 2003-07-28 05:52:29 +00:00
lukem e71812aa94 Overhaul how the .{c,cc,cpp,cxx,C,f,m.S}.{o,po,so} rules are implemented:
only list the (often complicated) ${COMPILE.*} rules once always building
to ${.TARGET}.tmp.  Then, depending on whether *OPTS has -g, either
"mv ${.TARGET}.tmp ${.TARGET}" or "${LD} -[xX] -r ${TARGET}.tmp -o ${.TARGET}"
as appropriate.
This can prevent inconsistency that could occur between "echo ${COMPILE.*:Q}"
and "${COMPILE.*}", such as the problem in rev 1.226.  (There were still
examples of this in .cc.so and .m.so !!!)

Remove `@' from most non-echo rules, so that we can actually see what's
happening.  This helps debugging problems, such as that fixed by rev 1.226.

Always remove all possible temp files that might occur because of the above.

Be consistent about ${CC} instead of $(CC)
2003-07-28 04:08:47 +00:00
lukem 5e2ad4afcc Be consistent how "multiple include protection" is implemented. I.e,
.if !defined(_BSD_foo_MK_)
	_BSD_foo_MK_=1

	# ...

	.endif	# !defined(_BSD_foo_MK_)
2003-07-28 02:38:33 +00:00
lukem 719829bd45 Pull in <bsd.sys.mk> before supplying our own .c.o (et al) rules.
Otherwise, <bsd.sys.mk>'s implementations will be used instead.  (oops!)
2003-07-28 02:29:35 +00:00
lukem 7cacdc7670 pull in <bsd.sys.mk> for TOOL_* incase this is used with USETOOLS=never 2003-07-28 01:00:52 +00:00
lukem 24da731a9c Pull in <bsd.sys.mk> as well, for the TOOL_ variables in the
USETOOLS=never case.
Found & fixed by Anders Hjalmarsson in PR misc/22283.
2003-07-28 00:57:25 +00:00
lukem 7a4d405e11 fix typo (insert botch? :) in previous, which broke .cxx.po 2003-07-28 00:51:47 +00:00
uwe a82a596a31 Conditions for sh5 when setting DBG to be empty were deleted (moved)
in 1.72, but brought back accidentally in 1.73.  That was harmless,
anyway, as sh5 conditions in their new place get matched earlier.
2003-07-27 19:08:03 +00:00
mrg 96d9a01177 introduce a new $CPPFLAG_ISYSTEMXX that is used to reference c++ system
includes.  for GCC3, set this to -I instead of -isystem.

XXX this should really be either not required or a -isystem-cxx, but for
now this is required to build libstdc++-v3, which otherwise complains
heavily about STL headers not being C code(!)
2003-07-27 14:49:22 +00:00
lukem 422b438b9f Ensure the first word of ${CC} exists before attempting to invoke ${CC}
to determine TARGET_ENDIANNESS.

This should fix problem reported privately by Matt Green <mrg@>.

This uses  exists(${CC:ts::C/:.*$//})  as we don't expect the command name to
contain `:'.  (The ":ts" trick is from a discussion with Simon Gerraty <sjg@>.)
2003-07-27 11:16:30 +00:00
lukem b7ebff3038 be consistent: use ${.TARGET} for $@ and ${.PREFIX} for $* 2003-07-27 09:35:47 +00:00
lukem 30872ad6e0 be consistent about using ${.TARGET} for $@ and ${.IMPSRC} for $< 2003-07-27 09:27:18 +00:00
salo 22a0ae4298 netbsd.org->NetBSD.org 2003-07-26 20:17:31 +00:00
mrg badf45a38b add a new bsd.own.mk variable: CXX_SUPCXX. from bsd.README:
+ CXX_SUPCXX    If defined, the support libraries needed for this C++ program
+               are set to `-lsupc++ -lm', rather than `-lstdc++ -lm'.
2003-07-26 14:58:10 +00:00
mrg 9b2531b3d6 add a new variable USE_TOOLS_TOOLCHAIN that is set to "yes" currently, but
will be set to "no" when GCC3 is used in tree.
2003-07-25 16:24:08 +00:00
kleink 117c044a56 Oops, bump the date for previous. 2003-07-23 17:06:12 +00:00
kleink 0a74da9bdb Incorporate ISO 3166/MA Newsletter V-8 (Serbia and Montenegro). 2003-07-23 17:04:51 +00:00
lukem 2c36cee56b update MKCRYPTO comment 2003-07-23 14:53:57 +00:00
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
tshiozak 1c3ee5c3d3 change comment style: # -> // 2003-07-23 06:52:31 +00:00
mrg ad4196a2ab switch sparc port to xfree 4 tree. 2003-07-22 11:48:59 +00:00
lukem 29c0479a2a Add source-file-specific variables in <bsd.lib.mk> and <bsd.prog.mk>:
COPTS.<fn>	Additional flags to the compiler when creating the C objects
		for <fn>.

CPUFLAGS.<fn>	Additional flags to the compiler/assembler for <fn>.

CPPFLAGS.<fn>	Additional flags to the C pre-processor for <fn>.


(For <fn>.[ly], "<fn>.c" must be used.)
2003-07-22 06:53:21 +00:00
lukem e87b2970a6 improve documentation for bsd.files.mk and bsd.kernobj.mk 2003-07-22 04:23:28 +00:00
tshiozak e0d4d9ac4d add new locales - bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13
These are obtained from FreeBSD. Thanks!
2003-07-21 17:41:16 +00:00
tshiozak 6c85e3334a add KOI8-U encoding support for iconv. 2003-07-20 19:26:55 +00:00
lukem b6bdfc6774 Consistently support the different C++ file extensions: .cc .cpp .cxx .C
Noted by Andrew White in PR toolchain/18246
2003-07-20 17:01:58 +00:00
he ddef043b97 Temporarily introduce CALLOUT_INVOKING, callout_invoking() and callout_ack()
to make users of the callout facility able to cooperate to work around the
race caused by the callout code lowering interrupt priority level when
invoking callout handlers, something which allows other code to run before
the callout handler gets to it's spl*() call.

This is to enable the workaround for the TCP code found in PR#20390 to be
applied.

This should be backed out once a more comprehensive fix can be put in
place.
2003-07-20 16:25:57 +00:00
lukem 0f7d7b4fad Use ltarg=`stat -qf '%Y' $l` to read a symlink's target (and rely upon
a non-zero exit value to indicate a missing file or non-symlink),
instead of   test -h $l && ltarg=`ls -ld $l | awk '{print $NF}'`
since the former is quicker and more concise.
2003-07-20 15:02:10 +00:00
lukem 14fc1c5b77 <bsd.init.mk> is a good idea 2003-07-20 14:53:10 +00:00
lukem a36d55e898 LINKS: use stat -qf '%d %i' $l to read the device & inode # of the source
and target (and rely upon a non-zero exit value to indicate a missing file),
instead instead of unconditionally installing the link.

SYMLINKS: use   stat -qf '%Y' $l   to read a symlink's target (and rely upon
a non-zero exit value to indicate a missing file or non-symlink),
instead of   test -h $l && ls -ld $l | awk '{print $NF}'    , since
the former is quicker and more concise.

This resolves PR toolchain/16885 from David Laight.
2003-07-20 14:49:44 +00:00
lukem 65668567d3 add TOOL_STAT for stat(1) 2003-07-20 14:36:12 +00:00
lukem 758ffcd440 more reordering 2003-07-20 14:27:57 +00:00
lukem 951db66861 add nls(7) environment variables 2003-07-20 08:13:52 +00:00
tshiozak 173e5850f7 - add converter for EUC-JP-MS.
- apply MS conversion rule to JISX0208 part of CP932.
c.f.:
  http://www.opengroup.or.jp/jvc/cde/ucs-conv-e.html
2003-07-19 20:20:39 +00:00
thorpej 950d7750f9 Document todr_attach(). 2003-07-18 21:51:30 +00:00
lukem 1313a78187 fix default location of TOOLDIR 2003-07-18 16:30:48 +00:00
lukem 2dbce57996 overhaul to match reality, adding a bunch of missing MK* and other variables. 2003-07-18 15:44:50 +00:00
lukem e928ba19c8 move MKCATPAGES info. add MKHOSTOBJ info 2003-07-18 15:44:07 +00:00
jschauma 749194779b Add SMP and NUMA. 2003-07-18 15:11:23 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
lukem 87610a53a9 whitespace cleanup 2003-07-18 04:04:03 +00:00
lukem 4d63406463 Add MKMANZ; if not set to "no", compress the manual pages at installation time.
This replaces the previous  .if defined (MANZ) behaviour, although the latter
will set MKMANZ=yes for compatibility purposes.

Don't bother with -P-bou in TOOL_ROFF_HTML; it doesn't appear to be
necessary with groff 1.19.

Fix NOHTML implementation to be consistent with other NOxxx / MKxxx
variables, and expose the user-tweakable MKHTML.
2003-07-18 02:52:51 +00:00
lukem e8de180da8 reorder to be a bit more useable (imho) 2003-07-18 00:33:18 +00:00
lukem 7b7ea97741 Change the default TOOLDIR from
top-of-obj/tools/tools.OS-VERSION-STRING
to
	top-of-obj/tooldir.OS-VERSION-STRING

It's more consistent with the build.sh defaults for DESTDIR and
RELEASEDIR, and it's easier on "mr lazy completion fingers".
2003-07-16 13:19:49 +00:00
wiz dc53e29867 Add i386 to Dt, now the page is arch-specific. 2003-07-16 12:06:07 +00:00
wiz a89230d697 Bump date for last. 2003-07-16 12:04:26 +00:00
wiz 89fc0d8cf0 Bump date for SYSTR_CLONE removal. 2003-07-16 11:35:04 +00:00
dsl 377bfc41c7 Build mbr.8 2003-07-16 11:12:43 +00:00
dsl baad6947d6 A better home than src/sbin/fdisk/mbr/mbr.8 2003-07-16 11:05:21 +00:00
itojun 128a9bd8d5 add X11 CTEXT encoding
XXX add more charsets
2003-07-16 08:25:17 +00:00
dbj f2bb8b7816 fix description of type declaration of "type" argument to free(9) 2003-07-16 08:13:34 +00:00
tshiozak a08c1c4533 use GETA (Japanese typographical "lacked piece of type") for INVALID. 2003-07-16 06:57:34 +00:00
itojun e26b0e0cf5 stop installing install libtelnet. build under lib/libtelnet and reference
it from usr.bin/telnet and libexec/telnetd.
(reason for separate build: compiler flags)
2003-07-16 05:42:01 +00:00
tshiozak 809243d0fb add aliases; ucs-{2,4}* -> utf-{16,32}*.
this hopefully fixes lib/22142.
2003-07-16 05:10:29 +00:00
lha 0836c6453a remove SYSTR_CLONE, its no longer used, approved by provos 2003-07-14 20:39:52 +00:00
tshiozak 99831f71fd set OOB_MODE to INVALID for the UCS -> any converters. 2003-07-14 06:03:36 +00:00
lukem 8e7657a643 Be consistent with other bsd.*.mk, and pull in <bsd.init.mk> at the
start (which pulls in <bsd.own.mk>), and <bsd.obj.mk> and <bsd.sys.mk>
at the end.  These provide the appropriate settings for TOOL_* .
2003-07-14 00:52:12 +00:00
lukem d72803be72 Pull in <bsd.sys.mk> to provide the defaults for TOOL_* when USETOOLS=never 2003-07-14 00:50:04 +00:00
lukem f0dafe0c0e use full path in default TOOL_MAKEWHATIS 2003-07-14 00:41:17 +00:00
tshiozak 5428a0306b add OOB_MODE (out of bounds mode) and change DST_INVALID to DST_ILSEQ. 2003-07-12 16:11:01 +00:00
yamt 12d2d59f94 there's no VNODEPAGER option anymore. 2003-07-11 12:59:54 +00:00
lukem 7b6e5e6602 NOxxx= variables must appear before <bsd.own.mk> 2003-07-10 11:27:45 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz d3d460c513 Nd argument needs no quotes; use .In instead of .Fd ...; mark up
NULL as Dv instead of Va (it's not really variable, is it? :) ).
Replace & with \*[Am].
2003-07-09 14:40:53 +00:00
wiz b13e3bee0e Sort SEE ALSO; don't put normal text at the end of macro lines;
new sentence, new line. Bump date to when the driver was imported.
2003-07-09 14:35:03 +00:00
wiz 4674b1491f Fix comment; new sentence, new line; mark up some
trademarks; man page appeared in 2.0, not 1.6.1+.
2003-07-09 14:23:45 +00:00
wiz 430089f6b0 Nd argument should be on same line; new sentence, new line;
NetBSD -> Nx; man page appeared in 2.0, not "1.6.1+".
2003-07-09 14:20:06 +00:00
wiz bb96abeb13 Bump date to when this was first committed. 2003-07-09 14:16:26 +00:00
wiz e4efe31690 Unused. 2003-07-09 09:35:38 +00:00
dsl f8a6eac868 Don't build the i386/installboot man page, i386 can use the MI
installboot.
2003-07-09 09:29:05 +00:00
wiz edd3200d61 John Heasley thinks there is a comma missing, and I agree. Add it. 2003-07-08 14:45:48 +00:00