Skip site navigation (1)Skip section navigation (2)

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

[BACK] Up to [FreeBSD] / src / share / mk

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Nov 29 16:34:44 2011 UTC (2 months, 1 week ago) by fjoe
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +19 -63 lines
SVN rev 228137 on 2011-11-29 16:34:44Z by fjoe

- fix WITH_CTF when specified in /etc/src.conf [1]
- CTFCONVERT_CMD=... is a hack (should be defined to empty string instead):
make(1) should be taught to ignore empty commands silently in compat mode
(as it does in !compat mode, GNU make also silently ignores empty commands)
and to skip printing empty commands in !compat mode
- config(8) should generate ${NORMAL_CTFCONVERT} invocation without '@':
this will allow to simplify kern.pre.mk even more and lessen the number
of shell invocations during kernel build when CTF is turned off
- WITH_CTF can now be converted to usual MK_CTF=yes/no infrastructure

Pointy hat to:	fjoe [1]

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Nov 29 08:38:47 2011 UTC (2 months, 1 week ago) by fjoe
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +57 -57 lines
SVN rev 228124 on 2011-11-29 08:38:47Z by fjoe

Conditionalize ctfconvert/ctfmerge runs on make level (.if/.endif) instead
of executing a shell on every object or executable/library file.

This shaves off more than 30,000 shell invocations during buildworld.

Revision 1.114.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.114.2.1: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Jan 7 20:26:33 2011 UTC (13 months ago) by imp
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +1 -1 lines
SVN rev 217123 on 2011-01-07 20:26:33Z by imp

Retire TARGET_ABI.

Implement MACHINE_ARCH=mips64e[lb] to build N64 images.  This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs.  I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could.  Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Jan 7 14:32:29 2011 UTC (13 months ago) by kib
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -2 lines
SVN rev 217100 on 2011-01-07 14:32:29Z by kib

Introduce make variable ACFLAGS used to supply additional flags to
cc driver when compiling assembler source file that is preprocessed.

