summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Sort FILES.ru2002-07-171-1/+1
|
* Moved the `distribute' target from bsd.obj.mk to bsd.subdir.mk,ru2002-07-122-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to make it call `install' in the bsd.subdir.mk-driven makefiles too. (share/examples/Makefile,v 1.29 changed the bsd.prog.mk to bsd.subdir.mk and many stuff was lost during "make release". I then merged this change in rev. 1.28.2.2 to work around the namespace pollution (FILES) in this makefile.) There was an added complexity here. Both the `distribute' and `install' targets are recursive (they propagate to SUBDIRs). So `distribute' first calls `install' in the ${.CURDIR}, then calls `distribute' in each SUBDIR, etc. The problem is that `install' (being also recursive) causes the stuff from SUBDIR to be installed twice, first time thru `install' in ${.CURDIR} triggered by `distribute', second time by `distribute' run in the SUBDIR. This problem is not new, but it became apparent only after I moved the `distribute' target from bsd.obj.mk to bsd.subdir.mk. My first attempt testing the fix failed due to this, because the whole world was distributed twice, causing all the imaginable mess (kerberos5 stuff was installed into both "base" and "krb5" dists, there was /sbin/init.bak, etc.) I say the problem is not new because bsd.prog.mk and bsd.lib.mk makefiles with SUBDIR (even without this fix) had this problem for years. Try e.g. running ``make distribute DISTDIR=/foo'' from usr.bin/bzip2 or from lib/libcom_err (without the fix) and watch the output. So the solution was to make `install' behave non-recursive when executed by `distribute'. My first attempt in passing SUBDIR= to the `install' in the `distribute' body failed because of the way how src/Makefile and src/Makefile.inc1 communicate with each other. SUBDIR='s assignment precedence on the "make install SUBDIR=" command line is lowered after src/Makefile wrapper calls "make ... -f ${.CURDIR}/Makefile.inc1 install" because SUBDIR= is moved into environment, and Makefile.inc1's assignments now take higher precedence. This may be fixed someday when we merge Makefile with Makefile.inc1. For now, this is implemented as a NO_SUBDIR knob. Spotted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua> Prodded by: des MFC after: 3 days
* Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us.obrien2002-07-071-0/+6
|
* Part 1/2 of kerberos5/doc/ "make release" breakage fix:ru2002-07-061-1/+1
| | | | | Finish the fix of rev. 1.28 changes in rev. 1.47 (removed gross dir file bootstrap rule again).
* Make it possible (again) to build and install shared library only.ru2002-07-031-19/+38
| | | | | | One needs to define SHLIB_NAME for this to work. Prodded by: mi
* Moved checkdpadd target to where it logically belongs.ru2002-07-032-25/+22
|
* Try really hard to fix parallel installs. Add a bunch of .ORDERru2002-07-035-0/+8
| | | | | | | | | | | | | | | | | | | | | directives to ensure that all realinstall sub-tasks are executed after beforeinstall, similarly ensure that all afterinstall sub- tasks are executed after realinstall. Demonstration: all: task1 task2 .ORDER: task1 task2 task2: task2_subtask .ORDER: task1 task2_subtask task1 task2 task2_subtask: @sleep `jot -r 1 0 1.0` @echo ${.TARGET} Without the second .ORDER directive, task2_subtask can be run in parallel with task1. Spotted by: Andrea Campi <andrea@webcom.it>
* Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.ru2002-07-022-77/+28
| | | | | | | | | | | | Provided the (previously missing) dependency on source files for intermediate .msg files. Provided the default for NLSSRCDIR (defaults to .CURDIR). Slightly changed the API: NLS should now list plain locale names, without the .msg suffix. When included from bsd.prog.mk, NLSNAME defaults to PROG.
* Handle installation of hard and symbolic links via a seperate .mk file.ru2002-07-024-49/+34
|
* bsd.subdir.mk already has these dependencies coded.ru2002-07-011-11/+0
|
* Get rid of the bogus dependencies between beforeinstall, realinstall,ru2002-07-011-3/+2
| | | | | | | | | | and afterinstall targets. Make sure they are run in sequence in the -j case. This fixes the recent breakage with beforeinstall being run _after_ realinstall. Reported by: knu
* Fixed typos.ru2002-07-011-4/+4
|
* If CLEANFILES is nil or not defined, do not try to remove it. This happensjmallett2002-06-261-0/+2
| | | | | | | when SRCS is entirely files which produce only one compiled form, and when NOMAN is defined. This does not seem to happen in STABLE. Approved by: ru
* Quiet ``make objlink'' when NOOBJ is defined.ru2002-06-211-1/+3
| | | | | PR: bin/21142 Submitted by: Craig Leres <leres@ee.lbl.gov>
* In gcc 3.1 Pentium/MMX now has its own -march=XXX option.sobomax2002-06-131-1/+1
|
OpenPOWER on IntegriCloud