aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/dir.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove old fmake. It wasn't built by default for some time. Users thatWarner Losh2015-06-161-72/+0
| | | | | | | | | | really need it can find it in the devel/fmake port or pkg install fmake. Note: This commit is orthogonal to the question 'can we fmake buildworld'. Differential Revision: https://reviews.freebsd.org/D2840 Notes: svn path=/head/; revision=284464
* Add ability to search up the directory hierarchy for the system directory.David E. O'Brien2010-01-041-0/+1
| | | | | | | | | | Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable. Reviewed by: <sjg@NetBSD.org> Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD) Notes: svn path=/head/; revision=201526
* Make paths an explicite datatype instead of using the generic Lst.Hartmut Brandt2005-03-231-9/+14
| | | | | | | | | A Path is now a TAILQ of PathElements each of which just points to a reference counted directory. Rename all functions dealing with Paths from the Dir_ prefix to a Path_ prefix. Notes: svn path=/head/; revision=144020
* Rename struct Path to struct Dir and move it into the C-file. ItHartmut Brandt2005-03-221-8/+0
| | | | | | | is not used outside. Notes: svn path=/head/; revision=143978
* Fix the prototypes by addings some constness. This should have beenHartmut Brandt2005-02-221-2/+2
| | | | | | | committed together with the commit to dir.c:1.48. Notes: svn path=/head/; revision=142211
* Some more easy constification.Hartmut Brandt2005-02-041-2/+2
| | | | | | | Submitted by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=141252
* Clean up include files and file including. Split nonints.h into piecesHartmut Brandt2005-02-011-14/+16
| | | | | | | | | | | | | | | | that get included just where they are needed. All headers include the headers that they need to compile (just with an empty .c file). Sort includes alphabetically where apropriate and fix some duplicate commenting for struct Job, struct GNode and struct Shell by removing one version and inlining the comments into the structure declaration (the comments have been somewhat outdated). This patch does not contain functional changes (checked with md5). Submitted by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=141104
* Remove all the cleanup functions. There is no reason to free memoryHartmut Brandt2004-12-171-1/+0
| | | | | | | | just before exiting (especially given the number of memory leaks) - it just costs time. Notes: svn path=/head/; revision=138972
* Typedefs of pointers to structs are evil. Make Lst and LstNode typedef ofHartmut Brandt2004-12-071-7/+7
| | | | | | | | | the structs itself not of pointers to them. This will simplify constification. Checked by: diff on the object files Notes: svn path=/head/; revision=138512
* Some constification which doesn't require code rewrites.Hartmut Brandt2004-12-061-1/+1
| | | | Notes: svn path=/head/; revision=138455
* Style: fix indentation.Hartmut Brandt2004-12-061-5/+5
| | | | Notes: svn path=/head/; revision=138441
* Stylification: missing spaces, extra space after function names, castsHartmut Brandt2004-11-301-1/+1
| | | | | | | | | | | and the sizeof operator, missing empty lines, void casts, extra empty lines. Checked by: diff on make *.o lst.lib/*.o Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly) Notes: svn path=/head/; revision=138232
* - Cut out the code that caches the "." directory out of Dir_Init()Ruslan Ermilov2003-09-141-0/+1
| | | | | | | | | | | | | into a separate function, Dir_InitDot(). - Postpone the current and object directories detection (and caching of the "." directory) until after all command line arguments are parsed. This makes the -C option DTRT. PR: bin/47149 Notes: svn path=/head/; revision=120053
* Fix copyrights, and undo SCS ID damage.David E. O'Brien2002-04-131-2/+3
| | | | Notes: svn path=/head/; revision=94589
* remove __PWarner Losh2002-03-221-14/+14
| | | | Notes: svn path=/head/; revision=92921
* There's also no point in #typedef'ing void/char pointers. Accordingly,Will Andrews2000-12-021-2/+2
| | | | | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD Notes: svn path=/head/; revision=69531
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23006
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* O' to be bitten by CVS. Cleanup after importSteve Price1996-10-081-0/+1
| | | | | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :) Notes: svn path=/head/; revision=18804
* Merge in NetBSD's changes to make(1). Changes include:Steve Price1996-10-061-1/+1
| | | | | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me Notes: svn path=/head/; revision=18730
* Bring in a number of changes from NetBSD's make, fixing quite a fewJordan K. Hubbard1995-01-231-16/+16
| | | | | | | | | | | | | | | problems in the process: 1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor) Notes: svn path=/head/; revision=5814
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+70
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590