Revision 1.92.2.3.8.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.92.2.3: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.3: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.102.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.102.2.1: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Nov 11 23:00:37 2010 UTC (14 months, 4 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +5 -5 lines
SVN rev 215149 on 2010-11-11 23:00:37Z by dim

Fix typo, and re-wrap paragraph.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Sep 10 16:19:58 2010 UTC (16 months, 4 weeks ago) by rpaulo
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +1 -0 lines
SVN rev 212422 on 2010-09-10 16:19:58Z by rpaulo

Add the DTRACE variable that points to the executable.

Sponsored by:	The FreeBSD Foundation

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Aug 12 20:46:49 2010 UTC (17 months, 4 weeks ago) by will
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -2 lines
SVN rev 211243 on 2010-08-12 20:46:49Z by will

Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time.

Reviewed by:	imp
Approved by:	ken (mentor)

Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Jul 30 08:52:19 2010 UTC (18 months, 1 week ago) by rpaulo
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +38 -38 lines
SVN rev 210636 on 2010-07-30 08:52:19Z by rpaulo

Fix previous commit: I forgot to include parenthesis.

Submitted by:	anonymous

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Jul 29 16:30:27 2010 UTC (18 months, 1 week ago) by rpaulo
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +57 -19 lines
SVN rev 210612 on 2010-07-29 16:30:27Z by rpaulo

When building WITH_CTF=1, print the ctf executable that's going to be
run. This makes the 'ctfconvert' and 'ctfmerge' programs show up during
a build when compiling a kernel, a library or a program.

Sponsored by:	The FreeBSD Foundation

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Jul 10 02:32:50 2010 UTC (19 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -1 lines
SVN rev 209868 on 2010-07-10 02:32:50Z by nwhitehorn

Minor modifications to know what to do with powerpc64.

Revision 1.102.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.102.2.1: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Jun 11 02:43:36 2010 UTC (20 months ago) by imp
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +13 -1 lines
SVN rev 209024 on 2010-06-11 02:43:36Z by imp

Merge from tbemd branch:

Introduce MACHINE_CPUARCH.  Many different MACHINE_ARCHs will be built
from one MACHINE_CPUARCH.  This will allow us to move to a more
standard MACHINE_ARCH for mips and arm which exist in many different
endian variants, and for powerpc where both 32 and 64 bit binaries are
generated from the same sources.

Reviewed by:	arch@ (mostly silence though)

Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Apr 2 06:55:31 2010 UTC (22 months, 1 week ago) by netchild
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +22 -60 lines
SVN rev 206082 on 2010-04-02 06:55:31Z by netchild

WITH_CTF can now be specified in src.conf (not recommended, there
are some problems with static executables), make.conf (would also
affect ports which do not use GNU make and do not override the
compile targets) or in the kernel config (via "makeoptions
WITH_CTF=yes").

Additional (related) changes:
 - propagate WITH_CTF to module builds
 - do not add -g to the linker flags, it's a noop there anyway
   (at least according to the man page of ld)
 - do not add -g to CFLAGS unconditionally
   we need to have a look if it is really needed (IMO not) or if there
   is a way to add it only when WITH_CTF is used

Note: ctfconvert / ctfmerge lines will not appear in the build output,
to protect the innocent (those which do not build with WITH_CTF would
see the shell-test and may think WITH_CTF is used).

Reviewed by:	imp, jhb, scottl (earlier version)
Discussed on:	arch@

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Feb 18 01:44:48 2010 UTC (23 months, 3 weeks ago) by marcel
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -1 lines
SVN rev 204024 on 2010-02-18 01:44:48Z by marcel

Unbreak WARNS=6 builds for C++ code: -Wold-style-definition is not accepted
by the C++ compiler. Filter it out.

Revision 1.92.2.3.6.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.92.2.3: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.3: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Jan 22 14:05:48 2010 UTC (2 years ago) by sepotvin
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -0 lines
SVN rev 202807 on 2010-01-22 14:05:48Z by sepotvin

Introduce two new flags PO_CFLAGS and PO_CXXFLAGS to make it possible
to have different flags when building profiled objects.

MFC after:	1 month

Revision 1.102.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.102.2.1: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.92.2.3.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.92.2.3: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.3: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.92.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.92.2.3: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.3: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.86.2.2.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.86.2.2: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.2: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 27 04:41:15 2008 UTC (3 years, 5 months ago) by jb
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.92.2.2: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +76 -0 lines
SVN rev 182231 on 2008-08-27 04:41:15Z by jb

MFC

DTrace support.

Note that this defaults the 'make buildkernel' to build with CTF data so
that the release kernel and modules are DTrace-able.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu May 22 01:14:43 2008 UTC (3 years, 8 months ago) by jb
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +76 -0 lines
Add support for the Compact C Type (CTF) conversions throughout FreeBSD's
system makefiles.

Note that the CTF conversion defaults to off. We may choose to change this
default later if DTrace proves popular and people are prepared to wear
the compilation performance impact of compiling with debug symbols all the
time.

Setting NO_CTF in the make args or user environment turns off CTF conversion.
Even if we choose to default CTF generation to on later, we still need
NO_CTF so that the buildworld process can bootstrap the tools without
needlessly generating CTF data for temporary tools.

Setting WITH_CTF in the make args or user environment (and _NOT_ in
/etc/make.conf) is the only way to enable CTF data conversion. Nore that
this can't be implemented the same way that the WITH_ and WITHOUT_ stuff
is implemented throughout the buildworld because the CTF conversion needs
to work when building a simple object without a Makefile, using the
default rules in sys.mk.

Typing 'make test.o' with no makefile and just a source file test.c
should work. Also, typing 'make WITH_CTF=1 test.o without a makefile and
just a source file test.c should work and produce an object with a CTF
elf section. Typing 'make WITH_CTF=1 CFLAGS=-g test.o' without a makefile
and just a source file test.c should produce an object with both a CTF
elf section and the debug elf sections.

In the FreeBSD build where more .mk files are used than just sys.mk
which is included my make by default, the use of DEBUG_FLAGS is the
correct way to enable a debug build. The important thing to note here
is that it is the DEBUG_FLAGS setting that prevents libraries and
programs from being stripped on installation. So, for the addition of
CTF data conversion, setting DEBUG_FLAGS to contain -g, without NO_CTF,
will cause the ctfconvert and ctfmerge build programs to be executed
also with the -g arg so that debug symbols are retained rather than
being removed after the CTF data elf section has been added.

Add DTrace libraries to the list of libnames.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Apr 4 21:12:40 2008 UTC (3 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -1 lines
MFp4 (mips2-jnpr):
o Default to -O on mips as well as arm.  -O2 has been strongly implicated
  in many problems in the past, so we're taking a conservative approach
  until the problems are well understood.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Apr 2 17:24:22 2008 UTC (3 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
PR ports/121363 (& ports/73797) has been committed, so we can now go back
to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS.

This makes the default CFLAGS to match the simple defaults that the
tinderboxes use.  By using -fno-strict-aliasing by default we are
choosing to ignore problems in code which had the potential to
shoot ourselves in the foot.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Mar 4 20:26:03 2008 UTC (3 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
Temporarily back out revision 1.98 to give Portmgr some time to
address PR ports/121363 (current day re-opening of PR ports/73797)
to make ports CFLAGS more independent of src/'s CFLAGS WRT aliasing.

Discussed with: brooks

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Mar 4 19:00:11 2008 UTC (3 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -2 lines
Back out revision 1.97, which backed out part of revision 1.96.
Change the default CFLAGS to match the simple defaults that the
tinderboxes use.  By using -fno-strict-aliasing by default we are
choosing to ignore problems in code which had the potential to
shoot ourselves in the foot.

Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 24 13:33:00 2008 UTC (4 years ago) by ru
Branches: RELENG_7
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.1: +1 -1 lines
MFC: 1.95: Weed out a warning argument that isn't applicable to C++ code.

Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 2 13:24:43 2007 UTC (4 years, 2 months ago) by cognet
Branches: RELENG_7
CVS tags: RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -0 lines
MFC rev 1.94:
date: 2007/11/05 23:08:34;  author: cognet;  state: Exp;  lines: +4 -0
Switch arm to -O until the -O2 issues are resolved.

Approved by:	re (kensmith)

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Nov 26 21:46:21 2007 UTC (4 years, 2 months ago) by jb
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
Although the entire src tree builds cleanly now without -fno-strict-aliasing
in the default CFLAGS, we're in the middle of a ports freeze, so we can't
really go making the corresponding change to the ports mk files.

I'll take -fno-strict-aliasing out again when the ports freeze ends.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Nov 22 23:21:12 2007 UTC (4 years, 2 months ago) by jb
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -2 lines
Re-enable -Werror again.

This time, change the default CFLAGS to match the simple defaults that
the tinderboxes use. That is, don't use -fno-strict-aliasing by default.

My last attempt to re-anable -Werror gave me a lesson in what strict
aliasing is all about. There was code in libthr that wasn't 64-bit clean.
The default use of -fno-strict-aliasing hid that.

By using -fno-strict-aliasing by default we were choosing to ignore
problems in code which had the potential to shoot ourselves in the
foot. Sometimes it would be the 64-bit foot. I have both feet. The left
ones are 32 bits and the right ones are 64 bits. Don't ask about my
endian orientation. :-)

The -fno-strict-aliasing compiler arg can still be used if NO_STRING_ALIASING
is define in make.

We are early in the FreeBSD 8 development, so we have the opportunity to
wait and see if this works for us. I am sure that people will complain.
We can easily revert this. All I ask is that we take sides: clean code or
not. YMMV.

Note that by using -fno-strict-aliasing the build won't actually break.
Only where WARNS is set (and -Werror is used) will a compiler warning break
the build. The use of WARNS levels implies (to me at least) that the
developer has taken some care to make the code pass basic checks. This
commit makes those checks just a little bit more strict.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Nov 19 09:01:58 2007 UTC (4 years, 2 months ago) by jb
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -1 lines
Weed out a warning argument that isn't applicable to C++ code.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Nov 5 23:08:34 2007 UTC (4 years, 3 months ago) by cognet
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -0 lines
Switch arm to -O until the -O2 issues are resolved.

MFC After:	3 days

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Oct 27 18:40:34 2007 UTC (4 years, 3 months ago) by yar
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -0 lines
Allow the shell used by make(1) to be changed early via the
__MAKE_SHELL variable.  This feature isn't supposed to be in wide
use, but it's needed now to make `installworld' independent of the
stock binaries and libs so that radical ABI changes can go in safely.

Reviewed by:	ru

Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Aug 14 13:44:08 2007 UTC (4 years, 5 months ago) by delphij
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -1 lines
Restore -O2 optimization after gcc 4.2.1 import, which has
fixed the issue raised by gcc 4.2.0.

Tested with:	test case found in gcc bug 32500
Approved by:	re (kensmith), ache, kan

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jul 1 11:51:06 2007 UTC (4 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +1 -1 lines
Switch to "-O1 -pipe" as cross-build compatible gcc workaround.

"Looks like Alexander chimed in with "I'm comfortable with that until we
can import a fixed GCC"."

Approved by:	re (kensmith)

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jun 28 09:25:47 2007 UTC (4 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -1 lines
Back out gcc workaround per re@ request. Details:
"There seems to be some continuing discussion about how this is best fixed,
and we'd like to get Alexander (as our gcc guru) to opine on a final
solution before picking one.  In the mean time, could you back out the
original commit (sys.mk:1.89)?"

Approved by:	re (rwatson)

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Jun 26 19:10:20 2007 UTC (4 years, 7 months ago) by ache
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -1 lines
This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the rest
of the loop when arrays used inside.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500

Approved by:    re (kensmith)

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 14 12:05:54 2006 UTC (5 years, 2 months ago) by lesi
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Branch point for: RELENG_6_4
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +0 -2 lines
MFC 1.88: Remove X11BASE from here.

Approved by:	re (hrs)

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Oct 6 23:32:23 2006 UTC (5 years, 4 months ago) by lesi
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +0 -2 lines
Remove X11BASE from here so the one from bsd.port.mk has a chance to set
default. Grepping through src shows only gnu/usr.bin/groff which doesn't
use it in src build and OpenSSH for which this was a NOOP.

Discussed with:	des, ru
Approved by:	ru

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 16 08:12:03 2005 UTC (6 years, 2 months ago) by ru
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -7 lines
MFC: 1.87: Drop outdated check.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Sep 28 08:17:30 2005 UTC (6 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -7 lines
We bootstrap make(1) if necessary during an upgrade, so checking
if MACHINE_ARCH is defined is no longer needed.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Apr 29 14:44:10 2005 UTC (6 years, 9 months ago) by harti
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -0 lines
Toggle on warnings. This resolves the problem with building old releases
(getting zillions of warnings). Building an old release uses that release's
sys.mk which does not switch on these warnings, so make will be silent.
They can be switch on on the command line with the -x option to make.
This has been tested by building RELENG_5_4 on CURRENT.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Apr 28 23:29:00 2005 UTC (6 years, 9 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +0 -5 lines
IPFIlter problems that prevented building should all now be resolved so
remove this temporary measure.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Apr 27 14:13:55 2005 UTC (6 years, 9 months ago) by scottl
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -0 lines
Disable the IPFILTER bits until they compile again.  This can be overriden
by adding WANT_IPFILTER to /etc/make.conf.  Note that this is only a partial
hack and only works when building the world and kernel the 'sanctioned' way.
I hope that this hack is only temporary and can be reverted soon.

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 14 00:05:58 2005 UTC (6 years, 11 months ago) by obrien
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +1 -0 lines
MFC: infrastructure for the very dreaded NOFOO -> NO_FOO.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Dec 23 08:51:50 2004 UTC (7 years, 1 month ago) by ru
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -0 lines
Include bsd.compat.mk early from sys.mk, enough for makefiles
using conditional statements to see the new spellings of NO_*
knobs (in case user still uses old spellings).

Reported by:	kris

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Nov 11 01:09:56 2004 UTC (7 years, 3 months ago) by obrien
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -1 lines
Compiling with 'strict-aliasing' optimization breaks some [notable] ports.
GCC turns on 'strict-aliasing' optimization at all levels above -O[1], so
explicitly turn it off when using compiling with the -O2 optimization level.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Oct 25 20:04:50 2004 UTC (7 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -1 lines
Switch the default CFLAGS to -O2 -pipe.

Submitted by:	obrien

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Aug 9 10:54:05 2004 UTC (7 years, 6 months ago) by harti
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -0 lines
Use the '+' flag to make make recurse into sub-directories even when
given -n. For POLA reasons this behaviour is switched on only when
at least two -n flags are given to make. One -n flag keeps the old behaviour
of showing the shell command that would recurse into the sub-directories.

Discussed with: ru

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed May 12 22:53:52 2004 UTC (7 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -4 lines
Moved FreeBSD build pollution (/etc/make.conf) and zombie aout support
(OBJFORMAT) into a non-POSIX section.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed May 12 21:51:11 2004 UTC (7 years, 9 months ago) by bde
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +0 -5 lines
Removed conditional include of /etc/make.conf.local and the error for the
existence of this file.  This stopped working more than 4 years ago when
the generation of the error was added in rev.1.44.  The .error directive
gives fatal errors, so stale /etc/make.conf.local files must have been
gone away more than 4 years on systems where make(1) works.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon May 10 12:14:18 2004 UTC (7 years, 9 months ago) by des
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -1 lines
-W{missing,strict}-prototypes do not make sense for C++, and gcc34 will
complain about them, so remove them from CXXFLAGS.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Apr 20 15:16:07 2004 UTC (7 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +1 -1 lines
g++(1) is unhappy with -Wnested-externs.

Prodded by:	des

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Feb 4 14:40:44 2004 UTC (8 years ago) by bde
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1 lines
Fixed breakage of POSIX support in rev.1.31.  -pipe was added to
CFLAGS in all cases, but POSIX requires a default of -O.  Adding
-pipe unconditionally still is still broken for non-gcc compilers
in the non-POSIX case.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Feb 3 09:40:11 2004 UTC (8 years ago) by ru
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -1 lines
A shorter version of keeping all -std= options out of CXXFLAGS.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Jan 27 23:22:15 2004 UTC (8 years ago) by ru
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -1 lines
Fixed bogus ${FOO:Mbar} tests where the actual intent is to check
if the result set is empty.  While here, replaced non-bogus empty
string comparisons with equivalent empty() checks.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Oct 3 20:47:37 2003 UTC (8 years, 4 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +0 -2 lines
Removed the ancient .LIBS setting that causes non-existent
libraries to be reported as up-to-date.

Before:

# make -f /dev/null nonexistent.a
`nonexistent.a' is up to date.

After:

# make -f /dev/null nonexistent.a
make: don't know how to make nonexistent.a. Stop

PR:		bin/44137 (part of)

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Sep 26 17:49:25 2003 UTC (8 years, 4 months ago) by markm
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -0 lines
Separate out userland linting and kernel linting a bit more. This
make things a bit easier for folks using lints other than the
"base" lint.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:03:28 2003 UTC (8 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -2 lines
Don't trust sys.mk,v 1.61 commit log, and make .asm alias for .S.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jul 1 15:15:45 2003 UTC (8 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -1 lines
There's no reason to keep separate AINC knob anymore.
The only real use of it (lib/libc/Makefile) has been
fixed, and if necessary, the contents of AINC should
be added to CFLAGS.

Explained by:	bde

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jun 30 20:02:46 2003 UTC (8 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -1 lines
Propagate the ${AINC} knob (assembler include) to sys.mk,
and remove the .S.o transformation rule from bsd.lib.mk.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jun 1 22:13:45 2003 UTC (8 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -1 lines
Use a bigger hammer -- keep all -std= out of CXXFLAGS.
Also allow for "CSTD=" in a Makefile.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Apr 22 11:04:25 2003 UTC (8 years, 9 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -1 lines
Axe CXXINCLUDES from CXXFLAGS, it serves no useful purpose anymore.

Reviewed by:	bde

Revision 1.45.2.6: download - view: text, markup, annotated - select for diffs
Mon Dec 23 16:33:37 2002 UTC (9 years, 1 month ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.45.2.5: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.5: +0 -4 lines
MFC: Added the new variable CTAGS which, if set to "ctags",
reverts to creating the tags file using ctags(1).  Defaults
to "gtags".  Made GTAGSFLAGS and HTAGSFLAGS overrideable,
added CTAGSFLAGS.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Oct 17 13:48:13 2002 UTC (9 years, 3 months ago) by ru
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +0 -4 lines
Added the new variable CTAGS which, if set to "ctags", reverts
to creating the tags file using ctags(1).  Defaults to "gtags".
Made GTAGSFLAGS and HTAGSFLAGS overrideable, added CTAGSFLAGS.
Folded bsd.prog.mk version of `tags' into bsd.dep.mk.

PR:		bin/42852

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Sep 20 19:32:51 2002 UTC (9 years, 4 months ago) by markm
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -0 lines
Extend the lint handling a bit.

o Make it possible to prevent parts of the tree from being linted
  (say) during a 'make world' by setting NOLINT in a leaf Makefile.

o Make "make lint" work (better) for executable programs.

o Clean up (nuke!) a syntax damaged pipeline.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Sep 17 01:48:54 2002 UTC (9 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -9 lines
Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha

Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Wed Jul 17 19:08:23 2002 UTC (9 years, 6 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.45.2.4: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.4: +10 -1 lines
MFC: bsd.init.mk, don't include bsd.own.mk from sys.mk, assorted fixes.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Sun May 19 04:33:08 2002 UTC (9 years, 8 months ago) by imp
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.3: +4 -3 lines
MFC: __MAKE_CONF functionality.

Note: Maybe we need to gut out the /etc/defaults/make.conf stuff, but that
wasn't approved.

Approved by:	re

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Apr 22 08:56:34 2002 UTC (9 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -4 lines
Make .asm transformation rules synonyms to the .s rules.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Apr 19 18:01:03 2002 UTC (9 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -1 lines
Add .asm as an alias for .s.  .asm is common in contribed sources.

Helps with:	gcc31 build.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Apr 17 13:49:29 2002 UTC (9 years, 9 months ago) by ru
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -1 lines
Don't include bsd.own.mk from sys.mk, this makes it impossible
to use ``.if defined()'' inside bsd.own.mk to test for defines
in individual makefiles.  For example, setting DEBUG_FLAGS in
Makefile didn't take the desired effect on the STRIP assignment.

Added bsd.init.mk (like in NetBSD) that handles the inclusion
of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that
"build something".

Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back
to sys.mk (several source tree makefiles want to check it early)
and removed MACHINE_ARCH initialization (it's hard to see from
looking at the commitlogs what the problem was at the time, but
now it serves no purpose).

Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk.

Protect bsd.obj.mk from repetitive inclusion.  Prohibiting the
direct inclusion of bsd.obj.mk might be a good idea too.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Mar 20 18:25:48 2002 UTC (9 years, 10 months ago) by ru
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -1 lines
Make lint(1) a cross-tool.

(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Mar 18 07:39:27 2002 UTC (9 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
__MAKE_CONF?=/etc/make.conf
Use this where we are now using /etc/make.conf.

This allows people to override the current default of always including
/etc/make.conf.  Setting __MAKE_CONF to /dev/null disables it
completely, while setting it to something else allows one to override
what is on the system.  This can be desirable in situations where a
machine has many users and some of them want different defaults, or
defaults appropriate to cross building to be different than those for
normal building.

Not objected to by: arch@

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Mar 17 10:05:57 2002 UTC (9 years, 10 months ago) by markm
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -2 lines
Allow "make lint" to mostly work. Our sources are very unclean WRT
lint, so this is turned off by default. Setting WANT_LINT will turn
on generation of lint libraries for /usr/libdata/lint/*.ln.

Reviewd by:	silence in -audit.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Aug 31 12:20:43 2001 UTC (10 years, 5 months ago) by alex
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -5 lines
Final way:  Don't include /etc/defaults/make.conf at all.  It wasn't
supposed to be edited by the user and didn't define important things,
thus we can just skip it (that's where it differs from the make.conf.local
change).

Submitted by:	ru

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Aug 31 11:18:24 2001 UTC (10 years, 5 months ago) by alex
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -2 lines
Don't .error, if /etc/defaults/make.conf exists.  This breaks -CURRENT
buildworlds on a -STABLE machine.

Reminded by:	ru

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Aug 30 22:44:51 2001 UTC (10 years, 5 months ago) by alex
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -2 lines
Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 1 17:12:35 2001 UTC (10 years, 6 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +11 -4 lines
MFC: revs 1.51,2 (add single suffix rules for C++ and FORTRAN)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jun 16 07:27:23 2001 UTC (10 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 lines
Add the ".FreeBSD" symbol so we can do things like ".if define(.FreeBSD)"
in Makefile's shared with NetBSD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 6 16:58:08 2001 UTC (10 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -1 lines
Add the single suffix rules for FORTRAN.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jun 6 16:51:38 2001 UTC (10 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +7 -4 lines
Add the single suffix rules for C++.
(While there, I also moved the single suffix C rules beside the double
suffix ones so they are easier to find)

PR:		24438
Submitted by:	Georg-W. Koltermann <gwk@sgi.com>

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 4 09:40:33 2001 UTC (10 years, 11 months ago) by kris
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +3 -1 lines
MFC: CPUTYPE infrastructure, modulo IA64 support

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 22 11:14:25 2001 UTC (10 years, 11 months ago) by kris
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -11 lines
Overhaul the MACHINE_CPU behaviour:

* Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk>
  after we pull in /etc/make.conf.  We need to do it afterwards so we can
  react to the user setting of the:

* CPUTYPE variable, which contains the CPU type which the user wants to
  optimize for.  For example, if you want your binaries to only run on an
  i686-class machine (or higher), set this to i686.  If you want to support
  running binaries on a variety of CPU generations, set this to the lowest
  common denominator.  Supported values are listed in make.conf.

* bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the
  (hopefully) correct unordered list of CPU types which should be used on
  that CPU.  For example, an AMD k6 CPU wants any of the following:
    k6 k5 i586 i486 i386
  This is still an unordered list so the client makefile logic is simple -
  client makefiles need to test for the various elements of the set in
  decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before.
  The various MACHINE_CPU lists are believed to be correct, but should be
  checked.

* If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization
  settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc).  Release
  builders and developers of third-party software need to make sure not to
  enable CPU-specific optimization when generating code intended to be
  portable.  We probably need to move to an /etc/world.conf to allow the
  optimization stuff to be applied separately to world/kernel and external
  compilations, but it's not any worse a problem than it was before.

* Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE.

* Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc
  (only i386, alpha and ia64 first, since those are the minimally-working
  ports.  Other architecture porters, please feel free to add the relevant
  gunk for your platform).

Reviewed by:    jhb, obrien

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Feb 20 08:37:51 2001 UTC (10 years, 11 months ago) by kris
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -1 lines
Turns out we do need to do bootstrapping of MACHINE_CPU here: make(1) won't
set the variable until you rebuild it, and the alternative is to be stuck
playing games with ``.if defined(MACHINE_CPU) && ... '' for all eternity.
We now set up the reasonable default for i386 and alpha here -- given this
it probably makes sense to remove the corresponding code from make(1).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Feb 19 23:33:13 2001 UTC (10 years, 11 months ago) by kris
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -4 lines
Remove bogus setting of MACHINE_CPU here.  There is no need for it.

Submitted by:	bde

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Feb 19 03:59:05 2001 UTC (10 years, 11 months ago) by kris
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2 lines
Introduce support for using OpenSSL ASM optimizations.  This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 8 07:11:22 2000 UTC (11 years, 8 months ago) by kris
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
MFC: Typo

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 8 07:10:43 2000 UTC (11 years, 8 months ago) by kris
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +2 -2 lines
MFC: typo

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 21 23:51:58 2000 UTC (11 years, 9 months ago) by kris
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Correct a typo

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 27 19:24:49 1999 UTC (12 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -1 lines
    make.conf is being made to conform to the /etc/defaults/ standard that
    was settled on a few months ago.

Approved by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>

Revision 1.9.4.5: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:28:43 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_1_0
Diff to: previous 1.9.4.4: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.4: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.16.2.6: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:27:19 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.16.2.5: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.5: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:47:48 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:21:50 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.16.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 5 06:49:17 1999 UTC (13 years, 1 month ago) by asami
Branches: RELENG_2_2
Diff to: previous 1.16.2.4: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.4: +8 -1 lines
Merge part of 1.28 (default MACHINE_ARCH).  This is required for making
alpha ports compatible with 2.2-i386 without .if defined() spaghetti.

Discussed with:	simokawa

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Sep 15 05:24:01 1998 UTC (13 years, 4 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3_0_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -11 lines
Revert to rev 1.41.
Some didn't like it.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Sep 14 09:22:04 1998 UTC (13 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -10 lines
Add ${RM} for compatability with SunOS.
Many use ${RM} in their ``clean'' targets.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Aug 29 01:30:13 1998 UTC (13 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -1 lines
    add support for /etc/make.conf.local

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Aug 8 02:08:37 1998 UTC (13 years, 6 months ago) by jb
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -6 lines
Remove the alpha specific __NETBSD_SYSCALLS from CFLAGS. This can still
be added in /etc/make.conf. Yes folks, the alpha kernel is coming to
a screen (and hopefully a disk) near you. Thanks to Doug.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:28:14 1998 UTC (13 years, 6 months ago) by bde
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -9 lines
Fixed building -current under 2.2.6 using `make world'.  Moved some
recently added definitions from sys.mk to bsd.own.mk.  Include the
src-relative bsd.own.mk in src/Makefile to pick up all new definitions.
Don't check that MACHINE_ARCH is defined in src/Makefile, since it is
(and should have been) guaranteed to be defined.

Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 14 16:10:49 1998 UTC (13 years, 7 months ago) by steve
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE
Diff to: previous 1.16.2.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.3: +3 -3 lines
MFC: Allow .cpp extension for C++ files.

PR:		6913
Submitted by:	Greg Moncreaff <moncrg@bt340707.res.ray.com>

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jun 12 10:52:52 1998 UTC (13 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
Move bsd.own.mk after make.conf, this allows BINFORMAT to be set in
/etc/make.conf - it changes LIBDIR in bsd.own.mk.  Note that there are
still problems with this, individual Makefiles cannot override BINFORMAT.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jun 5 18:38:55 1998 UTC (13 years, 8 months ago) by dt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Recognize ".cpp" as a C++ suffix.

PR:		3476

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jun 3 22:07:26 1998 UTC (13 years, 8 months ago) by jb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -3 lines
Fix my last commit which got caught in the cvs/cvsup cycle.
I'm told that I botched the tabs too. I'm not sure they are fixed now
because I find that rather tedious.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jun 3 08:51:39 1998 UTC (13 years, 8 months ago) by jb
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -1 lines
Uh, the NetBSD syscall define spam for alpha has to go after /etc/make.conf
so that it works all the time.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jun 3 08:07:31 1998 UTC (13 years, 8 months ago) by jb
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
In the case of alpha (only), more than just libc needs to know that
NetBSD syscalls are being used, so spam all compiles with the define
that indicates this.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri May 15 09:34:48 1998 UTC (13 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -1 lines
Oops, forgot references in previous commit.

Submitted by:	Brian Cully <shmit@erols.com>
PR:		6178

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri May 15 09:30:13 1998 UTC (13 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -2 lines
Support Objective C almost as well as C++.

Notes:
- We no longer use -fgnu-runtime in bsd.lib.mk, since it is the default
  and bsd.lib.mk is the wrong place to override it.
- Gnu C doesn't have a special compiler driver for Objective C like it
  does for C++.  The defaults are suitable for Gnu C.  Use `OBJCLIBS='
  in /etc/make.conf for POC.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 1 11:36:59 1998 UTC (13 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Add -pipe to default CFLAGS.  The optimization it provides is cheap
and does not require any special action on the part of the user to
take advantage of it.  And no, it probably won't work with c89. Cry me
a river!

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 23 14:58:30 1998 UTC (13 years, 10 months ago) by eivind
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Support new version of global.

Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
Tested by:	make buildworld

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Feb 20 15:27:03 1998 UTC (13 years, 11 months ago) by bde
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Don't pass the undocumented flags `-se' to gtags (gtags ignores them for
compatibility).

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jan 21 01:03:51 1998 UTC (14 years ago) by jb
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +9 -2 lines
FreeBSD's make knows about the MACHINE, but not the MACHINE_ARCH unless
it is built with this defined (which it isn't by default). This change
to sys.mk treats the absence of MACHINE_ARCH as i386 on the assumption
that it will be appropriately defined (as something else) on any other
architecture. When building FreeBSD's make with NetBSD tools, both
MACHINE and MACHINE_ARCH are correctly set (e.g. when bootstrapping
FreeBSD's make on NetBSD/mvme68k, MACHINE=mvme68k and
MACHINE_ARCH=m68k). This isn't really needed for the alpha which
has both defined as 'alpha', but I thought it was worth getting the
distinction between a MACHINE and a MACHINE_ARCH correct now.

Now, shouldn't PC98 have MACHINE=pc98 and MACHINE_ARCH=i386 ??!!

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jan 13 06:00:54 1998 UTC (14 years, 1 month ago) by jb
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -1 lines
Choose the default binary format based on machine type.
Alpha is elf, not aout.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Sep 5 11:45:15 1997 UTC (14 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -1 lines
Restore the BINFORMAT?= in sys.mk, or it's painfully difficult to use
.if in Makefiles.  bsd.prog.mk and bsd.lib.mk do not depend on it however.

Allow overriding of the -soname arg when building the lib*crypt.so* libs
since libdescrypt.so and libscrupt.so both need a -soname of libcrypt.so
so that the symlink is obeyed at runtime rather than at compile time.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Sep 5 09:09:56 1997 UTC (14 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -4 lines
Change the BINFORMAT definitions so that they do not depend on sys.mk,
since 2.1.x make(1) apparently does not have the -m switch to set both
the the bsd.*.mk and sys.mk location, and this breaks 'make world' from a
2.1.x system.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Aug 30 23:23:18 1997 UTC (14 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -1 lines
A first cut at some rules for building elf shared libs.  Of particular
note, using "-Wl,-f" to generate a library objects list doesn't work
anymore since the hack to ld hasn't been incorporated into binutils-2.8.
(and the -f switch is used for something else already)

This is disabled by default, don't panic! :-)

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Sun Apr 20 20:16:13 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_6_RELEASE, RELENG_2_2_5_RELEASE, RELENG_2_2_2_RELEASE
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.2: +5 -1 lines
Sync from -current; global tag support (it was actually tested in 2.2)
and some miscellaneous fixes.  Also bring in some fixes to the explanatory
text in bsd.port.mk since Satoshi never responded to my submission (and
around here, that == yes :-).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 13 06:44:25 1997 UTC (14 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -1 lines
Support GLOBAL style tags.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 22 13:56:15 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
Revert $FreeBSD$ to $Id$

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:33:32 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jan 12 04:01:25 1997 UTC (15 years, 1 month ago) by steve
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -2 lines
Revert changes to make the .y.c rule 'make -j n' safe.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jan 6 02:07:35 1997 UTC (15 years, 1 month ago) by steve
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -4 lines
Make the .y.c rule 'make -j n' friendly.

Inspired by: bde and brian@mediacity.com

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 10 11:55:32 1996 UTC (15 years, 3 months ago) by phk
Branches: RELENG_2_2
CVS tags: RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +15 -15 lines
Merge from -current

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Nov 7 01:46:47 1996 UTC (15 years, 3 months ago) by alex
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +15 -15 lines
Style changes: $(...) --> ${...}, consistent placement of -c.

Suggested by:	bde (via steve)

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 6 09:25:51 1996 UTC (15 years, 3 months ago) by phk
Branches: RELENG_2_2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +93 -1 lines
Merge from -current

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Nov 3 03:25:50 1996 UTC (15 years, 3 months ago) by steve
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +93 -1 lines
Add in POSIX 1003.2 mandated rules.  NOTE: these
will only be enabled when the first non-comment line
of the Makefile contains the .POSIX directive.

Submitted by: Joerg Wunsch <joerg@freebsd.org>

Revision 1.9.4.4: download - view: text, markup, annotated - select for diffs
Tue Jun 25 18:24:50 1996 UTC (15 years, 7 months ago) by bde
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE
Diff to: previous 1.9.4.3: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.3: +12 -15 lines
Merged from HEAD rev.1.11-1.12: enabled .c rule; added suffix and rule;
removed special sparc support; added ${LDFLAGS} to linker rules.

Enabling the .c rule fixes PR 1347.  The bugs in null suffix rules that
stopped this being enabled in 2.0.5R were fixed long before 2.1R.

Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Wed Jun 5 02:54:05 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.2: +14 -17 lines
This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jun 2 17:04:08 1996 UTC (15 years, 8 months ago) by phk
Branches: MAIN
CVS tags: RELENG_2_2_BP
Branch point for: RELENG_2_2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -8 lines
Back out yacc change.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 30 20:39:45 1996 UTC (15 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -12 lines
Make the yacc rules reentrant
Suggested by:	peter

Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Wed May 29 22:38:37 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +18 -15 lines
Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue May 28 16:20:13 1996 UTC (15 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -12 lines
Avoid a ton of "mv" when making libs by using -O to ld.
Make lex rules reentrant.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 9 13:01:44 1996 UTC (15 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -1 lines
Make some rules reentrant, and mark the onces that cannot be.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Mar 24 00:02:38 1996 UTC (15 years, 10 months ago) by wosch
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -6 lines
delete ``.if ${MACHINE} == "sparc"''

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 21 12:46:02 1995 UTC (16 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -10 lines
Add `.sh' suffix and rule.

Enable `.c' rule.  (Null suffix rules were disabled because of bugs in old
versions of make.)

Add ${LDFLAGS} to all rules that involve linking.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 18 23:50:42 1995 UTC (16 years, 5 months ago) by davidg
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_0_RELEASE
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Brought in change from rev 1.10: changed default optimization back to -O.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Aug 11 11:47:30 1995 UTC (16 years, 6 months ago) by davidg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Changed default optimization from -O2 back to -O...gcc 2.6.* has serious
bugs when using -O2.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 28 03:51:03 1994 UTC (17 years, 1 month ago) by ache
Branches: MAIN
CVS tags: RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5_ALPHA, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Move INSTALL?=install line duplicated into each .mk to sys.mk
instead

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Nov 7 04:18:04 1994 UTC (17 years, 3 months ago) by phk
Branches: MAIN
CVS tags: RELEASE_2_0, BETA_2_0, ALPHA_2_0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -5 lines
Update make.conf and sys.mk to reflect the most recent advances in
civilization:  Use -O2 and MSUN as default, and X11 is in /usr/X11R6

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Oct 2 05:12:46 1994 UTC (17 years, 4 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2 lines
Add .S to SUFFIXES and add .S.o: rule.
Submitted by:	bde

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Sep 7 06:52:25 1994 UTC (17 years, 5 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -3 lines
The .c: rule added by Bruce, but as yet unused, causes serious problems
for the 1.1.5 FreeBSD make.  For now just comment it out until a fix for
make can be found.

Reviewed by:	bde
Submitted by:	rgrimes

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 4 02:52:27 1994 UTC (17 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
Add an X11BASE variable that currently points to /usr/X386 but will
be easy to change to /usr/X11R6 if and when the time comes.  This is
to deal with things like xditview which otherwise had hardcoded assumptions
about where X lived.  Yuck.
Submitted by:	jkh

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 31 03:57:32 1994 UTC (17 years, 5 months ago) by paul
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Changed g++ to c++
Reviewed by:
Submitted by:

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 28 14:56:07 1994 UTC (17 years, 5 months ago) by bde
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +50 -30 lines
Recover improvements in 4.4lite version that were clobbered by the
previous commit:
+ Everything is initialized using ?= instead of =.
+ Nicer formatting (more white space).
+ .c: rule.

Add macros ECHO and ECHODIR.  Both are normally `echo', but when
the make flags include -s, ECHO is set to `true' and when the make
flags include two or more -s's ECHODIR is set to `true'.  @${ECHO}
should be used instead of @echo in most cases.  ${ECHODIR} is
intended to be used mainly for messages about directory names.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 4 21:09:27 1994 UTC (17 years, 6 months ago) by wollman
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +42 -37 lines
Spplat our 1.1.5 `mk' ifiles over the top of the 4.4 ones.  So far
as I can tell, this is ts the right thing to do.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 30 19:09:08 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: CSRG
CVS tags: bsd_44_lite
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
BSD 4.4 Lite Share Sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon May 30 19:09:07 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options