From 2913326318be4c15f58e86f5e482f5b349c6d693 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 10 Jun 1994 19:53:47 +0000 Subject: [PATCH] real Makefile.in, aix tweeks for malloc decl, eliminate use of krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3728 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/Makefile.in | 21 +++++++++++++++++++-- src/util/et/com_err.c | 2 +- src/util/et/error_table.y | 6 +++++- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/util/et/Makefile.in b/src/util/et/Makefile.in index 804343013..cadb4f3a2 100644 --- a/src/util/et/Makefile.in +++ b/src/util/et/Makefile.in @@ -1,4 +1,21 @@ -#### insert configury here +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +LEX = @LEX@ +LEXLIB = @LEXLIB@ + +ARCHIVE = @ARCHIVE@ +RANLIB = @RANLIB@ +RM = rm -f + +all:: + BUILDTOP=../.. LINTFLAGS=-uhvb LINTFILES= error_message.c et_name.c init_et.c com_err.c @@ -62,7 +79,7 @@ all:: libcom_err.a libcom_err.a: $(LIBOBJS) $(RM) $@.bak - -$(MV) $@ $@.bak + -mv $@ $@.bak $(ARCHIVE) $@ $(LIBOBJS) $(RANLIB) $@ diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index c3aa8556d..fa66a113c 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -8,7 +8,7 @@ #include "mit-sipb-copyright.h" /* Need for STDARG_PROTOTYPES */ -#include +/* #include -- now tested locally*/ #if __STDC__ || defined(STDARG_PROTOTYPES) #include diff --git a/src/util/et/error_table.y b/src/util/et/error_table.y index b65532d8f..03e705653 100644 --- a/src/util/et/error_table.y +++ b/src/util/et/error_table.y @@ -2,7 +2,11 @@ #include char *str_concat(), *ds(), *quote(); #ifndef __STDC__ -char *malloc(), *realloc(); +#ifdef _AIX +#include +#else +char *malloc(), *realloc(); +#endif #endif char *current_token = (char *)NULL; extern char *table_name; -- 2.26.2