From c8cd64a31d99daef3d710e876f1c9f7c607f522f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 18 Jan 2001 03:48:05 +0000 Subject: [PATCH] use revised compile_et script instead of calling awk directly git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12913 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 7 +++++++ 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 + + * 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 * 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 # -- 2.26.2