The NetBSD Project

CVS log for src/share/mk/bsd.sys.mk

[BACK] Up to [cvs.NetBSD.org] / src / share / mk

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.240 / (download) - annotate - [select for diffs], Fri Jun 13 01:17:45 2014 UTC (5 weeks, 6 days ago) by mrg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.239: +2 -2 lines
Diff to previous 1.239 (colored)

remove the build support for GCC 4.1, and any hacks i found for it.

there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)

Revision 1.239 / (download) - annotate - [select for diffs], Tue May 27 16:16:01 2014 UTC (8 weeks, 1 day ago) by plunky
Branch: MAIN
Changes since 1.238: +2 -2 lines
Diff to previous 1.238 (colored)

use -Wno-traditional only for GCC rather than !CLANG

Revision 1.238 / (download) - annotate - [select for diffs], Tue May 27 16:14:03 2014 UTC (8 weeks, 1 day ago) by plunky
Branch: MAIN
Changes since 1.237: +5 -7 lines
Diff to previous 1.237 (colored)

we use C99 syntax but with some GCC extensions, so signal that depending
on the compiler in use

Revision 1.237 / (download) - annotate - [select for diffs], Tue Jan 28 19:41:52 2014 UTC (5 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.236: +14 -1 lines
Diff to previous 1.236 (colored)

As discussed on tech-toolchain: untill gcc is fixed (or our ABI changed, ...)
make stack protection warnings non-fatal if using gcc 4.8 on sh3/m68k/vax.

Revision 1.236 / (download) - annotate - [select for diffs], Thu Jan 16 01:19:46 2014 UTC (6 months ago) by christos
Branch: MAIN
Changes since 1.235: +9 -36 lines
Diff to previous 1.235 (colored)

- Add a new bsd.host.mk that contains all the HOST_ variables extracted from
  bsd.sys.mk and bsd.own.mk
- Add protection requiring that:
	1. bsd.sys.mk is not include from other Makefiles directly
	2. bsd.own.mk must be included before bsd.sys.mk since it
	   sets variables that bsd.sys.mk uses as conditionals.

This is step 1 of removing all variable settings from bsd.sys.mk and
leaving behind only rules. This way, the structure of a standard Makefile
is:
	variable overrides

	optionally include bsd.own.mk
	optionally include bsd.endian.mk

	variable settings that use variables defined in bsd.own.mk

	include a one or more rule .mk files (such as bsd.prog.mk etc)

Revision 1.235 / (download) - annotate - [select for diffs], Wed Jan 15 14:00:09 2014 UTC (6 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 (colored)

-shared-libgcc is a GCC option, so only use it for gcc.

Revision 1.234 / (download) - annotate - [select for diffs], Fri Jan 10 16:20:14 2014 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.233: +5 -5 lines
Diff to previous 1.233 (colored)

not so fast, let's fix the tree first.

Revision 1.233 / (download) - annotate - [select for diffs], Fri Jan 10 16:16:57 2014 UTC (6 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.232: +6 -1 lines
Diff to previous 1.232 (colored)

Add protection against direct inclusion of this file from other Makefiles.
This file is only intended to be included from the other rules files like
bsd.lib.mk or bsd.prog.mk. If you need things to be defined early, use
bsd.own.mk.

Revision 1.232 / (download) - annotate - [select for diffs], Tue Jan 7 02:16:41 2014 UTC (6 months, 2 weeks ago) by joerg
Branch: MAIN
Changes since 1.231: +1 -2 lines
Diff to previous 1.231 (colored)

Non-literal format strings should be an error by default for clang.

Revision 1.231 / (download) - annotate - [select for diffs], Mon Dec 16 21:34:16 2013 UTC (7 months ago) by matt
Branch: MAIN
Changes since 1.230: +4 -2 lines
Diff to previous 1.230 (colored)

Back out change for bsd.lib.mk which skips objcopy -x for BE ARM.
Change OBJCOPYLIBFLAGS to keep $a/$d/$t symbols on BE ARM.

Revision 1.230 / (download) - annotate - [select for diffs], Wed Nov 6 19:57:17 2013 UTC (8 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.229: +5 -2 lines
Diff to previous 1.229 (colored)

turn off another gcc warning for m68k

Revision 1.229 / (download) - annotate - [select for diffs], Mon Oct 28 01:47:13 2013 UTC (8 months, 3 weeks ago) by mrg
Branch: MAIN
Changes since 1.228: +2 -1 lines
Diff to previous 1.228 (colored)

add MKDEPCXX, that is used for C++ files depend creation.  also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.

Revision 1.228 / (download) - annotate - [select for diffs], Sat Oct 26 03:26:57 2013 UTC (8 months, 4 weeks ago) by mrg
Branch: MAIN
Changes since 1.227: +4 -3 lines
Diff to previous 1.227 (colored)

define a HOST_LINK.cc always.

Revision 1.227 / (download) - annotate - [select for diffs], Thu Sep 12 15:36:16 2013 UTC (10 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.226: +3 -3 lines
Diff to previous 1.226 (colored)

Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.

Revision 1.226 / (download) - annotate - [select for diffs], Thu Jul 18 22:06:09 2013 UTC (12 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.225: +6 -2 lines
Diff to previous 1.225 (colored)

Test BSD makefile about coldfire.
XXX still hate m68k--netbsdelf-coldfire

Revision 1.225 / (download) - annotate - [select for diffs], Wed Jul 17 19:24:56 2013 UTC (12 months ago) by martin
Branch: MAIN
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored)

Disable -Wconversion for gcc older than 4.5

Revision 1.224 / (download) - annotate - [select for diffs], Tue Jul 16 17:48:52 2013 UTC (12 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.223: +4 -1 lines
Diff to previous 1.223 (colored)

Add -Wconversion for WARNS > 5

Revision 1.223 / (download) - annotate - [select for diffs], Sun Jan 27 02:31:44 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, agc-symver-base, agc-symver
Changes since 1.222: +2 -18 lines
Diff to previous 1.222 (colored)

Move HAS_SSP and USE_SSP out of bsd.sys.mk. They did not belong there in
the first place. Rename HAS_SSP to HAVE_SSP to match existing practice.

Revision 1.222 / (download) - annotate - [select for diffs], Sat Jan 26 22:04:18 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.221: +1 -4 lines
Diff to previous 1.221 (colored)

CTFCONVERT complains and coredumps for c++

Revision 1.221 / (download) - annotate - [select for diffs], Sat Jan 26 21:49:20 2013 UTC (17 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.220: +4 -1 lines
Diff to previous 1.220 (colored)

CTFCONVERT me harder.

Revision 1.220 / (download) - annotate - [select for diffs], Sun Sep 23 19:20:44 2012 UTC (21 months, 4 weeks ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.219: +3 -3 lines
Diff to previous 1.219 (colored)

Revert two unintentional changes from the PPC tests

Revision 1.219 / (download) - annotate - [select for diffs], Sun Sep 23 17:22:25 2012 UTC (21 months, 4 weeks ago) by joerg
Branch: MAIN
Changes since 1.218: +4 -4 lines
Diff to previous 1.218 (colored)

Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.

Revision 1.218 / (download) - annotate - [select for diffs], Wed Sep 5 22:40:30 2012 UTC (22 months, 2 weeks ago) by riz
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.217: +2 -1 lines
Diff to previous 1.217 (colored)

Remap X11SRCDIR to /usr/xsrc for the MKREPRO=yes case.

Revision 1.217 / (download) - annotate - [select for diffs], Fri Aug 10 16:11:43 2012 UTC (23 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.216: +2 -2 lines
Diff to previous 1.216 (colored)

Make linker warnings fatal by default for Clang, even if not building
GCC.

Revision 1.216 / (download) - annotate - [select for diffs], Mon Jun 25 16:48:55 2012 UTC (2 years ago) by abs
Branch: MAIN
Changes since 1.215: +2 -2 lines
Diff to previous 1.215 (colored)

Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
give the same treatment to gcc-4.1.

Revision 1.215 / (download) - annotate - [select for diffs], Tue Mar 20 21:48:20 2012 UTC (2 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.214: +4 -1 lines
Diff to previous 1.214 (colored)

Add WARNS=5 to enable -Wold-style-definitions

Revision 1.214 / (download) - annotate - [select for diffs], Sat Mar 17 18:02:41 2012 UTC (2 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.213: +2 -2 lines
Diff to previous 1.213 (colored)

allow file-specific lint flag additions

Revision 1.213 / (download) - annotate - [select for diffs], Thu Mar 15 15:04:23 2012 UTC (2 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.212: +2 -1 lines
Diff to previous 1.212 (colored)

Don't error out for non-literal format strings with Clang until the rest
of the __printflike changes are in the tree.

Revision 1.212 / (download) - annotate - [select for diffs], Thu Mar 15 02:00:52 2012 UTC (2 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.211: +4 -3 lines
Diff to previous 1.211 (colored)

Decouple HAVE_LLVM from HAVE_GCC. For GCC, add -Wno-format-zero-length
when -Wformat is used.

Revision 1.211 / (download) - annotate - [select for diffs], Sat Jan 28 21:32:14 2012 UTC (2 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.210: +4 -1 lines
Diff to previous 1.210 (colored)

Provide a way to override the default objcopy flags for library modules.

Revision 1.210 / (download) - annotate - [select for diffs], Mon Oct 31 14:20:12 2011 UTC (2 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.209: +6 -3 lines
Diff to previous 1.209 (colored)

switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.

Revision 1.209 / (download) - annotate - [select for diffs], Tue Sep 20 09:11:06 2011 UTC (2 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.208: +4 -2 lines
Diff to previous 1.208 (colored)

Decouple clang and gcc handling a bit. Add -Wmissing-noreturn for clang
builds. GCC complains about about non-void functions not returning,
which is quite a bit more bogus, so don't enable it for that.

Revision 1.208 / (download) - annotate - [select for diffs], Tue Aug 23 05:22:25 2011 UTC (2 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.207: +2 -2 lines
Diff to previous 1.207 (colored)

add -Wformat=2

Revision 1.207 / (download) - annotate - [select for diffs], Fri Jul 8 20:59:53 2011 UTC (3 years ago) by uwe
Branch: MAIN
Changes since 1.206: +5 -3 lines
Diff to previous 1.206 (colored)

Augment previous.  Use -Wno-uninitialized for sh3 in general, not just
dreamcast.  The problem is not sh3 per-se, but the fact that for sh3
we use -Os by default.  That causes false positives since gcc doesn't
detect that e.g. a variable is set and used under the same condition
in different "if" statements.

XXX: This should probably check for optimization level instead,
though, for all I know, phase of moon might be a contributing cause
too.

XXX2: MACHINE_CPU is set in bsd.own.mk and is not available here, so
we have to spell the test in terms of MACHINE_ARCH.

Revision 1.206 / (download) - annotate - [select for diffs], Fri Jul 8 03:29:52 2011 UTC (3 years ago) by mrg
Branch: MAIN
Changes since 1.205: +5 -1 lines
Diff to previous 1.205 (colored)

# XXX GCC 4.5 for dreamcast is extra noisy for cases it should be better with
workaround via: CFLAGS+=      -Wno-uninitialized

Revision 1.205 / (download) - annotate - [select for diffs], Wed Jun 29 08:10:05 2011 UTC (3 years ago) by mrg
Branch: MAIN
Changes since 1.204: +4 -1 lines
Diff to previous 1.204 (colored)

XXX: for now, disable fatal linker warnings for GCC 4.5.

Revision 1.204 / (download) - annotate - [select for diffs], Mon Jun 20 06:52:37 2011 UTC (3 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.203: +3 -3 lines
Diff to previous 1.203 (colored)

remove all the code that supported HAVE_GCC=3.  mostly from chuq.

Revision 1.203 / (download) - annotate - [select for diffs], Mon May 30 13:56:34 2011 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.202: +2 -2 lines
Diff to previous 1.202 (colored)

Reorder CWARNFLAGS and -Werror in CFLAGS to allow CWARNFLAGS and by
extension CWARNFLAGS.${SOURCE} to override it selectively.

Revision 1.202 / (download) - annotate - [select for diffs], Mon May 30 13:47:01 2011 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.201: +3 -2 lines
Diff to previous 1.201 (colored)

Add an alternative to NOGCCERROR for clang.

Revision 1.201 / (download) - annotate - [select for diffs], Thu May 26 12:56:30 2011 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.200: +5 -2 lines
Diff to previous 1.200 (colored)

Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.

Revision 1.200 / (download) - annotate - [select for diffs], Wed May 25 15:02:25 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.199: +3 -3 lines
Diff to previous 1.199 (colored)

Restrict -Wno-non-template-friend and -Wno-pmf-conversions to GCC.

Revision 1.199 / (download) - annotate - [select for diffs], Wed May 25 15:01:08 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.198: +3 -1 lines
Diff to previous 1.198 (colored)

Add support for compiler specific warning flags with
CWARNFLAGS.${COMPILER}

Revision 1.198 / (download) - annotate - [select for diffs], Mon May 23 14:32:05 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.197: +2 -1 lines
Diff to previous 1.197 (colored)

Disable Clang's array boundary checker for now (hits e.g. in GCC and BDB)

Revision 1.197 / (download) - annotate - [select for diffs], Sun May 22 20:52:12 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.196: +5 -5 lines
Diff to previous 1.196 (colored)

Simplify a bit

Revision 1.196 / (download) - annotate - [select for diffs], Sun May 22 20:49:16 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.195: +4 -2 lines
Diff to previous 1.195 (colored)

Split SSP parameters on a per-compiler base

Revision 1.195 / (download) - annotate - [select for diffs], Sun May 22 20:24:46 2011 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.194: +3 -2 lines
Diff to previous 1.194 (colored)

No -Wno-traditional for clang.

Revision 1.194 / (download) - annotate - [select for diffs], Tue May 17 01:12:34 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.193: +8 -2 lines
Diff to previous 1.193 (colored)

Enable c99 mode by default.

This has the side effect of complaining for missing prototypes
implicit type declarations and missing return statements.

NB:	I've only ran a build on amd64, so other platforms MI code might break.
	If you can't wait for me to fix them, revert this commit.

Revision 1.193 / (download) - annotate - [select for diffs], Sat Dec 25 18:56:45 2010 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.192: +6 -1 lines
Diff to previous 1.192 (colored)

If MKREPRO, transform ${NETBSDSRCDIR} to /usr/src and ${DESTDIR} to /
for the purpose of the C preprocessor.  This avoids leaking the source
path into the final binaries.

Revision 1.192 / (download) - annotate - [select for diffs], Wed Apr 21 16:09:11 2010 UTC (4 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.191: +3 -3 lines
Diff to previous 1.191 (colored)

dial . for operator

Revision 1.191 / (download) - annotate - [select for diffs], Wed Apr 21 15:07:20 2010 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.190: +3 -1 lines
Diff to previous 1.190 (colored)

don't try to build PIE binaries when LDSTATIC

Revision 1.190 / (download) - annotate - [select for diffs], Tue Mar 2 20:49:18 2010 UTC (4 years, 4 months ago) by darran
Branch: MAIN
Changes since 1.189: +13 -1 lines
Diff to previous 1.189 (colored)

DTrace: Add CTF generation to the make framework.  Only enabled when
MKDTRACE=yes.

Revision 1.189 / (download) - annotate - [select for diffs], Tue Dec 15 04:03:55 2009 UTC (4 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.188: +3 -1 lines
Diff to previous 1.188 (colored)

brace a --fatal-warnings with a NOGCCERROR check.

Revision 1.188 / (download) - annotate - [select for diffs], Mon Dec 14 01:00:46 2009 UTC (4 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.187: +13 -1 lines
Diff to previous 1.187 (colored)

Merge from matt-nb5-mips64

Revision 1.187 / (download) - annotate - [select for diffs], Sun Dec 13 18:40:50 2009 UTC (4 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.186: +3 -1 lines
Diff to previous 1.186 (colored)

Don't add the .h rule for yacc if we are not really building (-n)

Revision 1.186 / (download) - annotate - [select for diffs], Mon Nov 30 16:13:23 2009 UTC (4 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.185: +3 -2 lines
Diff to previous 1.185 (colored)

Support "extsrc", externally added programs and libraries.  Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)

Revision 1.185 / (download) - annotate - [select for diffs], Thu Nov 12 14:30:34 2009 UTC (4 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.184: +2 -11 lines
Diff to previous 1.184 (colored)

Revert SSP changes because at least rmind@, pooka@ and haad@ consider
5% more performance more important than the gain in security.

Revision 1.184 / (download) - annotate - [select for diffs], Thu Nov 12 13:22:34 2009 UTC (4 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.183: +7 -3 lines
Diff to previous 1.183 (colored)

Invent a new flag "USE_SSP_DEFAULT" which defines whether we want to use
SSP for building the whole source tree. Set this to "yes" for
NetBSD/amd64 and NetBSD/i386. It is now possible to get the old
behavior (build libs and certain programs with SSP) by setting
"USE_SSP_DEFAULT" to "no".

Revision 1.183 / (download) - annotate - [select for diffs], Thu Nov 12 08:51:50 2009 UTC (4 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored)

Fix broken conditional to get manual builds (not using "build.sh")
working again.

Revision 1.182 / (download) - annotate - [select for diffs], Wed Nov 11 16:35:45 2009 UTC (4 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.181: +6 -1 lines
Diff to previous 1.181 (colored)

Enable Stack Smash Protection (SSP) by default for NetBSD/amd64 and
NetBSD/i386 as previously discussed on the "port-amd64" and
"port-i386" mailing lists. No objections from the core team.

Thanks a lot to Tobias Nygren for helping me with the benchmarking
and to Christos Zoulas for fixing SSP problems in cgd(4).

Revision 1.181 / (download) - annotate - [select for diffs], Mon Nov 9 15:58:09 2009 UTC (4 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.180: +5 -3 lines
Diff to previous 1.180 (colored)

IA64 doesn't have SSP.

Revision 1.180 / (download) - annotate - [select for diffs], Thu Feb 12 22:49:05 2009 UTC (5 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.179: +2 -1 lines
Diff to previous 1.179 (colored)

Enable -Wsign-compare for WARNS=4 (and above).
Test compiled on i386 and amd64; there may be some stragglers
on other platforms.

Note: -Wall has this by default in gcc4, and we explicitly disable it at
WARNS=1 (i.e., -Wall -Wno-sign-compare).  A goal is to reduce the WARNS level
where this feature is enabled, so we can eventually remove -Wno-sign-compare.

Revision 1.179 / (download) - annotate - [select for diffs], Sun Oct 26 23:13:24 2008 UTC (5 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3
Branch point for: matt-nb5-mips64, jym-xensuspend
Changes since 1.178: +2 -66 lines
Diff to previous 1.178 (colored)

Always define TOOL_* variables in bsd.own.mk, not in bsd.sys.mk.

Previously, they were defined in bsd.own.mk if USETOOLS=yes, but in
bsd.sys.mk if USETOOLS!=yes.  This caused makefiles that did this:

	.include <bsd.own.mk>
	FOO != ${TOOL_BAR} args...

to work in the USETOOLS=yes case but not in the USETOOLS!=yes case.

Revision 1.178 / (download) - annotate - [select for diffs], Sun Oct 26 15:51:20 2008 UTC (5 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.177: +3 -6 lines
Diff to previous 1.177 (colored)

Set HOST_SH?=/bin/sh unconditionally.  Previously, it was conditionally
set to /usr/bin/bash if HOST_CYGWIN was defined, but now build.sh
tries to set HOST_SH appropriately.

Remove the HOST_CYGWIN variable, which was not used for any other purpose.

Document that HOST_SH should be an absolute path.

THis was proposed in tech-toolchain.

Revision 1.177 / (download) - annotate - [select for diffs], Sat Oct 25 18:29:03 2008 UTC (5 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.176: +1 -3 lines
Diff to previous 1.176 (colored)

Remove AWK variable, which is no longer used.  All previous users
now use TOOL_AWK instead.

Revision 1.176 / (download) - annotate - [select for diffs], Sun Oct 19 19:44:47 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base2
Changes since 1.175: +2 -1 lines
Diff to previous 1.175 (colored)

Define TOOL_AWK.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Oct 19 15:22:50 2008 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.174: +3 -2 lines
Diff to previous 1.174 (colored)

handle assembly files for MKPIE

Revision 1.174 / (download) - annotate - [select for diffs], Thu Oct 16 14:36:42 2008 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.173: +5 -1 lines
Diff to previous 1.173 (colored)

Provide a way for a program to override the PIE flags.

Revision 1.173 / (download) - annotate - [select for diffs], Wed Oct 15 17:31:50 2008 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.172: +1 -8 lines
Diff to previous 1.172 (colored)

don't compile/link libraries with pie

Revision 1.172 / (download) - annotate - [select for diffs], Tue Oct 14 07:24:34 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.171: +11 -11 lines
Diff to previous 1.171 (colored)

Use "?=", not "=", to set default values for the TOOL_* variables
added in the previous commit.

Revision 1.171 / (download) - annotate - [select for diffs], Mon Oct 13 18:24:21 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.170: +11 -1 lines
Diff to previous 1.170 (colored)

Add missing TOOL_* variables to bsd.sys.mk and document them in
bsd.README.  Previously, several of these variables were present in
bsd.own.mk but not in bsd.sys.mk or bsd.README.

Revision 1.170 / (download) - annotate - [select for diffs], Mon Oct 13 15:29:22 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.169: +3 -3 lines
Diff to previous 1.169 (colored)

In bsd.sys.mk and bsd.own.mk, sort lists of TOOL_* variables.
In bsd.README, document all TOOL_* variables that are set in bsd.sys.mk.

There are several TOOL_* variables that are set in bsd.own.mk, but not
set in bsd.sys.mk and not documented in bsd.README.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Oct 5 20:20:55 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.168: +1 -3 lines
Diff to previous 1.168 (colored)

Remove the definition of HOST_SED.  HOST_SED was previously used only in
tools/atf-compile, which has now been adjusted to use TOOL_SED.

Revision 1.168 / (download) - annotate - [select for diffs], Fri Sep 26 18:23:09 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.167: +2 -1 lines
Diff to previous 1.167 (colored)

Build strfile both as a host tool and as an installed program:
* in games/fortune/strfile/Makefile, build strfile as a
  regular program instead of as a host tool;
* add tools/strfile directory to build strfile as a host tool;
* in tools/Makefile, add strfile to SUBDIR list;
* in BSD.*.mk, define TOOL_STRFILE variable;
* in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating
  databases at build time;
* in distrib/sets/lists/games/mi, mention usr/games/strfile.

Revision 1.167 / (download) - annotate - [select for diffs], Fri Sep 19 22:54:55 2008 UTC (5 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.166: +4 -3 lines
Diff to previous 1.166 (colored)

support per file lex and yacc prefixes.

Revision 1.166 / (download) - annotate - [select for diffs], Sun Aug 24 06:27:00 2008 UTC (5 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

Honour HAVE_PCC

Revision 1.165 / (download) - annotate - [select for diffs], Wed Jul 23 23:21:56 2008 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.164: +3 -1 lines
Diff to previous 1.164 (colored)

Disable PIE for kernel builds. Some architectures pass -mcmodel to gcc and
this is incompatible with PIE. And we don't really want pic objects in the
kernel

Revision 1.164 / (download) - annotate - [select for diffs], Mon Jul 21 23:30:48 2008 UTC (6 years ago) by lukem
Branch: MAIN
Changes since 1.163: +5 -1 lines
Diff to previous 1.163 (colored)

If WARNS>0 and !defined(NOGCCERROR), add
  -Wa,--fatal-warnings
to CFLAGS to set assembler warnings to be fatal.
(Done via CFLAGS instead of AFLAGS so that all assembling, not just
that of .S/.s files, uses the option.)

Revision 1.163 / (download) - annotate - [select for diffs], Wed Apr 30 21:15:33 2008 UTC (6 years, 2 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored)

Convert prep to use the new unified mkbootimage rather than it's own.  This
mkbootimage can be shared by prep, rs6000, and bebox.

TODO: Convert bebox to use this.  Needs someone to test.

Revision 1.162 / (download) - annotate - [select for diffs], Tue Apr 22 12:47:59 2008 UTC (6 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.161: +6 -1 lines
Diff to previous 1.161 (colored)

Redo a change in rev 1.160 with more proper way:
> Don't make linker warnings fatal on linking static libs since
> there is no proper way to avoid "FOO is a patented algorithm" warnings.

Ok'ed by christos@ and dogcow@ on tech-toolchain, and
tested build.sh build for sun2, news68k, alpha and newsmips.

Revision 1.161 / (download) - annotate - [select for diffs], Tue Apr 15 00:08:05 2008 UTC (6 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.160: +0 -4 lines
Diff to previous 1.160 (colored)

Backout previous for now. We have to rethink dependency for MKPIC and LDSTATIC.
Pointed out by dogcow@.

Revision 1.160 / (download) - annotate - [select for diffs], Mon Apr 14 13:41:43 2008 UTC (6 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.159: +5 -1 lines
Diff to previous 1.159 (colored)

Don't make linker warnings fatal on linking static libs since
there is no proper way to avoid "FOO is a patented algorithm" warnings.
Ok'ed by christos@ on tech-toolchain.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Mar 3 06:33:17 2008 UTC (6 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Branch point for: mjf-devfs2
Changes since 1.158: +3 -1 lines
Diff to previous 1.158 (colored)

Set linker warnings to be fatal if ${WARNS} > 0.

Revision 1.158 / (download) - annotate - [select for diffs], Wed Jan 9 11:26:14 2008 UTC (6 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Branch point for: keiichi-mipv6
Changes since 1.157: +1 -5 lines
Diff to previous 1.157 (colored)

Remove support for NetBSD/pc532.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Dec 28 21:35:45 2007 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-base
Changes since 1.156: +6 -1 lines
Diff to previous 1.156 (colored)

add MKPIE

Revision 1.156 / (download) - annotate - [select for diffs], Mon Nov 12 14:54:43 2007 UTC (6 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.155: +4 -1 lines
Diff to previous 1.155 (colored)

Add the atf host tools

This adds reachover Makefiles to build the atf tools required during a
cross-build.

Revision 1.155 / (download) - annotate - [select for diffs], Sun Jun 3 21:07:33 2007 UTC (7 years, 1 month ago) by uwe
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.154: +2 -3 lines
Diff to previous 1.154 (colored)

Stack protector codegen bug on sh3 has been fixed, so drop sh3 from
the list of platforms where we disable ssp.

Revision 1.154 / (download) - annotate - [select for diffs], Sun Jun 3 17:42:18 2007 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.153: +1 -3 lines
Diff to previous 1.153 (colored)

we can now compile libc with _FORTIFY_SOURCE

Revision 1.153 / (download) - annotate - [select for diffs], Thu May 31 00:17:32 2007 UTC (7 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Fix inverted comparison ${MACHINE_ARCH} != "hppa" when checking for
ssp.  (hi^2 tls!)

Revision 1.152 / (download) - annotate - [select for diffs], Wed May 30 22:54:12 2007 UTC (7 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.151: +2 -2 lines
Diff to previous 1.151 (colored)

Use matching open and close parens.
Why make doesn't complain about $(foo} ?

Revision 1.151 / (download) - annotate - [select for diffs], Wed May 30 21:27:54 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.150: +4 -4 lines
Diff to previous 1.150 (colored)

Fix typo, and eliminate mention of libssp since it's gone.
Move -D_FORTIFY_SOURCE to CPPFLAGS from COPTS.

Revision 1.150 / (download) - annotate - [select for diffs], Wed May 30 21:14:38 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.149: +12 -11 lines
Diff to previous 1.149 (colored)

Match usage of FORTIFY_SOURCE on other platforms by not requiring special
include path: the normal header files now include the "SSP" ones (which one
should note are not really named right: SSP and FORTIFY_SOURCE are independent
features).

Disable USE_SSP on targets where the compiler doesn't support it at all
(mips, alpha) or it's known broken (sh3).  But enable FORTIFY_SOURCE,
without SSP, on those platforms -- tested on mipsel.

Revision 1.149 / (download) - annotate - [select for diffs], Wed May 30 14:21:31 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored)

mipsel || mipseb, not mipsel || mipsel

Revision 1.148 / (download) - annotate - [select for diffs], Wed May 30 01:13:21 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.147: +1 -3 lines
Diff to previous 1.147 (colored)

Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.

Revision 1.147 / (download) - annotate - [select for diffs], Tue May 29 21:24:57 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.146: +3 -3 lines
Diff to previous 1.146 (colored)

Sigh, revert previous and fix right: we don't have MACHINE_CPU in bsd.sys.mk.

Revision 1.146 / (download) - annotate - [select for diffs], Tue May 29 21:09:18 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.145: +3 -3 lines
Diff to previous 1.145 (colored)

MACHINE_ARCH -> MACHINE_CPU so excluding mips from SSP/FORT works right.

Revision 1.145 / (download) - annotate - [select for diffs], Tue May 29 13:55:31 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.144: +6 -1 lines
Diff to previous 1.144 (colored)

Fix two bugs reported by Simon Burge: 1) USE_FORT and USE_SSP should be
disabled on platforms where GCC doesn't support -fstack-protector.  2) The
libssl Makefile had a hard-coded USE_FORT=yes.

Revision 1.144 / (download) - annotate - [select for diffs], Tue May 29 04:56:34 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 (colored)

Sigh.  Fix USE_FORT: do not use /usr/include/ssp from *host* system.

Revision 1.143 / (download) - annotate - [select for diffs], Mon May 28 12:06:23 2007 UTC (7 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.142: +15 -5 lines
Diff to previous 1.142 (colored)

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.

Revision 1.142 / (download) - annotate - [select for diffs], Tue May 22 23:58:54 2007 UTC (7 years, 2 months ago) by tls
Branch: MAIN
Changes since 1.141: +6 -1 lines
Diff to previous 1.141 (colored)

Add -D_FORTIFY_SOURCE=2 where it can safely/sanely be used if building
with USE_SSP: not in the kernel, and not in libssp itself.

Revision 1.141 / (download) - annotate - [select for diffs], Sun Jan 14 16:19:55 2007 UTC (7 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.140: +2 -1 lines
Diff to previous 1.140 (colored)

Define TOOL_JOIN.

Revision 1.140 / (download) - annotate - [select for diffs], Sat Nov 11 06:28:49 2006 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored)

disable SSP for standalone code.

Revision 1.139 / (download) - annotate - [select for diffs], Fri Nov 10 17:22:19 2006 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.138: +2 -1 lines
Diff to previous 1.138 (colored)

add the non tool version of paxctl

Revision 1.138 / (download) - annotate - [select for diffs], Thu Nov 9 17:06:54 2006 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.137: +5 -1 lines
Diff to previous 1.137 (colored)

Add ssp glue.

Revision 1.137 / (download) - annotate - [select for diffs], Sun Oct 22 22:17:30 2006 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.136: +2 -1 lines
Diff to previous 1.136 (colored)

Add -Wextra -Wno-unused-parameter to WARNS > 2

Revision 1.136 / (download) - annotate - [select for diffs], Sun Oct 8 17:16:51 2006 UTC (7 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.135: +1 -7 lines
Diff to previous 1.135 (colored)

PR/28368: Peter Postma: unrecognized option `-Wnetbsd-format-audit'

Apply patch from rivo nurges in #NetBSD-code, thanks!

Revision 1.135 / (download) - annotate - [select for diffs], Sat Sep 9 03:53:19 2006 UTC (7 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.134: +5 -1 lines
Diff to previous 1.134 (colored)

Use -Wno-uninitialized for ns32k.  For some reason, gcc on ns32k
doesn't detect initialisation correction in simple "for" loops like:
	for (i = 0; i < 10; i++)
		var = i;

Revision 1.134 / (download) - annotate - [select for diffs], Sat Jul 1 06:02:51 2006 UTC (8 years ago) by mrg
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

-std=gnu99 can be applied with GCC>=3, not MACHINE != vax.

Revision 1.133 / (download) - annotate - [select for diffs], Sun Jun 18 14:38:48 2006 UTC (8 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.132: +2 -1 lines
Diff to previous 1.132 (colored)

Forgot to commit these for TOOL_SED.  Thanks to tsutsui@ for pointing it out.

Revision 1.132 / (download) - annotate - [select for diffs], Fri Jun 2 22:16:18 2006 UTC (8 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.131: +1 -6 lines
Diff to previous 1.131 (colored)

remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.

Revision 1.131 / (download) - annotate - [select for diffs], Mon May 22 00:43:04 2006 UTC (8 years, 2 months ago) by uwe
Branch: MAIN
Changes since 1.130: +1 -3 lines
Diff to previous 1.130 (colored)

Enable -Wold-style-cast for sh3 now that its stadarg.h doesn't use LHS casts.

Revision 1.130 / (download) - annotate - [select for diffs], Sat May 20 00:48:41 2006 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.129: +1 -4 lines
Diff to previous 1.129 (colored)

Remove -Wno-attribute for gcc4

Revision 1.129 / (download) - annotate - [select for diffs], Thu May 11 23:47:34 2006 UTC (8 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.128: +5 -4 lines
Diff to previous 1.128 (colored)

add support for ${OBJCOPTS} and ${OBJCOPTS}.<lib|prog|fn>.

Revision 1.128 / (download) - annotate - [select for diffs], Fri Apr 7 19:38:58 2006 UTC (8 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored)

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 27 11:50:08 2006 UTC (8 years, 3 months ago) by he
Branch: MAIN
Changes since 1.126: +4 -2 lines
Diff to previous 1.126 (colored)

The -Wno-packed switch is a gcc3+ thing, so place it where it won't
be picked up by gcc 2.95.3.  Fixes build problem for vax.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Mar 25 22:23:04 2006 UTC (8 years, 4 months ago) by dogcow
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Add -Wno-packed, in preparation for gcc4.1.x; unlike most of the other
warnings, it (at best) flags possible underoptimization, and not any
code defects.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Dec 2 21:34:50 2005 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

For now, s/c99/gnu99/ for WARNS=4. This is so that alloca() is defined (and
possibly other built-in functions). Another solution would be to add:

    #ifdef __GNUC__
    #define alloca(a) __builtin_alloca(a)
    #else
    void *alloca(size_t);
    #endif

in stdlib.h, since we have assembly support for some architectures on
non-gcc environments, and we can add the rest.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Sep 2 03:57:10 2005 UTC (8 years, 10 months ago) by jwise
Branch: MAIN
Changes since 1.123: +13 -2 lines
Diff to previous 1.123 (colored)

Add proper support for using bsd.hostprog.mk to build c++-based host
programs -- doesn't affect current host tools build (groff is built the
Makefile.gnuhost way).

Provides {.cc,.cpp,.cxx,.C}.lo rule, associated variables, and HOSTPROG_CXX
support (mirroring PROG_CXX in bsd.prog.mk).

Tested with from-scratch `build.sh tools' and full system build.

Revision 1.123 / (download) - annotate - [select for diffs], Tue Aug 9 22:16:19 2005 UTC (8 years, 11 months ago) by he
Branch: MAIN
Changes since 1.122: +5 -2 lines
Diff to previous 1.122 (colored)

Disable the C++ warning -Wold-style-cast for sh3 as well, because
that CPU's headers' va_start() uses a cast.

Discussed with christos.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Aug 9 15:24:26 2005 UTC (8 years, 11 months ago) by he
Branch: MAIN
Changes since 1.121: +6 -3 lines
Diff to previous 1.121 (colored)

Gcc 2.95.3 doesn't support the -Wabi warning flag, so don't try to use
it there.

The vax port's va_start() macro uses a cast, so for the moment disable
the -Wold-style-cast warning flag for the old GCC as well (as vax is
the only remaining port using this compiler).

Revision 1.121 / (download) - annotate - [select for diffs], Tue Aug 9 02:38:06 2005 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.120: +4 -1 lines
Diff to previous 1.120 (colored)

Add CXXFLAGS for WARNS=2

Revision 1.120 / (download) - annotate - [select for diffs], Sat Jul 9 18:45:16 2005 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

Add .m in the list of suffixes, otherwise including bsd.sys.mk in a Makefile
treats the .m.o:  suffix rule as a target. This broke typing 'make' in
${NETBSDSRC}/sys/kern.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Jun 4 12:17:45 2005 UTC (9 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

Don't add -Wno-uninitialized to CFLAGS if WARNS > 0 and HAVE_GCC != no,
as gcc3 generates much less false positives for -Wuninitalized and I
have found genuine bugs with this warning enabled.
Tested by building a full release of NetBSD/i386.

Revision 1.118 / (download) - annotate - [select for diffs], Tue May 31 03:45:42 2005 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

We need a non-tool version of genassym.

Revision 1.117 / (download) - annotate - [select for diffs], Mon May 23 21:58:21 2005 UTC (9 years, 2 months ago) by riz
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored)

Provide a default definition of OBJDUMP - bsd.kmod.mk expects it.
Approved by heas.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Apr 5 11:56:09 2005 UTC (9 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

Don't use "-std=c99" for NetBSD-vax because gcc 2.95.3 doesn't support it.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Feb 20 01:31:44 2005 UTC (9 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.114: +4 -1 lines
Diff to previous 1.114 (colored)

Add support for WARNS=4 (-std=c99)

Revision 1.114 / (download) - annotate - [select for diffs], Tue Oct 19 01:05:40 2004 UTC (9 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored)

Add CPUFLAGS to AFLAGS as well as CFLAGS so that CPUFLAGS is used for
assembly files.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Jun 8 21:46:52 2004 UTC (10 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored)

Add TOOL_SPARKCRC. Need to clean up what happens in the non tools case.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Apr 18 03:19:02 2004 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored)

add a blank line to improve readability

Revision 1.111 / (download) - annotate - [select for diffs], Tue Jan 27 03:31:48 2004 UTC (10 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.110: +5 -2 lines
Diff to previous 1.110 (colored)

Replace
	:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)

Revision 1.110 / (download) - annotate - [select for diffs], Sun Nov 16 16:10:50 2003 UTC (10 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

.c.lo: support per-target COPTS, CPPFLAGS, CPUFLAGS

Revision 1.109 / (download) - annotate - [select for diffs], Fri Nov 14 05:22:02 2003 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.108: +3 -1 lines
Diff to previous 1.108 (colored)

Add a AWK for awk.

Revision 1.108 / (download) - annotate - [select for diffs], Thu Nov 13 05:54:44 2003 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.107: +3 -1 lines
Diff to previous 1.107 (colored)

Add a HOST_LN.

Revision 1.107 / (download) - annotate - [select for diffs], Sat Nov 8 06:06:50 2003 UTC (10 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.106: +3 -29 lines
Diff to previous 1.106 (colored)

Remove single suffix inference rules from here; nothing in the tree
relies upon them (AFAICT).

(This fixes the build issue with src/x11, because the .cpp rule in
bsd.x11.mk was being overridden by the .cpp rule here)

Revision 1.106 / (download) - annotate - [select for diffs], Wed Oct 29 02:10:57 2003 UTC (10 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.105: +7 -7 lines
Diff to previous 1.105 (colored)

use ${.PREFIX} instead of ${.TARGET:R}

Revision 1.105 / (download) - annotate - [select for diffs], Tue Oct 21 16:36:58 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.104: +1 -37 lines
Diff to previous 1.104 (colored)

Move the MAKEVERBOSE setup from <bsd.sys.mk> to <bsd.own.mk>, and
change all the variable assignments from = to ?=

Revision 1.104 / (download) - annotate - [select for diffs], Tue Oct 21 10:01:22 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.103: +37 -52 lines
Diff to previous 1.103 (colored)

Rework how MAKEVERBOSE operates:

    *	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Oct 20 00:24:22 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.102: +14 -4 lines
Diff to previous 1.102 (colored)

Add MAKEVERBOSE pretty versions for   .cc .cpp .cxx .C

Fix typo in .l.o and .y.o rule

Revision 1.102 / (download) - annotate - [select for diffs], Sun Oct 19 14:23:02 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored)

add _MKMSGCREATE.m

Revision 1.101 / (download) - annotate - [select for diffs], Sun Oct 19 03:53:33 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

add _MKMSGINSTALL.m

Revision 1.100 / (download) - annotate - [select for diffs], Sun Oct 19 03:21:18 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

fix _MKSHECHO for MAKEVERBOSE=1

Revision 1.99 / (download) - annotate - [select for diffs], Sun Oct 19 03:00:55 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.98: +27 -18 lines
Diff to previous 1.98 (colored)

Provide _MKMSG{BUILD,CREATE,COMPILE,FORMAT,INSTALL,LINK,LEX,YACC} to display
${_MKMSG} "  ...  {$.TARGET}"  and use appropriately.

Provide _MKMSGLINK.m to provide "link" message by itself (without ${.TARGET})

Replace _MKSHCMD with _MKSHECHO

Revision 1.98 / (download) - annotate - [select for diffs], Sun Oct 19 02:11:29 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.97: +20 -2 lines
Diff to previous 1.97 (colored)

Add rules for  .s .s.o .S .S.o  to support per-source COPTS,CPUFLAGS,CPPFLAGS
and MAKEVERBOSE

Revision 1.97 / (download) - annotate - [select for diffs], Sat Oct 18 16:41:19 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.96: +12 -6 lines
Diff to previous 1.96 (colored)

implement MAKEVERBOSE for rules which are of the form:
        @cmp -s ${.ALLSRC} ${.TARGET} || ( echo cmd && cmd )

Revision 1.96 / (download) - annotate - [select for diffs], Sat Oct 18 15:33:59 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.95: +39 -1 lines
Diff to previous 1.95 (colored)

Implement MAKEVERBOSE to control how "verbose" the standard make(1) rules are.
Supported values:
    0	Minimal output ("quiet")
    1	Describe what is occurring
    2	Describe what is occurring and echo the actual command ("verbose")
	This is the default, and is equivalent to the previous behaviour.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Aug 22 18:07:21 2003 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.94: +7 -3 lines
Diff to previous 1.94 (colored)

Disable -Wtraditional and explain why.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Jul 28 02:38:33 2003 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored)

Be consistent how "multiple include protection" is implemented.  I.e,

	.if !defined(_BSD_foo_MK_)
	_BSD_foo_MK_=1

	# ...

	.endif	# !defined(_BSD_foo_MK_)

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jul 22 06:53:23 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.92: +12 -4 lines
Diff to previous 1.92 (colored)

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.)

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jul 20 14:36:12 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 (colored)

add TOOL_STAT for stat(1)

Revision 1.91 / (download) - annotate - [select for diffs], Fri Jul 18 02:52:52 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

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.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jul 14 00:41:17 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

use full path in default TOOL_MAKEWHATIS

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jul 10 10:34:37 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.88: +49 -20 lines
Diff to previous 1.88 (colored)

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.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jun 26 06:30:09 2003 UTC (11 years, 1 month ago) by tshiozak
Branch: MAIN
Changes since 1.87: +3 -1 lines
Diff to previous 1.87 (colored)

Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
  mkcsmapper - coded character set mapping table compiler
  mkesdb - encoding scheme database compiler

Revision 1.87 / (download) - annotate - [select for diffs], Fri May 30 18:43:24 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored)

Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.

Revision 1.86 / (download) - annotate - [select for diffs], Sun May 18 08:09:25 2003 UTC (11 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored)

Add ${TOOL_DB}; db(1) as a (host) tool.

Note: this is the first tool using a "TOOL_" prefix in the make(1) variable;
other similar "non-standard" variable names will be converted in the future.

Revision 1.85 / (download) - annotate - [select for diffs], Thu May 8 20:39:01 2003 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

Fix _HOST_CYGWIN lossage.

Revision 1.84 / (download) - annotate - [select for diffs], Thu May 8 13:02:10 2003 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.83: +7 -1 lines
Diff to previous 1.83 (colored)

Deal with CYGWIN's sh screwage.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Dec 21 12:58:13 2002 UTC (11 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored)

add SUNLABEL

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 25 03:03:13 2002 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored)

Add -Wno-sign-compare to CFLAGS.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jul 20 11:43:34 2002 UTC (12 years ago) by mrg
Branch: MAIN
Changes since 1.80: +5 -1 lines
Diff to previous 1.80 (colored)

add -Wa,-Av8plus to CFLAGS if we are building for 32bit sparc

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jun 11 16:25:11 2002 UTC (12 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

add CAT here too

Revision 1.79 / (download) - annotate - [select for diffs], Thu May 30 21:44:07 2002 UTC (12 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

remove duplicated -Wpointer-arith when WARNS=2

Revision 1.78 / (download) - annotate - [select for diffs], Tue May 28 21:56:06 2002 UTC (12 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

Add fgen as a host tool, used for sys/arch/sparc/bootblk.

Revision 1.77 / (download) - annotate - [select for diffs], Thu May 2 13:13:53 2002 UTC (12 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Make the ELF2ECOFF assignment an "?=" assignment so it won't override the
setting in bsd.own.mk.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 23 00:15:45 2002 UTC (12 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.75: +5 -2 lines
Diff to previous 1.75 (colored)

Sun Workshop C 5.0 objects to generating object files with suffixes other than
.o.  Work around this by generating host object files with a .lo.o suffix and
then renaming to .lo.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Apr 12 05:08:53 2002 UTC (12 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored)

add ELF2ECOFF

Revision 1.74 / (download) - annotate - [select for diffs], Wed Apr 3 05:32:58 2002 UTC (12 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.73: +6 -5 lines
Diff to previous 1.73 (colored)

add INSTALLBOOT.  sort some entries in bsd.sys.mk

Revision 1.73 / (download) - annotate - [select for diffs], Mon Apr 1 13:30:24 2002 UTC (12 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.72: +2 -1 lines
Diff to previous 1.72 (colored)

Add a default for CAP_MKDB.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Mar 31 15:01:40 2002 UTC (12 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

Add CKSUM.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Mar 31 11:48:45 2002 UTC (12 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Provide a default for PWD_MKDB.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jan 27 23:33:51 2002 UTC (12 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.69: +8 -1 lines
Diff to previous 1.69 (colored)

Drink ALL the Kool-Aid.

(Move -mieee from lib/ to bsd.*.mk; new var MKIEEEFP defaults to yes.)

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 25 05:21:40 2002 UTC (12 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored)

add $PAX to both, and $MAKEFS to bsd.sys.mk

Revision 1.68 / (download) - annotate - [select for diffs], Thu Nov 29 23:55:33 2001 UTC (12 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored)

Ah, don't actually need MAKEWHATIS here.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Nov 29 23:53:23 2001 UTC (12 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

Provide ${MAKEWHATIS}.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Nov 28 20:12:47 2001 UTC (12 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.65: +2 -5 lines
Diff to previous 1.65 (colored)

Use :U successfully this time.  In an expression such as ${FOO:D:Ubar}, you
end up with empty string if FOO is defined, and `bar' if it is undefined.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Nov 26 06:11:20 2001 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.64: +5 -2 lines
Diff to previous 1.64 (colored)

Revert check for NOGCCERROR back to a .if \!defined as the :U check will break
anyone with NOGCCERROR=1 in their mk.conf

Revision 1.64 / (download) - annotate - [select for diffs], Sat Nov 17 22:55:24 2001 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +6 -1 lines
Diff to previous 1.63 (colored)

Protect from multiple inclusion.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 17 22:48:48 2001 UTC (12 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

Make sure MKDEP is defined for the non-USETOOLS case.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Nov 15 12:15:09 2001 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Re-add check for defined(MKSOFTFLOAT) that got lost in v1.60.
Needed for Makefiles which include bsd.sys.mk, but not bsd.own.mk,
like distrib/macppc/floppies/ramdisk/Makefile.
Okay'd by simonb.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 14 21:49:54 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.60: +2 -5 lines
Diff to previous 1.60 (colored)

Move the DESTDIR-based nostdinc logic to bsd.lib.mk and bsd.prog.mk where
it belongs (with the native target compile rules).

Revision 1.60 / (download) - annotate - [select for diffs], Tue Nov 13 20:25:38 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.59: +12 -9 lines
Diff to previous 1.59 (colored)

* Use -isystem instead of -idirafter for ${DESTDIR}/usr/include.
* Provide defaults for HOST_AR and HOST_RANLIB.
* Formatting cleanup.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Nov 12 23:16:21 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Major overhaul of src/tools and host toolchain.  Summary of changes:

* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Nov 11 21:41:00 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.57: +6 -4 lines
Diff to previous 1.57 (colored)

Provide defaults for MDSETIMAGE and CRUNCHGEN.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 1 07:27:35 2001 UTC (12 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

move -Wwrite-strings to WARNS=3 too ... (yech!)

Revision 1.56 / (download) - annotate - [select for diffs], Thu Nov 1 07:17:17 2001 UTC (12 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (colored)

Move -Wcast-qual from WARNS=2 to WARNS=3 (a new level), because it
generates too many false positives that require gross amounts of
workaround, and the other WARNS=2 stuff is quite useful. Per discussion
with simonb & christos.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 19 19:07:48 2001 UTC (12 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.54: +5 -2 lines
Diff to previous 1.54 (colored)

Better version of previous.  Use an .ifdef in this case, so the rule isn't
even defined without YHEADER.  (Otherwise can lead to odd behavior.)

Revision 1.54 / (download) - annotate - [select for diffs], Fri Oct 19 17:05:26 2001 UTC (12 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Make sure .y.h rule knows what to do only if YHEADER is set.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 19 16:28:54 2001 UTC (12 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.52: +5 -12 lines
Diff to previous 1.52 (colored)

Simplify many .if's by collapsing to make :D and :U conditionals.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Oct 19 16:15:40 2001 UTC (12 years, 9 months ago) by tv
Branch: MAIN
Changes since 1.51: +10 -47 lines
Diff to previous 1.51 (colored)

Simplify and collapse a lot of the gooey .l and .y handling cruft here.
Rather than special-case a bunch of stuff, make this always parallel-safe,
and have make call upon the .l.c/.y.c followed by .c.o/.c.lo transforms,
rather than try to go right from .l/.y to .o/.lo.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 9 05:19:04 2001 UTC (12 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored)

Make mtree a host tool and use it when appropriate.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 8 01:00:44 2001 UTC (12 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored)

Add some more WARNS (commented out since they break things)

Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 14 11:55:04 2001 UTC (12 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

Add a HOST_CXX and HOST_CXXFLAGS (currently needed for compiling groff on
a cross host).

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 4 17:46:06 2001 UTC (13 years ago) by scw
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Check for MKSOFTFLOAT being defined before testing its value.
Needed for crunchgen(1) generated makefiles (e.g. miniroot builds).

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 18 17:04:45 2001 UTC (13 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.46: +6 -1 lines
Diff to previous 1.46 (colored)

Add a new make variable "MKSOFTFLOAT".  If not set to "no", it adds
"-msoft-float" to COPTS and FOPTS, and possibly builds soft-float
library support (port specific).
Defaults to "no".

Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 30 04:11:34 2000 UTC (13 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (colored)

document host build tools (like rpcgen) in bsd.README.  PR 11839

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 29 03:18:32 2000 UTC (13 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

document MKLOCALE is not a variable to control build behavior.  per PR 11839.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 23 22:47:28 2000 UTC (13 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

declare ${MKLOCALE}.  PR11801.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 11 05:45:50 2000 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Repair a dual-.if construct that certainly didn't work with
any version of make(1) on my systems...

Revision 1.42 / (download) - annotate - [select for diffs], Tue Oct 10 20:41:20 2000 UTC (13 years, 9 months ago) by is
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Format string cleanup, by sommerfeld.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 4 19:27:45 2000 UTC (13 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.40: +8 -1 lines
Diff to previous 1.40 (colored)

If FORMAT_AUDIT is set, and WFORMAT is set and > 1, turn on
-Wnetbsd-format-audit for extra-stringent format checking.
WFORMAT belongs in individual makefiles and/or Makefile.inc files.
FORMAT_AUDIT should go in mk.conf if you're doing format-string auditing.
(set WFORMAT=1 in individual makefiles if a program is
not security critical and is doing bizarre things with
format strings which would be even uglier if rewritten)
FORMAT_AUDIT may go away in time (i.e., default to on)

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 25 06:29:44 2000 UTC (14 years ago) by cgd
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

${RPCGEN}, not hard-coded rpcgen

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 9 00:15:55 2000 UTC (14 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored)

Make the fact that we disable -Wuninitialized explcicit in the Makefile,
rather than relying on a compiler hack to do it for us.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 1 06:00:35 2000 UTC (14 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

STRIPPROG -> STRIP

Revision 1.37 / (download) - annotate - [select for diffs], Thu Sep 16 00:28:31 1999 UTC (14 years, 10 months ago) by sommerfeld
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Define CONFIG, so it can be overridden for cross-builds.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 21 14:17:07 1999 UTC (14 years, 11 months ago) by sommerfeld
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Add OBJCOPY

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 8 01:55:38 1999 UTC (15 years ago) by christos
Branch: MAIN
CVS Tags: mortalinstall
Changes since 1.34: +8 -2 lines
Diff to previous 1.34 (colored)

Introduce a second level of WARNS for even more paranoia

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 31 09:17:20 1999 UTC (15 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

NOGCCERROR disables -Werror.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Nov 1 03:46:28 1998 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.32: +22 -17 lines
Diff to previous 1.32 (colored)

reimplement rev 1.30,1.31 using YPREFIX and LPREFIX instead

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 31 17:17:56 1998 UTC (15 years, 8 months ago) by veego
Branch: MAIN
Changes since 1.31: +19 -20 lines
Diff to previous 1.31 (colored)

Backout 1.30 and 1.31 which breaks at least libpcap and pppd.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 30 11:17:08 1998 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.30: +5 -7 lines
Diff to previous 1.30 (colored)

simplify YACCPREFIX rule by using `yacc -o ${.TARGET}' instead of
`yacc -b ${.TARGET:R} ; mv ${TARGET:R}.tab.c ${.TARGET}'. fixes
parallel make of foo.y -> foo.c/foo.h as well

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 30 10:45:09 1998 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.29: +16 -13 lines
Diff to previous 1.29 (colored)

implement LEXPREFIX and YACCPREFIX, which allow overriding the `yy'
prefix of generated tokens, and `.yy.{c,h}' suffix in filenames.
this solves the problem i had in [misc/1989] (albiet a different way).

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 13 20:56:38 1998 UTC (15 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.28: +7 -7 lines
Diff to previous 1.28 (colored)

Reorganize comments around .m and .c.lo rules

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 27 23:26:37 1998 UTC (15 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

Create a STRIPPROG definition to specify a (target) strip program.  Later,
STRIPPROG could be used in preference to "-s" on "install".

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 26 19:36:37 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

Allow -Werror to be turned off with CWARNFLAGS=-Wno-error ...

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 25 14:57:21 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Introduce CWARNFLAGS, idea from kernel Makefiles, which goes after "-Wall
..." in the CFLAGS and can be set in directory Makefile or mk.conf.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 25 12:04:59 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

Back out previous.  -Wuninitialized is disabled in the latest egcs
sources, and -Wno-format-y2k is inserted into the proper Makefiles only
(as this is likely to become a permanent option).

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 25 07:46:23 1998 UTC (15 years, 11 months ago) by ross
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Add -Wno-uninitialized -Wno-format-y2k, with an attached XXX

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 17 00:03:32 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

"oops": .c.lo rule missed the "-o ${.TARGET}".

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 16 23:55:04 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.21: +17 -2 lines
Diff to previous 1.21 (colored)

Add .c.lo, .l.lo, and .y.lo rules for automatic use of ${HOST_COMPILE.c}.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 27 13:16:52 1998 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

If AUDIT is defined, compile with -D__AUDIT__.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 11 22:12:59 1998 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

If DESTDIR is set, tell lint to use "-d ${DESTDIR}/usr/include" (the equiv.
of "-nostdinc -idirafter ${DESTDIR}/usr/include".  Fixes PR #5399.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 9 00:32:36 1998 UTC (16 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.18: +17 -1 lines
Diff to previous 1.18 (colored)

.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 1 16:58:33 1998 UTC (16 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

Revert.  This broke too much in the build tree, and a better solution
needs to be created.  (The existing situation breaks a lot too.)

Revision 1.17 / (download) - annotate - [select for diffs], Wed Apr 1 15:23:36 1998 UTC (16 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)

Fix .y rules to DTRT with possibly generated .h files.  See mail on
tech-toolchain for a very detailed explanation of this.  In short, add
a .y.h rule identical to the .y.c rule and make the .y.c rule rename
the .h file; also, clean the .h file in CLEANFILES.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 4 21:12:45 1997 UTC (16 years, 8 months ago) by gwr
Branch: MAIN
Changes since 1.15: +1 -4 lines
Diff to previous 1.15 (colored)

Move definitions of: NM, LORDER, TSORT from bsd.sys.mk to sys.mk
so they are more easly used by things like sys/libkern/Makefile.inc
(Besides, all the other tool definitions are in sys.mk)

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 4 20:31:56 1997 UTC (16 years, 8 months ago) by gwr
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Define LORDER, TSORT

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 30 07:25:35 1997 UTC (16 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored)

remove lint rules for objective c as lint can't cope

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 28 12:40:18 1997 UTC (16 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.12: +16 -1 lines
Diff to previous 1.12 (colored)

add default rules for Objective C sources (`.m' suffix):
- sys.mk:
	add ${OBJC} and ${OBJCFLAGS} (equivalent to ${CC} and
	${CFLAGS} respectively), and ${COMPILE.m} and ${LINK.m} rules
- bsd.sys.mk:
	add .m, .m.o, and .m.ln rules (as per the C rules in sys.mk).
	it's here, rather than in sys.mk, because `.m' isn't
	exclusively used for Objective C files.
- bsd.lib.mk:
	add .m.o, .m.po, .m.so, and .m.ln rules (as per C)

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 12 01:37:50 1997 UTC (16 years, 9 months ago) by mikel
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

add -Wpointer-arith to flags enabled by WARNS

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 8 13:17:00 1997 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Put the `-nostdinc -idirafter ...' in CPPFLAGS, not CFLAGS.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 26 13:24:03 1997 UTC (16 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

PR/4146: Erik Bertelsen: WARNS was not unsettable in Makefiles

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 1 21:42:55 1997 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

Enable extra warnings if WARNS is set

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 31 21:22:01 1997 UTC (17 years, 1 month ago) by cjs
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Back out BUILDDIR and NOINSTALL changes.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 27 18:09:00 1997 UTC (17 years, 2 months ago) by cjs
Branch: MAIN
Branch point for: cjs-build-against-obj-dir
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Put include information in CPPFLAGS only (not in CFLAGS or MKDEPFLAGS).
Add note that CPPFLAGS is (or should be) passed to all programs that
pass input through cpp.

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 27 17:01:56 1997 UTC (17 years, 2 months ago) by cjs
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Make sure mkdep gets correct include directories.

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 26 16:36:41 1997 UTC (17 years, 2 months ago) by cjs
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Patch for yesterday's batch of `new build system' commits that I forgot
to commit.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 17 06:43:32 1997 UTC (17 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +15 -1 lines
Diff to previous 1.3 (colored)

Add several HOST_* variables.  These identical to their non-HOST_
counterparts, and are used to compile programs that are needed to
compile other programs (see src/bin/sh for an example use).  These
facilitate cross-compiling.

Define an NM variable - the program to use for nm(1)

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 15 19:46:51 1996 UTC (18 years, 2 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,
instead.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 13 01:25:07 1995 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

add "CFLAGS += -Werror" to bsd.sys.mk, and update various bits of
documentation to explain bsd.sys.mk's purpose more clearly.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 22 00:45:59 1995 UTC (18 years, 9 months ago) by christos
Branch: MAIN

Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>