summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* If we carry our MODULES_WITH_WORLD, we probably also do not wantru2003-03-031-0/+4
| | | | | for installkernel to wipe them out later. So install them under /boot/modules if that is the case.
* Fixed sys/boot/pc98/boot2/Makefile to use kern.mk andru2003-03-022-14/+1
| | | | | | get rid of bsd.kern.mk completely. OK'ed by: bde
* Initiate the de-orbit burn sequence for <bsd.kern.mk>.ru2003-02-281-54/+8
| | | | | | | | | Always use sys/conf/kern.mk when building kernel/modules. <bsd.kern.mk> is only preserved for sys/boot/pc98/boot2 for now, but this will be fixed. If there are other users of <bsd.kern.mk>, please let me know. Reminded by: bde
* - Removed various cruft from before we had a hosted toolchain (!).jake2003-02-271-0/+9
| | | | | - Moved special compiler flags to bsd.kern.mk so they get used for modules too.
* Added UFS library to the bsd.libnames.mk namespace.ru2003-01-231-0/+1
|
* NOSHARED is meaningless in the bsd.lib.mk context, so check LDFLAGSru2002-11-261-2/+2
| | | | | | | | | | for the -static flag instead when constructing LIBPAM. (This fixes false warnings from ``make checkdpadd -DNOSHARED'' in lib/libpam/modules/.) Submitted by: bde, ru Approved by: re
* Take __FreeBSD_version into account when BOOTSTRAPPING.ru2002-11-131-2/+4
|
* Document most of bsd.doc.mk variables.ru2002-10-301-4/+33
|
* All uses of CD_HACK have been eliminated.ru2002-10-301-9/+0
|
* PRINTERDEVICE can now take multiple values.ru2002-10-291-33/+64
|
* bsd.doc.mk changes:ru2002-10-291-29/+33
| | | | | | | | | | | | | | | Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS. Only create _stamp.extra when necessary. Get rid of SOELIMPP and OBJS. Use Groff version of soelim(1); we need its -I option for the following to work. Don't needlessly chdir to SRCDIR. Only a few documents need CD_HACK, and those that need it either use refer(1) or .PSPIC macro which internally uses the .psbb call.
* Revert last delta. SGR support in grotty(1) is disabled system-wideru2002-10-181-1/+1
| | | | in /usr/share/tmac/troffrc pending the issue resolution on -arch.
* Added the new variable CTAGS which, if set to "ctags", revertsru2002-10-173-35/+37
| | | | | | | | 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
* ia64 specific CFLAGS change:marcel2002-10-131-1/+1
| | | | | | | | | | | | Fix the "@gprel relocation against dynamic symbol xxx" linker error. Variables defined in the link unit and small enough to be put in the short data section will have a gp-relative access sequence (using the @gprel relocation). It is invalid to have @gprel relocations in shared libraries, because they are to be resolved by the static linker and not the dynamic linker. The -fpic option will cause @ltoff relocations for @gprel relocations, but the side-effects are untested (if any). Instead, disable/eliminate the short data section to achieve the same.
* Groff 1.18.1 comes in with ANSI color support, enabled by default.ru2002-10-111-1/+1
| | | | | | | | | | | | | | In "nroff" mode, italic font renders as an underlined text, which makes it indistinguishable from the bold text on color monitors (cons25 terminal type), yet it requires the less(1)'s -R option. (Refer to the new grotty(1) manpage for details.) So turn off the color support for now (when generating catpages), until we figure out what do we do with this new feature. I have a patch for grotty(1) that tells it to use the "reverse video" attribute to render the italic font. Once this is accepted, we can turn color support back on (if there won't be any objections from the community).
* Sort in ``phone directory'' order (except for LIBC_*).ru2002-10-041-3/+3
|
* Reflect the fact that we install our libexpat as libbsdxml.phk2002-10-041-1/+1
|
* Use the -mno-align-long-strings on i386's to debloat the kernel a little.bde2002-10-041-1/+1
| | | | | | This reduces the size of GENERIC's text space by 73999 bytes (about 2%). The bloat is from approximately 3437 strings longer than 31 characters being padded to a 32-byte boundary.
* Add LIBEXPAT definition.phk2002-10-021-0/+1
|
* Extend the lint handling a bit.markm2002-09-203-6/+14
| | | | | | | | | 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.
* Whitespace-only indention fixups for revision 1.20. This lets the 1.20jhb2002-09-181-31/+31
| | | | diff actually be readable.
* Oops, fix userland _CPUCFLAGS. Move adding of _CPUCFLAGS to bottom ofjhb2002-09-181-6/+6
| | | | file after end of empty CPUTYPE else clause.
* For the default case of CPUTYPE not being set, don't define CPUTYPE to thejhb2002-09-181-5/+6
| | | | | | | | lowest value in order to get the right MACHINE_CPU values since setting CPUTYPE can result in problems later in the buildkernel case. Instead, set MACHINE_CPU directly and leave CPUTYPE alone. Tested by: mbr
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-175-52/+1
| | | | | | | | | | | | | | | 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
* Add support for the AMD x86-64 Hammer platform.obrien2002-09-111-0/+2
|
* Add support for ev67 and ev45 CPUTYPEs (new in gcc3)kris2002-09-071-2/+4
|
* Update to use all the new CPU optimizations of GCC3.mux2002-09-071-9/+29
| | | | Reviewed by: kris
* Bump the -mev56 to -mev6. Otherwise, when you compile with gcc usingpeter2002-09-061-2/+2
| | | | | | | ev6 or pca56 etc this downgrades the cpu specification passed to gas. As a result, gas will fail when gcc generates media instructions (in uipc_usrreq.c). This only affects what gas will accept, not what gcc generates or what our *.s file contain.
* test -h is deprecated; use -L instead.kris2002-08-311-1/+1
| | | | | | Submitted by: april <april@oublinet.net> PR: misc/38724 (part of) MFC after: 3 days
* Turned format checking back on. It was left turned off for too long afterbde2002-08-251-7/+1
| | | | | | the gcc lossage that caused it to be turned off was fixed. Tested with: i386/{GENERIC,LINT,...}, alpha/GENERIC
* Allow one to override ${MINSTALL} in /etc/make.conf.ru2002-08-201-1/+1
| | | | Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* TARGET_CPUTYPE should exist solely in Makefile.inc1, similar toru2002-08-021-7/+1
| | | | | | | | | | | | | | | | TARGET_ARCH and TARGET. This is problematic when one has the = (unconditional) type of assigment for CPUTYPE in /etc/make.conf. (This would override what was set on the command line to "make buildworld".) Add a (horrible) kludge to Makefile.inc1 to check the type of assignment for CPUTYPE (only for those who attempts to set it to a different value). Fix an example make.conf. Fix the kernel's build-tools target (aicasm only at the moment) to catch up with bsd.cpu.mk,v 1.15 (BOOTSTRAPPING replaced with NO_CPU_CFLAGS in Makefile.inc1's BMAKE). Reviewed by: jhb
* Add a libnames entry for libugidfw.rwatson2002-08-021-0/+1
| | | | | | Add a DPADD line for ${LIBUGIDFW} for ugidfw. Submitted by: ru
* - Define NO_CPU_CFLAGS during BMAKE and TMAKE (and thus XMAKE) so thatjhb2002-07-311-5/+7
| | | | | | | | | | | bsd.cpu.mk doesn't have to worry about compilers other than the current version. - Allow TARGET_CPUTYPE to override CPUTYPE in bsd.cpu.mk. - Treat an empty CPUTYPE the same as an undefined CPUTYPE. - For buildworld, buildkernel, etc., define TARGET_CPUTYPE to CPUTYPE for native builds and define it to be empty for cross-builds. TARGET_CPUTYPE is only defined if it is not already defined via the commandline or environment.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-297-22/+14
| | | | | | for a long time now. Approved by: bde
* - Fixup whitespace after previous commit.jhb2002-07-271-12/+10
| | | | | | - To minimize whitespace changes, remove a test that didn't define _CPUCFLAGS if both NO_CPU_CFLAGS and NO_CPU_COPTFLAGS were defined since it is redundant (we don't use _CPUCFLAGS if those are defined).
* If there is not a CPUTYPE defined by default, then allow for _CPUCFLAGSjhb2002-07-271-6/+14
| | | | | | | | | | | | | | to tune for more advanced processors while still supporting the minimum processor in an architecture. We can do this with the '-mtune=' option to gcc for alpha, sparc64, and powerpc and with the mis-named '-mcpu=' option for i386. This defaults to tuning i386 builds for i686 machines though not using any instructions that aren't found on an 80386. For alpha it defaults to tuning for an EV5. Approved by: peter Peril sensitive sunglasses borrowed from: peter
* Moved `clean:' below, just before the inclusion of bsd.obj.mk,ru2002-07-211-36/+36
| | | | so that CLEANFILES from bsd.man.mk and bsd.dep.mk are honored.
* Only define SHLIB_LINK if SHLIB_NAME matches the *.so.* pattern.ru2002-07-191-1/+1
| | | | (Useful for RELENG_4's lib/libpam/modules.)
* Correction to the previous revision: define SHLIB_LINK if SHLIB_NAMEru2002-07-181-1/+3
| | | | is defined (whether or not LIB is defined).
OpenPOWER on IntegriCloud