The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.149 / (download) - annotate - [select for diffs], Fri Dec 29 09:17:37 2023 UTC (3 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.96 (colored)

Update ARFLAGS for new binutils.

In binutils 2.34, 'l' was a no-op.
In binutils 2.39, it is used to specify library dependencies.

Remove 'l' from ARFLAGS.

From Takahiro Kambe in PR 57565.

Revision 1.148 / (download) - annotate - [select for diffs], Tue Dec 14 16:22:07 2021 UTC (2 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC1
Branch point for: netbsd-10
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored) to selected 1.96 (colored)

Pass W with IDU for lint and deps.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Nov 28 00:21:12 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored) to selected 1.96 (colored)

sys.mk: fix duplicate character in character class of LINTFLAGS

The character class contained two times U+0020, which makes one of them
redundant, so remove the character class. PR toolchain/18248 already
contained these two spaces.

Apparently there is no need to support tabs in this place, otherwise
someone would have noticed it in the 17 years since this pattern had
been added in sys.mk 1.83 from 2004-01-27.

No functional change.

Revision 1.146 / (download) - annotate - [select for diffs], Tue Mar 23 22:02:44 2021 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.145: +26 -19 lines
Diff to previous 1.145 (colored) to selected 1.96 (colored)

From Greg A. Woods:
- add LDSTATIC to all the LINK rules, replacing CPPFLAGS which should not be
  used
- create new COMPILE_LINK rules that are like LINK rules but have CPPFLAGS
  where appropriate

Revision 1.145 / (download) - annotate - [select for diffs], Mon Mar 22 21:52:26 2021 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.144: +12 -23 lines
Diff to previous 1.144 (colored) to selected 1.96 (colored)

Fix the shuttle rules by defining a new EXEC_TARGET instead of re-using
OBJECT_TARGET which adds an extra .o sometimes. Noticed by Greg A. Woods

Revision 1.144 / (download) - annotate - [select for diffs], Mon Nov 9 16:15:05 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.143: +44 -35 lines
Diff to previous 1.143 (colored) to selected 1.96 (colored)

- make the CTFCONVERT command lines consistent and concise by putting all
  the implementation stuff in a variable CTFCONVERT_RUN
- introduce an OBJECT_TARGET variable that contains the output object file
- when we need to run ctfconvert, go through an intermediate ${.TARGET}.o
  file, instead of writing directly to ${.TARGET} and then overwriting
  ${.TARGET} with ctfconvert. This avoids build failures after a build
  got interrupted (the "partially built from C" scourge).

Revision 1.143 / (download) - annotate - [select for diffs], Sat Feb 8 21:16:53 2020 UTC (4 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.142: +1 -3 lines
Diff to previous 1.142 (colored) to selected 1.96 (colored)

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.
This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.

Revision 1.142 / (download) - annotate - [select for diffs], Wed Jan 8 22:04:24 2020 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.141: +1 -1 lines
Diff to previous 1.141 (colored) to selected 1.96 (colored)

Back out previous. This has no chance to work unless the make variable parsing
is not changed do that instead of scanning for a single character delim ':',
it scans for "?:". This is because !empty(COMPILE.c:M*-pg*) contains a ':'.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Jan 8 04:15:45 2020 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored) to selected 1.96 (colored)

tweak the DBG rule that -fomit-frame-pointer for aarch64 when profiling
(because the compiler complains), to use a match with the compile flags
and *pg*, instead of using a match to a target suffix (which is NetBSD
build-specific). Pointed out by phone@.

Revision 1.140 / (download) - annotate - [select for diffs], Fri Dec 20 04:04:25 2019 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.139: +2 -1 lines
Diff to previous 1.139 (colored) to selected 1.96 (colored)

move MV to sys.mk because it is used there. Pointed out by joerg@

Revision 1.139 / (download) - annotate - [select for diffs], Sun Apr 7 19:32:24 2019 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored) to selected 1.96 (colored)

Add -r so that we get the location of redefinitions

Revision 1.138 / (download) - annotate - [select for diffs], Mon Jan 21 21:11:54 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored) to selected 1.96 (colored)

Most of the mv operations are to move temporary files to their final place.
Some use -f, others don't. This can lead to spurious build failures when
the user performing the build changes. Centralize, and always use -f.

