summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Use make(1) instead of a shell script to implement the checkdpadd target.bde2003-07-031-9/+7
| | | | | | | | | This is simpler, and is easy to do now that make(1) supports substituting regexps. Fixed missing '$' anchor in the regexp. Use less cryptic names for temporary variables. Submitted by: ru (early version) Reviewed by: ru
* Libraries come.ru2003-07-021-0/+1
|
* Sort.ru2003-07-021-1/+1
|
* Don't trust sys.mk,v 1.61 commit log, and make .asm alias for .S.ru2003-07-022-4/+14
|
* The .s files do not have to be preprocessed with cpp(1).ru2003-07-021-2/+2
|
* Revert to using as(1) to compile plain assembler source files.ru2003-07-021-9/+2
| | | | | | | | All .s files that need cpp(1) processing (see gcc(1) manpage's DESCRIPTION section) have been repo-copied to .S files. This is mostly to bring bsd.lib.mk in agreement with sys.mk. Desired by: obrien
* There's no reason to keep separate AINC knob anymore.ru2003-07-013-17/+8
| | | | | | | | 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
* Propagate the ${AINC} knob (assembler include) to sys.mk,ru2003-06-302-4/+1
| | | | and remove the .S.o transformation rule from bsd.lib.mk.
* Removed suffix-transformation rules that are duplicatesru2003-06-301-20/+0
| | | | (or are subsets) of the corresponding rules in sys.mk.
* The use of ld(1) to strip compiler local and non-globalru2003-06-301-36/+0
| | | | | | | | | | | | | | | | | | | symbols from object files has bitrotted over the last thirteen years, and it now does more harm than good. An attempt to work around the problems caused by using ld(1) for stripping was to pass LDFLAGS to the ld(1) command, but this was not right either as ${LDFLAGS} should, by design, be used with cc(1) and not ld(1). One of the proposed solutions was to use the objcopy(1) utility to do the strip work, and the other would be to use strip(1), but Bruce Evans suggested not stripping any symbols at all. This works by leaving the grunt work to the final strip(1) command (when installing the binary). Submitted by: bde
* Add ${CRUNCH_CFLAGS} support for adding compile options to crunchgordon2003-06-292-0/+3
| | | | | | | components. This is generally considered a non-optimal solution but it gets the job done for the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
* Be consistent about the use of ${LDFLAGS} for the internal rules. Somepeter2003-06-261-10/+10
| | | | | were missing. This made it difficult to add backend ABI overrides when building shared libs.
* Put on the core hat and back out all of the CSTD= changes. Core willimp2003-06-141-14/+0
| | | | | | | deal with working with the parties to define a coherent definition for CSTD that doesn't break things. Core hat seconded by: markm
* Revert to a known-good state. Anyone desiring to experiment with stricterdes2003-06-141-23/+9
| | | | global settings is free to do so in his or her own source tree.
* Build/install the PIC version of libgcc (libcc_pic.a) for use by sharedpeter2003-06-131-0/+1
| | | | libraries that do exception unwinding.
* We cannot use c99 on amd64 either due to lack of alloca(). libc:strptime()peter2003-06-131-2/+3
| | | | | | uses alloca() and alloca is impossible to implement as a callable function on amd64. It has to be a compiler builtin. Note that the bigger problem is that libc is not c99 clean internally.
* Remove NOSHLIBS, users can get by with NOPIC.obrien2003-06-101-3/+1
| | | | Desired by: ru
* Be C std strict on i386 and amd64 as we can. Be loose on Alpha and ia64.obrien2003-06-071-0/+6
|
* Compile our code as C99 w/GNU extensions by default.obrien2003-06-061-1/+2
| | | | We can't use straight "c99" due to the lack of alloca.S for non-i386 platforms.
* Update some library names. Libraries come, libraries go.markm2003-06-041-3/+2
|
* I got a bazzar bug reportobrien2003-06-021-2/+2
|
* Turn back on c99, the tree should be ready for it now.obrien2003-06-021-1/+1
|
* To quote Tony Maher <tonymaher@optushome.com.au>, "maybe 3rd time lucky ;-)"obrien2003-06-021-1/+1
| | | | *sigh* Just can't get a brake when trying to react too quickly and fix the build.
* Temperarly turn off building the tree with c99.obrien2003-06-021-1/+1
| | | | I swore this made it thru a 'make world', but I don't know what happened.
* Use a bigger hammer -- keep all -std= out of CXXFLAGS.obrien2003-06-012-2/+2
| | | | Also allow for "CSTD=" in a Makefile.
* Do not set a C standard for the C++ compiler.obrien2003-06-011-5/+7
|
* Compile our code as C99 by default.obrien2003-06-011-9/+11
|
* CSTD is virtually worthless for WARNS=2-5. Return -pedantic to WARNS=6+.obrien2003-05-311-1/+3
|
* Make CSTD style match the rest of file.obrien2003-05-311-6/+6
|
* Change -march=pentium4 to -march=pentium3 when CPUTYPE==p4, because gcc 3.2 isanholt2003-05-221-1/+3
| | | | | | | known to produce broken code with -march=pentium4. Add a note explaining this. This should be removed when we update to gcc 3.3 or the bug is otherwise fixed. Approved by: re
* Fixed typo in a comment.ru2003-05-211-2/+2
| | | | | | PR: misc/52486 Submitted by: "Simon L. Nielsen" <simon@nitro.dk> Approved by: re (jhb)
* s/x86[-_]64/amd64/ for MACHINE_ARCH and MACHINE_CPU .ifdefs.peter2003-05-201-4/+4
| | | | | Noticed by: ru Approved by: re (amd64-specific low risk stuff)
* Apply the first in a series of patches which will bring bsd.README up to date.trhodes2003-05-171-10/+40
| | | | | | PR: 35652 Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version) Approved by: re (bmah)
* Whitespace cleanup (1.15 had spaces instead of tabs)des2003-05-051-4/+4
|
* Don't use -pedantic unless we also set -std of some kind.des2003-05-051-1/+4
|
* Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extramarkm2003-05-051-1/+1
| | | | | cleanups were necessary in release/Makefile, and the tinderbox code was syntax checked, not run checked.
* Remove some games/ cruft that is no longer of relevance.markm2003-05-032-8/+0
|
* Add a mechanism to allow Makefiles to specify the particular C dialectdes2003-05-011-1/+12
| | | | | | | | | | | | | | | | | | in which the source code is written. This is controlled by the CSTD variable, which can have one of the following values: - "k&r" => -traditional - "c89" or "c90" => -std=iso9899:1990 - "c94" or "c95" => -std=iso9899:199409 - "c99" => -std=iso9899:1999 The corresponding option is added to CFLAGS regardless of WARNS level. This also removes -ansi from WARNS level 6, but adds -Wno-long-long to work around a weird gcc bug (-ansi, which is supposedly equivalent to -std=iso9899:1990, seems to turn long long warnings off instead of on) If CSTD is undefined, CFLAGS are unchanged except for the -ansi / -Wno-long-long change mentioned above for WARNS level 6.
* Add NOSHLIBS.obrien2003-04-271-1/+3
| | | | If one is using NOSHARED, why build the libs.
* Axe CXXINCLUDES from CXXFLAGS, it serves no useful purpose anymore.ru2003-04-221-1/+1
| | | | Reviewed by: bde
* Add CPUTYPE support for "athlon-tbird", as GCC makes the distinction.obrien2003-04-141-1/+1
| | | | | PR: 50801 Submitted by: Glenn Johnson <glennpj@charter.net>
* Default the userland to 486 capabilities.obrien2003-04-111-1/+1
|
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-051-7/+0
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* -Wall implies -Wuninitialized if -O is also in effect.ru2003-04-041-3/+0
| | | | | | | | -Wuninitialized does not work without -O. This fixes the ${WARNS} > 4 compilations with -O0. Spotted by: marcel
* Enable cpp(1) warnings in system headers. GCC is oriented onru2003-03-311-0/+1
| | | | | | glibc which is externally maintained, so GCC ships with these warnings turned off by default. This is also consistent with the src/contrib/gcc/c-lex.c,v 1.2 change.
* Globally use -mieee in /usr/src for Alpha.obrien2003-03-291-0/+4
|
* Reduce "code duplication" for AMD CPU's.obrien2003-03-291-30/+10
|
* Added GEOM library to the bsd.libnames.mk namespace.ru2003-03-211-0/+1
|
* Record the sudden death of bsd.kern.mk and bsd.sgml.mk.ru2003-03-121-2/+0
|
* KerberosIB deorbit: Remove library references.markm2003-03-081-7/+1
|
OpenPOWER on IntegriCloud