summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.incs.mk
Commit message (Collapse)AuthorAgeFilesLines
* MFC r309478:bdrewery2017-01-031-3/+3
| | | | DIRDEPS_BUILD: Fix '/' in group names creating a bad cookie.
* MFC r309477:bdrewery2017-01-031-4/+2
| | | | Revert r296585.
* MFHgjb2016-03-101-2/+4
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * These group names may be used as a cookie, so replace any non-fs-safe ↵bdrewery2016-03-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | characters. One example is in cddl/usr.sbin/dtrace/tests/common/aggs. It could be fixed but other uses of this would break, especially in the DIRDEPS_BUILD which uses the group names for stage cookies. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-03-021-0/+2
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Fix some things building in MAKELEVEL0.bdrewery2016-02-261-0/+2
| | | | | | | | | | | | | | For PROGS this was recursing twice since MAKELEVEL0 is for 'dirdeps' which then really builds in a sub-make. Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-02-081-2/+2
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Fix style and remove excess / for installing SYMLINKS.bdrewery2016-02-041-1/+1
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Stop hiding link install commands.bdrewery2016-02-041-1/+0
| | | | | | | | | | | | | | This is no longer needed now that a .for loop is used rather than inline shell script. Sponsored by: EMC / Isilon Storage Division
* | MFH r289384-r293170gjb2016-01-041-1/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Make installing to a non-existent directory an error.bdrewery2015-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this, if a file was installed to DESTDIR/some/dir and that directory was missing due to not having ran 'make distrib-dirs' yet, the file would be installed as 'some/dir'. For something like bsd.incs.mk with INCLUDEDIR being a sub-directory of /usr/include, this could result in all of the headers being installed to a file rather than getting a directory of them. Now it will error that the file/directory does not exist rather than hide the issue. Another option being discussed is to implement GNU's install -D flag which would auto create any missing directories. This is a mitigation of the problem. The proper order to the build is to run 'make distrib-dirs' first, but that can be forgotten if building from a sub-directory after updating the source code to the latest revision. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | MFH to r289370gjb2015-10-151-1/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Revert r289282 for now as the interaction with a directory containingbdrewery2015-10-141-3/+0
| | | | | | | | bsd.files.mk and bsd.subdir.mk is recursing too many times.
| * Replace the out-of-place includes/files/config handling in bsd.subdir.mk withbdrewery2015-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | more typical ALL_SUBDIR_TARGETS entries and target hooks in bsd.incs.mk, bsd.files.mk and bsd.confs.mk. This allows the targets to be NOPs if unneeded and still work with the shortcut 'make includes' to build and then install in a parallel-safe manner. Sort and re-indent the ALL_SUBDIR_TARGETS with the new entries. Sponsored by: EMC / Isilon Storage Division
| * Correct a comment in bsd.incs.mk forgotten in r274662 and copied into ↵bdrewery2015-10-141-1/+1
| | | | | | | | | | | | | | | | bsd.confs.mk. The bsd.confs.mk may be wrong but for now fix it. Sponsored by: EMC / Isilon Storage Division
* | Merge from headbapt2015-10-091-2/+2
|\ \ | |/
| * In jobs mode we can use .ORDER to force stage_links to run after othersjg2015-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | stage_* targets. In non-jobs mode we can achieve the same result by simply introducing the targets in the correct order. Thus in bsd*.mk we simply add targets to STAGE_TARGETS which we realize in meta.stage.mk Reviewed by: bdrewery
* | Remove extra space badly mergedbapt2015-10-071-1/+1
| |
* | Merge from headbapt2015-10-011-3/+5
|\ \ | |/
| * META_MODE: Fix staging not respecting _DIR overrides.bdrewery2015-09-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | This fixes atf-c.h not properly being installed to /usr/include/ (in the stagedir) via its override of 'INCSDIR_atf-c.h= ${INCLUDEDIR}'. This fixes building things that depend on atf. Staging seems to ignore OWN/GRP/MODE settings and needs further exploration. Sponsored by: EMC / Isilon Storage Division
* | Merge from headbapt2015-09-121-9/+4
|\ \ | |/
| * Simplify symlinks on include files by using bmake's multivariable .for loopsbapt2015-06-211-9/+4
| |
* | Merge from headbapt2015-06-151-1/+22
|\ \ | |/
| * Merge from headsjg2015-05-261-1/+1
| |\
| * \ Merge from head@274682sjg2014-11-191-1/+1
| |\ \
| * | | We want to use stage_includes as a hook, so use NO_STAGE_INCLUDESsjg2014-05-161-7/+4
| | | | | | | | | | | | | | | | in include/Makefile to suppress normal behavior
| * | | Merge headsjg2014-04-281-2/+2
| |\ \ \
| * | | | Allow staging to be help up (by .WAIT) until othersjg2013-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | bits of all: are done.
| * | | | We may only have INCSLINKS, and STAGE_SYMLINKS should all be full paths.sjg2013-02-161-2/+2
| | | | |
| * | | | Sync with HEAD.obrien2013-02-081-1/+1
| |\ \ \ \
| * | | | | Because the target of SYMLINKS is typically a full path, wesjg2013-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | "stage" them to the stage tree rather than a location within.
| * | | | | defined(${group}NAME) is also a trigger for special handlingsjg2012-11-081-2/+6
| | | | | |
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Merge from HEADbapt2015-05-071-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Rework PRIVATELIBbapt2015-05-041-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when a lib is marked as PRIVATELIB it is renamed into libprivate$foo instead of being installed in /usr/lib/private and playing with rpath. Also allow to install headers for PRIVATELIBS in that case the headers will be installed in /usr/include/private/$foo Keep the headers under a private namespace to prevent third party build system to easily find them to ensure they are only used on purpose. This allows for non base applications to statically link against a library in base which is linked to a privatelib Treating PRIVATELIBS as regular libraries allows to push them into our current compatX packages if needed. While here finish promotion of libevent as PRIVATELIB Install header for bsdstat and libucl Differential Revision: https://reviews.freebsd.org/D2365 Reviewed by: brooks, des Discussed with: imp
* | | | | Makes it more flexible to tag and define a target packagebapt2015-02-131-4/+11
| | | | |
* | | | | Tag the metalog with a global default sets of tags that will be used to decidebapt2015-02-101-3/+3
|/ / / / | | | | | | | | | | | | what will go in which package, more finer grain tagging to come
* | | | Acutally, replaces NO_INCS with WITHOUT_INCLUDES and makeimp2014-11-181-1/+1
| |_|/ |/| | | | | | | | | | | | | | WITHOUT_TOOLCHAIN imply it instead. Sponsored by: Netflix
* | | Eliminate NO_INCS. It is used one place, and MK_TOOLCHAIN=no willimp2014-04-251-2/+2
| |/ |/| | | | | | | handle the job just as well. Opt for simplicity rather than one more option.
* | Replace all known uses of ln in the build process with appropriatebrooks2013-01-211-1/+1
|/ | | | | | | | install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-2/+2
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Handle NO_INCS solely inside bsd.incs.mk.ru2006-02-031-6/+4
|
* Don't install includes if NO_TOOLCHAINphk2005-08-031-0/+6
|
* Make sure the only thing that follows .endif or .else is a comment.harti2005-04-111-2/+2
|
* Try really hard to fix parallel installs. Add a bunch of .ORDERru2002-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* Rename `includes' to `buildincludes'.ru2002-05-151-12/+10
| | | | | | Rename `incsinstall' to `installincludes'. Make `includes' a -j safe shortcut for `buildincludes' + `installincludes'. `buildincludes' and `installincludes' are SUBDIR friendly, if run directly.
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-0/+81
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".
OpenPOWER on IntegriCloud