summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/arch.h
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the ReturnStatus obscuration that was anyway used onlyharti2005-05-181-1/+1
| | | | | | | in two places. While here don't bother returning anything from Lst_Replace - nobody ever checks the return code. Suggested by: jmallet
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andharti2005-05-131-1/+1
| | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD
* Almost complete rewrite of the archive code (except for the Makefile parsingharti2005-03-311-1/+3
| | | | | | | | | | | | | | | | | | | | part). Archive handling was broken at least since the move from BSD ar/ranlib to GNU binutils because of the different archive format. This rewrite fixes this by making make to carry around the defines for all formats (it supports) so it can support all of them independent of the actually used one. The supported formats are: traditional BSD (this seems to come from V7 at least, short names only and __.SYMDEF), BSD4.4 (long names with #1/ and __.SYMDEF) and SysV (extra name table and //). The only format not supported are broken traditional archives where the member names are truncated to 15 characters. Errors in the archive are not ignored anymore, but cause make to stop with an error message. The command line option -A causes these errors to become non-fatal. This is almost compatible with previous usage except for the error message printed in any case. Use a type-safe intrusive list for the archive cache. Reviewed by: Max Okumoto <okumoto@ucsd.edu> (without new error handling)
* Make paths an explicite datatype instead of using the generic Lst.harti2005-03-231-1/+2
| | | | | | 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.
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-0/+58
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>
OpenPOWER on IntegriCloud