summaryrefslogtreecommitdiffstats
path: root/share/mk/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r288179:bdrewery2015-10-081-0/+7
| | | | | Fix running make in src directories without a Makefile giving confusing errors.
* MFC:imp2015-06-021-0/+1
| | | | Merge r276846: Add infrastructure to build dtb files from dts files.
* MFC r268300 r268541 r268544 r268565 r269775 r269838 r269839 r269840rpaulo2014-08-131-1/+0
| | | | | | r269842 r269844 r269899: BSD make support for generating and compiling USDT DTrace probes.
* MFC refactoring of the *.test.mk files.jmmv2014-04-141-0/+1
| | | | | | | | | - r263161 Make bsd.test.mk the only public mk fragment for the building of tests. - r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file. - r263204 Add some documentation for bsd.test.mk. - r263217 Document support for TAP-compliant Perl test programs. This is "make tinderbox" clean.
* Set up the /usr/tests hierarchy.jmmv2013-12-281-1/+1
| | | | | | | | | | | | | | | | | This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues.
* Split and extend bsd.test.mk into {atf,plain,tap}.test.mk.jmmv2013-12-271-0/+2
| | | | | | | | | | | | | | | | | | This is a MFC of: - r256761 Clearly split the logic to build ATF and plain tests apart. - r256762 Add the automatic generation of Atffile files. - r256763 Add the automatic generation of Kyuafile files. - r256764 Plug atf-run into the 'test' target. - r256765 Plug kyua into the 'test' target. - r257096 Move the TESTSBASE definition to bsd.own.mk. - r257099 Add missing plain.test.mk. - r258297 Remove registration of C++ test programs into PROGS. - r258298 Fix the build of plain test programs. - r258551 Install plain.test.mk. - r259208 Add tap.test.mk. Approved by: rpaulo (mentor)
* Remove all support for legacy NOFOO and NO_FOO build options.des2013-01-101-1/+0
|
* Install bsd.progs.mk, needed by bsd.test.mk and thus by atf.test.mk.marcel2012-11-171-0/+1
|
* Add ATF and reformat to ease reviewssjg2012-11-071-13/+43
| | | | Approved by: marcel (mentor)
* Introduce a new make variable COMPILER_TYPE that specifies whatbrooks2012-09-131-1/+2
| | | | | | | | | | | | | | | | | | | | type of compiler is being used (currently clang or gcc). COMPILER_TYPE is set in the new bsd.compiler.mk file based on the value of the CC variable or, should it prove informative, by running ${CC} --version and examining the output. To avoid negative performance impacts in the default case and correct value for COMPILER_TYPE type is determined and passed in the environment of submake instances while building world. Replace adhoc attempts at determining the compiler type by examining CC or MK_CLANG_IS_CC with checks of COMPILER_TYPE. This eliminates bootstrapping complications when first setting WITH_CLANG_IS_CC. Sponsored by: DARPA, AFRL Reviewed by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>, imp, linimon (with some modifications post review) MFC after: 2 weeks
* .. and then notice that the list of mk files is ordered, and update to suit.adrian2010-11-161-2/+2
|
* Add in forgotten install rule.adrian2010-11-161-1/+1
|
* Add bsd.dtrace.mk. This allows userland programs and libraries torpaulo2010-09-101-1/+2
| | | | | | | | | define USDT probes on a provider.d file and then use this new make infrastructure to build the corresponding header file and object file. This will only take effect when the user defines WITH_DTRACE when building. Sponsored by: The FreeBSD Foundation
* Also install the new bsd.arch.inc.mk filed. Missed in r204020.bz2010-07-061-0/+1
| | | | Reviewed by: imp
* Break long linepav2007-06-011-2/+3
| | | | Submitted by: ru
* Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handlepav2007-06-011-1/+1
| | | | | | | | | | OPTIONS resolving. This will allow us to load bsd.port.mk in port Makefiles in three steps (options, pre, post), allowing us to manipulate USE_* flags conditionally on OPTIONS values. With hat: portmgr Reviewed by: ru MFC after: 1 week
* Add entry for bsd.symver.mk.kan2007-04-031-1/+1
| | | | Pointed out by: ru
* Add version_gen.awk to the installed files.deischen2006-03-161-1/+1
|
* Add a .mk file for building modules for the SNMP daemon. This may beharti2005-11-101-1/+1
| | | | | | | | use in-tree as well as for 3rd party modules. This file is more or less what was in usr.sbin/bsnmpd/modules/Makefile.inc with some modifications and omissions. Usage examples can be found under usr.sbin/bsnmpd/modules/*. Idea by: phk
* Add endianness support to cap_mkdb(1), useful for cross builds.ru2005-02-221-2/+2
|
* 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
|
OpenPOWER on IntegriCloud