summaryrefslogtreecommitdiffstats
path: root/share/mk/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-2/+2
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* GC port.mkversion.des2004-02-051-3/+0
|
* Fixed sys/boot/pc98/boot2/Makefile to use kern.mk andru2003-03-021-1/+1
| | | | | | get rid of bsd.kern.mk completely. OK'ed by: bde
* Sort FILES.ru2002-07-171-1/+1
|
* Handle installation of hard and symbolic links via a seperate .mk file.ru2002-07-021-1/+2
|
* Reimplement FILES support using bsd.files.mk with theru2002-06-031-1/+2
| | | | | | | | same set of features as in recently added bsd.incs.mk (FILESGROUPS, accessibility from both bsd.prog.mk and bsd.lib.mk, de-pessimized typical installation path, etc.) New standard targets: buildfiles, installfiles, and files (buildfiles + installfiles).
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
* GC bsd.docb.mk. It has never apparently been used.ru2002-04-241-1/+1
|
* GC bsd.sgml.mk. Nothing in the src/ tree uses it, and two doc/ru2002-04-241-1/+1
| | | | | instances that still use it are unconnected from the build and have corresponding DocBook replacements.
* Install bsd.init.mk.ru2002-04-181-1/+2
| | | | Submitted by: "Peter S. Housel" <housel@acm.org>
* Add basic infrastructure for building and installing Message Catalogs (NLS ↵phantom2002-03-041-1/+1
| | | | | | | Catalogs) Idea obtained from: NetBSD Reviewed by: silence at -hackers
* FILES support for bsd.prog.mk. See bsd.README for details.ru2001-12-171-2/+1
| | | | Stolen from: NetBSD
* Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mkkris2001-05-191-1/+1
| | | | | | | | | to avoid polluting sys.mk. This directive controls the addition of compiler warning flags to CFLAGS in a relatively compiler-neutral manner. The idea is that WARNS can be set in Makefile.inc or in individual Makefiles as they become clean, to prevent the introduction of new warnings in the code. -Werror is added by default
* Overhaul the MACHINE_CPU behaviour:kris2001-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add bsd.kmod.mk back.peter2000-05-271-1/+1
|
* Oops. I forgot to remove bsd.kmod.mk from the list of files installed. :-(peter2000-05-041-1/+1
| | | | Submitted by: Scott Flatman <sf@aracnet.com>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Create /var/db/port.mkversion rather than /var/db/pkg/.mkversion to be inobrien1999-04-151-2/+2
| | | | | | sync with bsd.port.mk rev 1.309. Submitted by: make world
* Add ${DESTDIR} to installation path. Move target to under beforeinstall:.asami1999-03-311-4/+2
| | | | Submitted by: bde
* I'm sorry, this was already fixed in etc/mtree/BSD.var.dist.sada1999-03-311-2/+1
| | | | Submitted by: asami@FreeBSD.ORG
* Sometimes we have to make `/var/db/pkg' directory before we createsada1999-03-311-1/+2
| | | | | `.mkversion' :) Submitted by: YAMAMOTO Shigeru <shigeru@bremen.or.jp>
* Create /var/db/pkg/.mkversion file with datestamp.asami1999-03-291-1/+4
|
* Make bsd.port.mk includable in two phases. bsd.port.pre.mk defines onlyasami1998-11-111-2/+3
| | | | | | | | | | | a few variables that could be used in the port Makefile for ".if exists()" tests. bsd.port.post.mk defines the rest. Note: if you define USE_X_PREFIX or USE_IMAKE, put it before including bsd.port.pre.mk. These are the only two variables used in the first part. In reality, bsd.port.pre.mk and bsd.port.post.mk just include bsd.port.mk with special variables to turn part of it off.
* Fixed disordering and misformatting in previous commit.bde1998-09-091-8/+4
| | | | | | | Don't override correct default targets. Don't use afterinstall for installing things; it is for fixups after installing things.
* bsd.docb.mk handles installing SGML/docbook documents.wosch1998-08-291-1/+3
|
* Complete back-out of the bsd.locale.mk change.jkh1998-05-201-3/+3
| | | | OK'd by: asami
* Add bsd.locale.mk to the list of files. Whether bsd.locale.mk ismph1998-05-201-4/+4
| | | | | | | | | | | the right solution or not, bsd.port.mk is broken unless bsd.locale.mk is installed. Note that if LOCALE is not defined, port-building explodes: "/usr/share/mk/bsd.locale.mk", line 135: if-less elif "/usr/share/mk/bsd.locale.mk", line 135: Need an operator (For each .if testing LOCALE)
* Undo rev 1.11, the cd is null since NOOBJ is set.wosch1998-01-031-2/+2
| | | | 444 -> ${SHAREMODE}
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Centralized the definition of CWARNFLAGS into bsd.kern.mk.bde1996-10-081-4/+4
|
* Moved definitions of library names from bsd.prog.mk to a new centralbde1996-09-051-2/+2
| | | | | file bsd.libnames.mk and include this file where necessary. This fixes null library names in ${DPADD}'s in library makefiles.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-2/+2
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* install bsd.obj.mkwosch1996-04-121-2/+2
| | | | Submitted by: Asami
* Add bsd.sgml.mkjfieber1995-09-081-2/+2
|
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-251-2/+2
| | | | specified in the top level Makefiles.
* Change install: to afterinstall: to be more consistent.rgrimes1995-05-091-2/+2
|
* Install bsd.info.mk.bde1995-01-031-4/+6
|
* A make system file for building LKMs, derived from bsd.prog.mk.wollman1994-09-141-2/+3
|
* Add the installation of bsd.README. Realphabitize the FILES= list.rgrimes1994-09-071-2/+3
| | | | | Reviewed by: rgrimes Submitted by: bde
* Add bsd.port* to the Makefile.jkh1994-08-281-1/+1
| | | | | Reviewed by: Submitted by:
* - bsd.dep.mk and bsd.own.mk have been required for some time. Install them.bde1994-08-201-1/+2
| | | | - Install with group BINGRP, not BINOWN.
* BSD 4.4 Lite Share Sourcesrgrimes1994-05-301-0/+12
OpenPOWER on IntegriCloud