Rename the directive_hash.[ch] files to hash_tables.[ch] now
that there are more than one hash table in them. There is no history to preserve here, so go without a repo-copy. Asked for by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
e32931227c
commit
be7a5506e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145683
@ -4,9 +4,9 @@
|
||||
|
||||
PROG= make
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
SRCS= arch.c buf.c compat.c cond.c dir.c directive_hash.c for.c \
|
||||
hash.c job.c lst.c main.c make.c parse.c str.c suff.c targ.c \
|
||||
util.c var.c var_modify.c
|
||||
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c hash_tables.c \
|
||||
job.c lst.c main.c make.c parse.c str.c suff.c targ.c util.c \
|
||||
var.c var_modify.c
|
||||
|
||||
NO_WERROR=
|
||||
WARNS?= 3
|
||||
@ -56,7 +56,7 @@ hash:
|
||||
echo ' */' ; \
|
||||
echo '#include <sys/types.h>' ; \
|
||||
echo ; \
|
||||
echo '#include "directive_hash.h"' ; \
|
||||
echo '#include "hash_tables.h"' ; \
|
||||
echo ; \
|
||||
cat ${.CURDIR}/parse.c | sed \
|
||||
-e '1,/DIRECTIVES-START-TAG/d' \
|
||||
@ -91,7 +91,7 @@ hash:
|
||||
-e 's/= T0\[/= keyword_T0\[/' \
|
||||
-e 's/= T1\[/= keyword_T1\[/' \
|
||||
-e 's/g\[f/keyword_g[f/g' \
|
||||
) > ${.CURDIR}/directive_hash.c
|
||||
) > ${.CURDIR}/hash_tables.c
|
||||
|
||||
# Set the shell which make(1) uses. Bourne is the default, but a decent
|
||||
# Korn shell works fine, and much faster. Using the C shell for this
|
||||
|
@ -1,12 +1,12 @@
|
||||
/*
|
||||
* DO NOT EDIT
|
||||
* $FreeBSD$
|
||||
* auto-generated from FreeBSD: src/usr.bin/make/parse.c,v 1.98 2005/04/28 12:05:43 harti Exp
|
||||
* auto-generated from FreeBSD: src/usr.bin/make/parse.c,v 1.99 2005/04/29 14:37:44 harti Exp
|
||||
* DO NOT EDIT
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "directive_hash.h"
|
||||
#include "hash_tables.h"
|
||||
|
||||
/*
|
||||
* d=2
|
@ -23,11 +23,10 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $DragonFly$
|
||||
* $FreeBSD$
|
||||
*/
|
||||
#ifndef directive_hash_h_
|
||||
#define directive_hash_h_
|
||||
#ifndef hash_tables_h_
|
||||
#define hash_tables_h_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -82,10 +82,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include "cond.h"
|
||||
#include "config.h"
|
||||
#include "dir.h"
|
||||
#include "directive_hash.h"
|
||||
#include "for.h"
|
||||
#include "globals.h"
|
||||
#include "GNode.h"
|
||||
#include "hash_tables.h"
|
||||
#include "job.h"
|
||||
#include "make.h"
|
||||
#include "nonints.h"
|
||||
|
Loading…
Reference in New Issue
Block a user