diff options
-rw-r--r-- | src/config/ChangeLog | 7 | ||||
-rw-r--r-- | src/config/pre.in | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog index f0a9c3dff..b6f986dee 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,10 @@ +2001-01-17 Ken Raeburn <raeburn@mit.edu> + + * pre.in (COMPILE_ET): New variable. + (COMPILE_ET_H, COMPILE_ET_C): Deleted. + (.et.h, .et.c): Use $(COMPILE_ET) instead of invoking awk + explicitly. + 2000-10-27 Ezra Peisach <epeisach@mit.edu> * post.in (Makefile): When running autoconf, use AUTOCONFFLAGS diff --git a/src/config/pre.in b/src/config/pre.in index e8c1bfa79..de9ffd2f9 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -302,16 +302,15 @@ TCL_INCLUDES = @TCL_INCLUDES@ # error table rules # ### /* these are invoked as $(...) foo.et, which works, but could be better */ -COMPILE_ET_H= $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$@ -COMPILE_ET_C= $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$@ +COMPILE_ET= $(BUILDTOP)/util/et/compile_et -d $(SRCTOP)/util/et .SUFFIXES: .h .c .et .ct .et.h: - $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$*.h $< + $(COMPILE_ET) $< .et.c: - $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$*.c $< + $(COMPILE_ET) $< # rule to make object files # |