summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.dep.mk
Commit message (Collapse)AuthorAgeFilesLines
* Added the new variable CTAGS which, if set to "ctags", revertsru2002-10-171-17/+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
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-9/+0
| | | | | | | | | | | | | | | 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
* Moved checkdpadd target to where it logically belongs.ru2002-07-031-0/+22
|
* Fixed missing quotes in the default for MKDEPCMD in the CC != cc case.bde2002-05-071-1/+1
| | | | "CC='cc -Dfoo' make depend" was very broken.
* Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.ru2002-04-231-4/+4
| | | | | | | | | | | | | | | | Ensure all standard targets honor SUBDIR. Now `make obj' descends into SUBDIRs even if NOOBJ is set (some descendants may still need an object directory, but we do not have such precedents). Now `make install' in non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install' in SUBDIRs, like we do in bsd.subdir.mk. Nothing depended on the wrong order anyway. Fixed `distribute' targets (except for the bsd.subdir.mk version) so that they do not depend on _SUBDIR; `distribute' calls `install' which already depends on _SUBDIR. De-standardize `maninstall', otherwise manpages would be installed twice. (To be revised later.)
* Prohibit the direct inclusion of bsd.dep.mk.ru2002-04-221-0/+3
|
* Doh, previous revision made .depend to be almost always out of date.ru2002-04-171-3/+2
| | | | | | | Spotted by: bde Fortunately, we have a powerful make(1). Apply some black magic to make it DTRT. (Better viewed as diff to revision 1.30.)
* Don't spawn extra make(1) process to execute _EXTRADEPEND.ru2002-04-161-2/+4
|
* Only pass our idea of `CC' down to mkdep(1) if it's non-default.ru2002-04-151-0/+4
|
* Removed bogus env(1) commands. make(1) uses a real shell, sobde2002-03-191-1/+1
| | | | | | | | "env name=value ... cmd ..." was just a pessimized way of doing "name=value ... cmd ...". Note that make(1) can't optimize either of these to an exec of env(1) or "cmd" even if the second "..." is simple, since it can't tell that the shell metacharacter in "name=value" is actually handled by env(1).
* Pass our idea of `CC' down to mkdep.obrien2002-03-151-1/+1
| | | | Tested on: sparc64
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Clean new index file(GPATH) of global.simokawa1999-01-181-2/+3
| | | | Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
* Recognize ".cpp" as a C++ suffix.dt1998-06-051-3/+4
| | | | PR: 3476
* Oops, forgot references in previous commit.bde1998-05-151-1/+1
| | | | | Submitted by: Brian Cully <shmit@erols.com> PR: 6178
* Support Objective C almost as well as C++.bde1998-05-151-1/+7
| | | | | | | | | Notes: - We no longer use -fgnu-runtime in bsd.lib.mk, since it is the default and bsd.lib.mk is the wrong place to override it. - Gnu C doesn't have a special compiler driver for Objective C like it does for C++. The defaults are suitable for Gnu C. Use `OBJCLIBS=' in /etc/make.conf for POC.
* Oops, the lex and yacc sources must be added to SRCS before ${SRCS}bde1998-05-111-40/+40
| | | | | | | | is used in the dependency list for ${DEPENDFILE}. `make depend' was broken for a few days. `make world' only uses `make depend' when NOCLEAN is defined, so only a few people noticed the bug. Submitted by: mostly by jmg
* Moved lex and yacc source handling from bsd.prog.mk to bsd.dep.mkbde1998-05-081-1/+40
| | | | so that it applies to libraries (and lkms) as well as programs.
* Only include bsd.dep.mk in `mk'files that handle C sources. Abusebde1998-05-061-14/+1
| | | | | | bsd.obj.mk instead of bsd.dep.mk for defining the _SUBDIR target and a default tags target. Abuse bsd.obj.mk for defining default cleandepend and depend targets.
* Support new version of global.eivind1998-03-231-5/+5
| | | | | Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Tested by: make buildworld
* Pass -nostdinc to mkdep for assembler and C files (it was alreadybde1998-03-071-16/+15
| | | | | | | | passed for C++ files). Don't pass -nostdlib to mkdep for C++ files. Don't use temporary variables to obfuscate the main rule.
* Fixed cleaning of tags files. GSYMS was forgotten.bde1998-02-201-2/+2
|
* Optimize rm(1) usage.wosch1997-12-141-3/+2
|
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-3/+7
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* Fixed cleandepend target. Subdirectories weren't handled unless SRCSbde1997-08-261-2/+2
| | | | was defined.
* Add `B' to list of flags to pass through from C*FLAGS when using mkdepasami1997-06-181-4/+4
| | | | | | | | | (bsd.dep.mk) and compiling assembly language sources (bsd.lib.mk). This doesn't change anything for our current source tree, but if you want to use the -B switch in C*FLAGS to specify the location of compiler subprograms, now you can do it. Reviewed by: bde (implicitly)
* Support GLOBAL style tags.jkh1997-04-131-9/+15
|
* Use `ld -f' (actually `cc -Wl,-f') at `make depend' time to generatebde1997-04-091-1/+4
| | | | | | | | | | | | | | almost perfect dependencies on crt0's and libraries. DPADD and bsd.libnames.mk should go away soon. Use a new _EXTRADEPEND target to implement this and to avoid editing of .depend when .depend isn;t being rebuilt. The afterdepend target doesn't seem to be good for anything and is now unused. Fixed LDDESTDIR for the DESTDIR case when ${SHLIBDIR} != /usr/lib. Added commented-out -nostdlib to LDDESTDIR for the DESTDIR case. The wrong libraries may be used without this; however it breaks linkage to crt0 and libc.
* 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.
* Back out the recent DEPEND changes - as Bruce points out, it's bogus.jkh1996-08-251-3/+0
| | | | | I'll leave any future Makefile hackery to him since he's clearly thought about this a great deal more than I have.
* Make it possible to turn the depend pass off entirely with a NO_DEPENDjkh1996-08-231-1/+4
| | | | | variable. Requested-By: wollman
* The clean rule in here was bogus.jkh1996-07-271-4/+1
|
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-9/+25
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Add some comments for variables and targets.wosch1996-05-251-1/+29
|
* add MKDEPCMD?= and DEPENDFILE?=wosch1996-04-011-18/+29
| | | | replace sh(1) commands with make(1) builtins
* More complete implementation of SUBDIR for programs, libraries and kmods.bde1995-02-081-3/+3
| | | | | | | | `depend' wasn't supported. This seems to have only broken `make depend' in gnu/usr.bin/ld. bsd.prog.mk: Build the man pages in ${MANDEPEND} at build time.
* Add a couple of files we created in 1.x.wollman1994-08-041-0/+47
OpenPOWER on IntegriCloud