diff options
| author | Mark Eichin <eichin@mit.edu> | 1994-06-10 19:53:47 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1994-06-10 19:53:47 +0000 |
| commit | 2913326318be4c15f58e86f5e482f5b349c6d693 (patch) | |
| tree | cf8470ff48d9599ac97a42e3a9703be328f3b4ce /src | |
| parent | 2ed046269b2365f118206914c4dd73eac90a0552 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/et/Makefile.in | 21 | ||||
| -rw-r--r-- | src/util/et/com_err.c | 2 | ||||
| -rw-r--r-- | 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 <krb5/config.h> for STDARG_PROTOTYPES */ -#include <krb5/krb5.h> +/* #include <krb5/krb5.h> -- now tested locally*/ #if __STDC__ || defined(STDARG_PROTOTYPES) #include <stdarg.h> 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 <stdio.h> char *str_concat(), *ds(), *quote(); #ifndef __STDC__ -char *malloc(), *realloc(); +#ifdef _AIX +#include <stdlib.h> +#else +char *malloc(), *realloc(); +#endif #endif char *current_token = (char *)NULL; extern char *table_name; |