Revision 1.137 / (download) - annotate - [select for diffs], Mon Aug 13 13:07:04 2018 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored) to selected 1.96 (colored)

remove random seed debugging

Revision 1.136 / (download) - annotate - [select for diffs], Tue Jul 10 23:25:27 2018 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.135: +1 -6 lines
Diff to previous 1.135 (colored) to selected 1.96 (colored)

Back to always using just the list of sources for the hash. Hopefully this
is reproducible now.

Revision 1.135 / (download) - annotate - [select for diffs], Tue Jul 10 16:53:16 2018 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.134: +11 -2 lines
Diff to previous 1.134 (colored) to selected 1.96 (colored)

Build seed fixes:
    - use MKREPRO_TIMESTAMP as the seed if available.
    - skip relative paths that cannot be normalized if it is not
XXX: pullup-8

Revision 1.134 / (download) - annotate - [select for diffs], Mon Jul 9 09:22:55 2018 UTC (5 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.133: +3 -3 lines
Diff to previous 1.133 (colored) to selected 1.96 (colored)

Debug hack: print out full random-seed for C++ compile/link.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Jun 22 11:25:03 2018 UTC (5 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.132: +3 -1 lines
Diff to previous 1.132 (colored) to selected 1.96 (colored)

Add comment describing why we remove -Wsystem-headers, requested by mrg.

Revision 1.132 / (download) - annotate - [select for diffs], Wed Jun 20 02:15:13 2018 UTC (5 years, 10 months ago) by maya
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.96 (colored)

Strip -Wsystem-headers from CXXFLAGS.

GCC's C++ headers are not clean (yet). They are trying, but haven't got there
yet.

Necessary for including <atf-c++.hpp> which uses <sstream>.

Revision 1.131 / (download) - annotate - [select for diffs], Sun May 20 14:39:53 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.130: +3 -2 lines
Diff to previous 1.130 (colored) to selected 1.96 (colored)

Also substitute ${X11SRCDIR} for the random seed for reproducible builds so
that the random seed is consistent.
XXX: pullup-8

Revision 1.130 / (download) - annotate - [select for diffs], Sun Feb 25 18:53:23 2018 UTC (6 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.129: +6 -3 lines
Diff to previous 1.129 (colored) to selected 1.96 (colored)

add DTRACE_OPTS and HOST_DTRACE_OPTS to allow disabling various optimizations
that interfere with using dtrace.  use them when MKDTRACE=yes.

Revision 1.129 / (download) - annotate - [select for diffs], Wed Mar 30 17:35:43 2016 UTC (8 years ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.128: +1 -3 lines
Diff to previous 1.128 (colored) to selected 1.96 (colored)

Remove hacks for ancient vax gcc

Revision 1.128 / (download) - annotate - [select for diffs], Mon Jul 6 00:21:51 2015 UTC (8 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.127: +2 -3 lines
Diff to previous 1.127 (colored) to selected 1.96 (colored)

reapply some fixes to make multi-threaded ctfmerge work
that were lost in the overzealous resync with freebsd.
remove the hacks which were applied to work around those problems.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Aug 10 05:57:31 2014 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base, netbsd-7-base, netbsd-7-0-RC1
Branch point for: netbsd-7
Changes since 1.126: +3 -1 lines
Diff to previous 1.126 (colored) to selected 1.96 (colored)

Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Aug 6 15:23:48 2014 UTC (9 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.125: +15 -20 lines
Diff to previous 1.125 (colored) to selected 1.96 (colored)

Wrap CTFCONVERT invocations in ${defined(CTFCONVERT):? ... :}
so it performs the test at the time the rule is invoked.  We can't
use a ".if defined" test because that would be tested at the time the
sys.mk file is parsed, which may be before CTFCONVERT has been set by
bsd.own.mk.

Remove the now-unnecessary assignment "CTFCONVERT ?= : ctfconvert",
and the similar assignment to CTFMERGE.  Now the build logs are not
cluttered by many unnecessary invocations of the ": ctfconvert ..."

Revision 1.125 / (download) - annotate - [select for diffs], Sun Jun 29 05:20:15 2014 UTC (9 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.124: +3 -3 lines
Diff to previous 1.124 (colored) to selected 1.96 (colored)

Use "-O2 -fno-reorder-blocks" instead of "-Os" for m68k default optimization.

"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower.  "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

No objection in the thread and "seems fine to me" from mrg@.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Apr 18 00:37:46 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.96 (colored)

Add -g (gnu) so lint recognizes __attribute__

Revision 1.123 / (download) - annotate - [select for diffs], Thu Apr 3 18:27:37 2014 UTC (10 years ago) by riastradh
Branch: MAIN
Branch point for: tls-earlyentropy
Changes since 1.122: +3 -33 lines
Diff to previous 1.122 (colored) to selected 1.96 (colored)

By default define CTFCONVERT and CTFMERGE to be no-ops in sys.mk.

Don't test for /usr/bin/ctfconvert or /usr/bin/ctfmerge -- that is
completely bonkers and breaks the build if the host's ctfconvert and
ctfmerge are too old.

Strip the broken conditionals in the .c.o &c. rules.

bsd.own.mk will override CTFCONVERT and CTFMERGE with TOOL_CTFCONVERT
and TOOL_CTFMERGE if MKCTF=yes.

XXX The way CTFCONVERT and CTFMERGE are integrated into the rules is
bogus -- it is not safe to interrupt them.  We need some intermediate
object to do this right.

Please let me know if I broke anything with this -- I am not an elvin
or dwarven wizard, nor a dtrace expert.  But this has been breaking
builds for ages now and nobody else seems to want to do anything
about it.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Mar 9 19:10:01 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.121: +3 -5 lines
Diff to previous 1.121 (colored) to selected 1.96 (colored)

XXX: use only thread for ctfmerge

Revision 1.121 / (download) - annotate - [select for diffs], Sun Mar 9 18:01:06 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.120: +4 -1 lines
Diff to previous 1.120 (colored) to selected 1.96 (colored)

Elide ctfmerge bug.

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 2 19:25:08 2014 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.119: +5 -4 lines
Diff to previous 1.119 (colored) to selected 1.96 (colored)

disable ctf handling for the shuttle .c -> '' rule since we don't create
an object file to work on.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Dec 31 18:46:09 2013 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.118: +7 -4 lines
Diff to previous 1.118 (colored) to selected 1.96 (colored)

redo the ctf stuff to handle the USETOOLS=never case correctly and explain
how.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Nov 1 17:07:37 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.96 (colored)

ignore all -std=gnu patterns not just 99

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jul 18 22:06:09 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.116: +3 -1 lines
Diff to previous 1.116 (colored) to selected 1.96 (colored)

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

Revision 1.116 / (download) - annotate - [select for diffs], Wed Mar 6 11:19:08 2013 UTC (11 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: riastradh-drm2-base, agc-symver-base, agc-symver
Branch point for: riastradh-drm2
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored) to selected 1.96 (colored)

don't make ctfconvert remove original debug info

Revision 1.115 / (download) - annotate - [select for diffs], Sat Jan 26 22:04:18 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.114: +1 -4 lines
Diff to previous 1.114 (colored) to selected 1.96 (colored)

CTFCONVERT complains and coredumps for c++

Revision 1.114 / (download) - annotate - [select for diffs], Sat Jan 26 21:49:20 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.113: +16 -1 lines
Diff to previous 1.113 (colored) to selected 1.96 (colored)

CTFCONVERT me harder.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jan 18 19:32:09 2013 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.112: +6 -7 lines
Diff to previous 1.112 (colored) to selected 1.96 (colored)

Now that ctf is fixed for at least amd64, go back to an equivalent to the
original functionality, use the tool only if it exists.

Revision 1.112 / (download) - annotate - [select for diffs], Thu Jan 17 17:33:16 2013 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.111: +6 -5 lines
Diff to previous 1.111 (colored) to selected 1.96 (colored)

Disable CTF Conversion for now until it is fixed.
- ERROR: ctrl_iface_ap.c: die 2767: failed to get unsigned: No entry found
  [dwarf _attrval_unsigned(219)]

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jan 17 15:27:50 2013 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.110: +5 -9 lines
Diff to previous 1.110 (colored) to selected 1.96 (colored)

Remove bogus conditionals that were also copied to other files presumably
because they did not work from here, and explain why.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Oct 6 20:54:58 2012 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored) to selected 1.96 (colored)

old-style-definitions and no-format-zero-length are invalid for c++

Revision 1.109 / (download) - annotate - [select for diffs], Fri Jun 22 20:32:35 2012 UTC (11 years, 9 months ago) by abs
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored) to selected 1.96 (colored)

Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Feb 10 05:57:42 2012 UTC (12 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base
Branch point for: netbsd-6
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored) to selected 1.96 (colored)

Switch VAX to use GCC 4.5 and GDB 7.
Change VAX to use DBG=-O2 like most other ports.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Oct 31 14:20:12 2011 UTC (12 years, 5 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.106: +6 -19 lines
Diff to previous 1.106 (colored) to selected 1.96 (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.106 / (download) - annotate - [select for diffs], Fri May 20 14:27:48 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.105: +5 -5 lines
Diff to previous 1.105 (colored) to selected 1.96 (colored)

Fully support per-target AFLAGS.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Apr 7 01:40:32 2011 UTC (13 years ago) by joerg
Branch: MAIN
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored) to selected 1.96 (colored)

Compute the build seed using :hash.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jan 21 15:59:04 2011 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.103: +1 -7 lines
Diff to previous 1.103 (colored) to selected 1.96 (colored)

Switch remaining platforms to modern CPP for assembler.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Jan 17 18:11:10 2011 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.102: +3 -2 lines
Diff to previous 1.102 (colored) to selected 1.96 (colored)

Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Jan 16 19:29:59 2011 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored) to selected 1.96 (colored)

Alpha doesn't need -traditional-cpp for assembler.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Jan 12 23:12:11 2011 UTC (13 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.100: +7 -2 lines
Diff to previous 1.100 (colored) to selected 1.96 (colored)

Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk.  Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Mar 2 20:49:18 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.99: +47 -1 lines
Diff to previous 1.99 (colored) to selected 1.96 (colored)

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

Revision 1.99 / (download) - annotate - [select for diffs], Sun Sep 7 15:54:52 2008 UTC (15 years, 7 months ago) by kent
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, 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-5-RELEASE, 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, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.96 (colored)

Remove -Wno-pointer-sign and -ffreestanding from CXXFLAGS.  g++
doesn't support for them.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Aug 4 16:02:25 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.97: +8 -2 lines
Diff to previous 1.97 (colored) to selected 1.96 (colored)

When compiling C++ sources and BUILDSEED is set, pass down
-frandom-seed with a reduced version of .ALLSRC and .TARGET
as argument.  This allows bit-identical builds of C++ files.

Revision 1.97 / (download) - annotate - [select for diffs], Tue May 6 22:19:11 2008 UTC (15 years, 11 months ago) by uwe
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.96: +4 -1 lines
Diff to previous 1.96 (colored)

For sh3 set default DBG to "-Os -freorder-blocks" which is almost like -O2
but without -falign-* that is too zealous for low-memory sh3 machines.

Revision 1.96 / (download) - annotate - [selected], Sun May 4 15:37:19 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.95: +3 -2 lines
Diff to previous 1.95 (colored)

There is only one more file which requires HACKS for m68000,
so handle it in each Makefile rather than sys.mk.

These ICEs might be related with GCC Bugzilla Bug 32424
which is not resolved yet even in the upstream.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Apr 27 03:06:46 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.96 (colored)

Enable gcc optimization on m68000 (sun2) again with minimum hacks.
gcc -O0 generates a bit fat binaries.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 9 02:37:22 2008 UTC (16 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored) to selected 1.96 (colored)

make all sun2 use -O0 and move most of the hacks out into just 3 files.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jan 9 11:26:15 2008 UTC (16 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.92: +1 -2 lines
Diff to previous 1.92 (colored) to selected 1.96 (colored)

Remove support for NetBSD/pc532.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Apr 15 22:53:08 2007 UTC (17 years ago) by matt
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6
Changes since 1.91: +4 -3 lines
Diff to previous 1.91 (colored) to selected 1.96 (colored)

-O1 on vax isn't quite enough, add -fgcse -fstrength-reduce -fgcse-after-reload
too.  We can build again.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Apr 14 18:39:46 2007 UTC (17 years ago) by matt
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.96 (colored)

For now, make vax default to -O not -O2

Revision 1.90 / (download) - annotate - [select for diffs], Sun Apr 8 09:35:51 2007 UTC (17 years ago) by scw
Branch: MAIN
Changes since 1.89: +1 -2 lines
Diff to previous 1.89 (colored) to selected 1.96 (colored)

Remove support for NetBSD/{,evb}sh5.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Jan 22 21:49:07 2007 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored) to selected 1.96 (colored)

delete "-std=gnu99" from c++ flags. From mrg.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Aug 26 19:57:03 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) to selected 1.96 (colored)

Make sure to compile things at -O2 for mips64e[bl]

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 25 15:04:31 2006 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.96 (colored)

Move LDFLAGS to the CC section instead of the LD section.

Revision 1.86 / (download) - annotate - [select for diffs], Fri May 12 02:03:35 2006 UTC (17 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.96 (colored)

like we do for -Wno-traditional, remove -Wstrict-prototypes and
-Wmissing-prototypes from C++ since those are always requird for C++.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Dec 25 18:34:23 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored) to selected 1.96 (colored)

add "S" to LINTFLAGS so that "inline" is accepted by lint

Revision 1.84 / (download) - annotate - [select for diffs], Sat Aug 7 21:43:18 2004 UTC (19 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.83: +2 -3 lines
Diff to previous 1.83 (colored) to selected 1.96 (colored)

turn on -O2 for hppa.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 27 03:31:49 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (colored) to selected 1.96 (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.82 / (download) - annotate - [select for diffs], Fri Dec 26 17:27:01 2003 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.96 (colored)

no-traditional is not a valid warning for c++ programs.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 7 12:53:58 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored) to selected 1.96 (colored)

Use -O2 for ns32k now.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Nov 8 23:14:45 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.96 (colored)

The order of items in .SUFFIXES is extremely important!
Revert part of previous and put `.s .S' before `.c' again.

(Fixes recent libkern lossage.)

Revision 1.79 / (download) - annotate - [select for diffs], Sat Nov 8 05:33:37 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.78: +6 -6 lines
Diff to previous 1.78 (colored) to selected 1.96 (colored)

Trim .SUFFIXES to only contain those used in this file.

Reorder some variables appropriately.

Add chmod a+x in .sh:, as per SUSv3.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Sep 19 16:32:12 2003 UTC (20 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.77: +2 -3 lines
Diff to previous 1.77 (colored) to selected 1.96 (colored)

Drop explicit medlow model and default to -O2 for sparc64.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Jul 27 19:08:03 2003 UTC (20 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.76: +2 -3 lines
Diff to previous 1.76 (colored) to selected 1.96 (colored)

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.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jul 27 09:35:47 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.75: +17 -17 lines
Diff to previous 1.75 (colored) to selected 1.96 (colored)

be consistent: use ${.TARGET} for $@ and ${.PREFIX} for $*

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 18 04:04:04 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) to selected 1.96 (colored)

whitespace cleanup

Revision 1.74 / (download) - annotate - [select for diffs], Sun May 4 12:05:50 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored) to selected 1.96 (colored)

Default to -O2 for x86_64.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Mar 29 22:12:06 2003 UTC (21 years ago) by fvdl
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.96 (colored)

gcc for x86_64 should be safe enough these days to enable -O by default.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jan 21 09:19:01 2003 UTC (21 years, 3 months ago) by scw
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.96 (colored)

The sh5 toolchain works fine with -O2 now.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Nov 26 18:42:30 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.70: +1 -5 lines
Diff to previous 1.70 (colored) to selected 1.96 (colored)

The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jul 11 15:00:57 2002 UTC (21 years, 9 months ago) by scw
Branch: MAIN
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored) to selected 1.96 (colored)

SH5 Makefile Magic.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jul 1 19:30:36 2002 UTC (21 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored) to selected 1.96 (colored)

Like on x86_64, don't use -O at all with the hppa compiler.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jun 4 21:14:59 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +5 -1 lines
Diff to previous 1.67 (colored) to selected 1.96 (colored)

Don't use -traditional-cpp if HAVE_GCC3.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jun 4 21:13:21 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored) to selected 1.96 (colored)

Add case for armeb.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 8 12:25:22 2002 UTC (22 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.96 (colored)

No more arm32.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Mar 27 05:39:00 2002 UTC (22 years ago) by eeh
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored) to selected 1.96 (colored)

Reserve %g4 for backwards compatibility with the old ABI.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Mar 24 22:32:00 2002 UTC (22 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored) to selected 1.96 (colored)

MACHINE_ARCH == "arm26" hasn't been valid for some time, so don't check
for it.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Dec 19 21:17:59 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.62: +1 -4 lines
Diff to previous 1.62 (colored) to selected 1.96 (colored)

Remove -Wa,-Av9a hack from <sys.mk> and relegate it to the places that need
it (kernel and libc).

The current version of the gas assembler in the tree (2.11.2) already
defaults to generating object files for "-Av9 -64", supporting V9
instructions in ELF64 object format.  "-Av9a" is only needed for specific
parts of the NetBSD base sources, and not for all third-party code.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Sep 17 12:28:14 2001 UTC (22 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.96 (colored)

Use -O2 on PowerPC.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jul 23 17:08:18 2001 UTC (22 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored) to selected 1.96 (colored)

Make arm use -O2

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 29 23:50:01 2001 UTC (22 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 (colored) to selected 1.96 (colored)

Tell the assembler to accept UltraSPARC extensions on sparc64.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 19 01:37:44 2001 UTC (22 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored) to selected 1.96 (colored)

Add some extra flags for the x86-64 port. Disable -O in sys.mk
(which is where all ports set it); there seem to be some lurking
optimization bugs for the x86-64.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 22 17:38:49 2000 UTC (23 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.96 (colored)

Switch arm26 to -O2.  Most of my kernels are compiled with this anyway,
and gcc's code generation should be the same as for arm32, so I think this
is safe.

Revision 1.57 / (download) - annotate - [select for diffs], Tue May 2 03:44:36 2000 UTC (23 years, 11 months ago) by sjg
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored) to selected 1.96 (colored)

Allow optimizer/debug flags to be changed on command line without
breaking everything.  Eg. use DBG="-O0 -g" when debugging something.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 15 06:14:23 1999 UTC (24 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) to selected 1.96 (colored)

VAX should use -O2.  (why don't all ports?)

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 13 14:53:09 1999 UTC (24 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.54: +6 -14 lines
Diff to previous 1.54 (colored) to selected 1.96 (colored)

merge build rules for files ending .cc and .C
add support for C++ source files ending .cpp and .cxx

Revision 1.54 / (download) - annotate - [select for diffs], Wed Mar 10 14:06:14 1999 UTC (25 years, 1 month ago) by mycroft
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, mortalinstall, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored) to selected 1.96 (colored)

alpha seems to work with -O2...

Revision 1.53 / (download) - annotate - [select for diffs], Wed Feb 24 14:42:36 1999 UTC (25 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.96 (colored)

add missing parts of the "mips"->"mipse?" transition

Revision 1.52 / (download) - annotate - [select for diffs], Fri Feb 12 01:10:08 1999 UTC (25 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.51: +6 -6 lines
Diff to previous 1.51 (colored) to selected 1.96 (colored)

* Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
  MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
  variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed

Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 6 02:07:55 1999 UTC (25 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.96 (colored)

Back out previous backout of -O2 in mips.  Bug in strtod.c fixed via
Niklas Hallqvist.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 5 13:50:09 1999 UTC (25 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored) to selected 1.96 (colored)

_Don't_ use -O2 on mips, libc/stdlib/strtod.c breaks

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jan 21 09:44:19 1999 UTC (25 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored) to selected 1.96 (colored)

Use -O2 on arm32.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jan 18 20:22:54 1999 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.96 (colored)

Add -F to LINTFLAGS so that the full pathname is printed.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jan 12 05:06:17 1999 UTC (25 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored) to selected 1.96 (colored)

Use -O2 on mips.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 12 20:48:53 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored) to selected 1.96 (colored)

Use -O2 on m68k.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Nov 26 23:06:09 1998 UTC (25 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored) to selected 1.96 (colored)

Use -O2 on SPARC.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Nov 22 13:48:34 1998 UTC (25 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +5 -1 lines
Diff to previous 1.43 (colored) to selected 1.96 (colored)

Use -O2 on i386.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Aug 22 18:59:40 1998 UTC (25 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.42: +1 -3 lines
Diff to previous 1.42 (colored) to selected 1.96 (colored)

Fix the .c.a brokenness with libbfd the "right" way - nuke everything but
*o from .ALLSRC.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 22 13:52:52 1998 UTC (25 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.96 (colored)

Apply same .c.a workaround from alpha to arm32

Revision 1.41 / (download) - annotate - [select for diffs], Thu Apr 9 00:45:10 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.96 (colored)

The C++ compiler is "c++", not "g++"; that is more compatible with non-GCC
based C++ compilers.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 9 00:32:36 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.96 (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.39 / (download) - annotate - [select for diffs], Wed Apr 1 16:58:33 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored) to selected 1.96 (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.38 / (download) - annotate - [select for diffs], Wed Apr 1 15:23:36 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) to selected 1.96 (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.37 / (download) - annotate - [select for diffs], Wed Nov 5 05:36:29 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.96 (colored)

Fix .c.ln rule: use CPPFLAGS, not CFLAGS.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Nov 4 21:12:41 1997 UTC (26 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.35: +9 -1 lines
Diff to previous 1.35 (colored) to selected 1.96 (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.35 / (download) - annotate - [select for diffs], Mon Nov 3 22:56:27 1997 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.96 (colored)

add '-z' to LINTFLAGS, so that forward structure definions (for pointer
args, etc.), don't cause warnings if the structure isn't ever completely
defined.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 28 12:40:20 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.33: +6 -1 lines
Diff to previous 1.33 (colored) to selected 1.96 (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.33 / (download) - annotate - [select for diffs], Sat May 31 21:22:02 1997 UTC (26 years, 10 months ago) by cjs
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.32: +0 -2 lines
Diff to previous 1.32 (colored) to selected 1.96 (colored)

Back out BUILDDIR and NOINSTALL changes.

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 27 18:09:02 1997 UTC (26 years, 10 months ago) by cjs
Branch: MAIN
CVS Tags: cjs-build-against-obj-dir
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored) to selected 1.96 (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.31 / (download) - annotate - [select for diffs], Sat May 17 02:01:09 1997 UTC (26 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.96 (colored)

Remove unneeded .SUFFIXES lines, and move .s and .S closer to .o to give the
right preferences.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 29 08:02:58 1997 UTC (27 years ago) by mikel
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) to selected 1.96 (colored)

merge lite-2 changes (mostly SCCSids)

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 18 02:33:38 1996 UTC (27 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored) to selected 1.96 (colored)

Define an INSTALL make variable, and default it to "install".  Suggested
by Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 30 23:37:22 1996 UTC (27 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.96 (colored)

Add "-traditional-cpp" to the COMPILE.S command, so that assembler
syntax (specifically, use of # to indicate an immediate value) isn't
misinterpreted as a CPP directive.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 10 05:47:19 1996 UTC (28 years ago) by mycroft
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.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.96 (colored)

Remove broken hack that attempted to do the same as the previous.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 10 05:44:49 1996 UTC (28 years ago) by mycroft
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.96 (colored)

Fix COMPILE.s so the output file is named correctly.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 29 19:06:57 1996 UTC (28 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.24: +2 -4 lines
Diff to previous 1.24 (colored) to selected 1.96 (colored)

Removed special handling of CPPFLAGS if DESTDIR is set.  Third party
makefiles may use DESTDIR for something completely different.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 28 23:45:16 1996 UTC (28 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.96 (colored)

Default .s.o and .S.o left output in wrong file

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 18 02:53:20 1995 UTC (28 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored) to selected 1.96 (colored)

don't include the .c.a rule on the alpha.  see p.r. 1488 for an
example of how make breaks when it's present.  In particular, it causes
build of the compiler toolchain to fail if present, which keeps
a complete system from building, on the alpha.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 24 23:49:09 1995 UTC (28 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.21: +54 -54 lines
Diff to previous 1.21 (colored) to selected 1.96 (colored)

- In preparation for parallel makes fix the library rules so that they
  don't use a.out as intermediate output.
- Note in the README file that we cannot fix the xstr stuff.
  We still need to fix lex and yacc.
- Allow overriding of the variables in sys.mk

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 24 08:28:13 1995 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) to selected 1.96 (colored)

update lint rules, but keep linting disabled

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 26 19:42:42 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +1 -5 lines
Diff to previous 1.19 (colored) to selected 1.96 (colored)

Move the inclusion of bsd.own.mk to a better place.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 6 04:12:24 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) to selected 1.96 (colored)

Use CPPFLAGS (previously defined but unused) to yank in include files from
${DESTDIR}/usr/include.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 30 06:47:39 1994 UTC (29 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.96 (colored)

.m4 files are sources too

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 30 05:31:24 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.96 (colored)

RCSID frobbing, and minor sanity adjustments.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 27 01:42:35 1994 UTC (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.15: +5 -1 lines
Diff to previous 1.15 (colored) to selected 1.96 (colored)

add back inclusion of bsd.own.mk

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 24 16:01:24 1994 UTC (30 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.14: +118 -82 lines
Diff to previous 1.14 (colored) to selected 1.96 (colored)

Added various COMPILE.? & LINK.? macros and changed suffix rules to use
them (Like Sun & GNU make).

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 24 01:39:28 1994 UTC (30 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.13: +26 -26 lines
Diff to previous 1.13 (colored) to selected 1.96 (colored)

Now that single suffix rules work, uncomment them.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jan 31 18:40:14 1994 UTC (30 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.12: +1 -6 lines
Diff to previous 1.12 (colored) to selected 1.96 (colored)

Moved manpage formatting rules from sys.mk to bsd.man.mk.
Some programs (like ispell) use *.[0-8] for non-manpage things, and having
the manpage rules in sys.mk really messes things up.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 25 21:56:52 1994 UTC (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.96 (colored)

oops; kill two extra spaces.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 25 21:56:04 1994 UTC (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) to selected 1.96 (colored)

do the right thing if nroff doesn't work

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 30 18:53:02 1993 UTC (30 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.9: +26 -26 lines
Diff to previous 1.9 (colored) to selected 1.96 (colored)

Comment out single suffix rules (until I can get a debugger that works).

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 29 18:44:36 1993 UTC (30 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.8: +46 -6 lines
Diff to previous 1.8 (colored) to selected 1.96 (colored)

Added single suffix implicit rules.  Rules for *.c & *.f files are required
by POSIX.2 --- I added the others (*.p, *.l, *.y, etc.) to be consistant
with all the other default rules.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 8 13:13:46 1993 UTC (30 years, 7 months ago) by brezak
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) to selected 1.96 (colored)

Add .S.o rule

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 15 21:09:22 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.96 (colored)

Makefile: Use `install -d' to create directory.
bsd.dep.mk: Add defaults for `beforedepend' and `afterdepend'.
sys.mk: 8 tabs --> space

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 15 20:42:45 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored) to selected 1.96 (colored)

Move man rules to sys.mk.
Use bsd.subdir.mk for building subdirectories.
Don't forget to remove x.cc and x.C when using SHAREDSTRINGS.
Make ${PROG} always depend on ${LIBCRT0}.
Don't duplicate code between cleandir and clean.
Move tags target to bsd.dep.mk.
Move STRIP to bsd.own.mk.
Remove redundant definitions of {BIN,MAN}{DIR,GRP,OWN,MODE}.
Move {LIB,DOC}{DIR,GRP,OWN,MODE} defaults to bsd.own.mk.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 17 12:29:22 1993 UTC (30 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.4: +1 -4 lines
Diff to previous 1.4 (colored) to selected 1.96 (colored)

Combine some suffix rules.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 17 12:09:58 1993 UTC (30 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +9 -3 lines
Diff to previous 1.3 (colored) to selected 1.96 (colored)

Add suffix rules for C++ files.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 17 03:48:59 1993 UTC (30 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +3 -0 lines
Diff to previous 1.2 (colored) to selected 1.96 (colored)

Add global CXX and CXXFLAGS for compiling C++ programs.  (These names are used
by some GNU stuff; if you have a better suggestion, please tell me.)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 9 20:06:02 1993 UTC (31 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored) to selected 1.96 (colored)

various changes to default make rules.  from patch 101.
note that only the "sensible" changes in patch 101 are implemented.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.96 (colored)

Initial revision

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>