From 8e59fa77ee76f2dd68a1f1f07635638e2a88624c Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 24 Mar 1995 22:24:45 +0000 Subject: [PATCH] adm_defs.h (ADM5_DEFAULT_PORT): Add definition of default administration port. Makefile.in (install): Delete the destination header files before copying in the new ones. Also install autoconf.h. Only install header files if the header file has changed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5230 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 11 ++++++++++- src/include/krb5/Makefile.in | 20 +++++++++++++------- src/include/krb5/adm_defs.h | 1 + 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 394b89ee9..bb005272c 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,8 +1,17 @@ +Fri Mar 24 14:15:51 1995 + + * adm_defs.h (ADM5_DEFAULT_PORT): Add definition of default + administration port. + + * Makefile.in (install): Delete the destination header files + before copying in the new ones. Also install autoconf.h. + Only install header files if the header file has changed. + Wed Mar 22 11:37:24 1995 Keith Vetter (keithv@fusion.com) * k5-config.h: added HAVE_SYS_TYPES_H. Cleaned up the loading of sys/types.h which john added earlier. Specifically, we always - have it and it's missing some typedefs used by this code. + have it and it's missing some typedefs used by this code. Tue Mar 21 18:42:23 1995 Keith Vetter (keithv@fusion.com) diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in index 4d77c085a..bf1652a5d 100644 --- a/src/include/krb5/Makefile.in +++ b/src/include/krb5/Makefile.in @@ -36,13 +36,19 @@ clean:: depend:: -install:: - @set -x; for f in $(KRB5_HEADERS); \ - do $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ - done; \ - for f in $(BUILT_HEADERS) $(ET_HEADERS); \ - do $(INSTALL_DATA) $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ - done +install:: $(KRB5_HEADERS) config.h osconf.h autoconf.h + @set -x; for f in $(KRB5_HEADERS) ; \ + do if cmp -s $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + then true; else \ + $(RM) $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + cp $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ + fi; done + @set -x; for f in config.h osconf.h autoconf.h ; \ + do if cmp -s $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + then true; else \ + $(RM) $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f; \ + cp $$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ + fi; done PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \ -e "s+@KDB5DIR+$(KDB5DIR)+" \ diff --git a/src/include/krb5/adm_defs.h b/src/include/krb5/adm_defs.h index d701334f6..6bca9c0b7 100644 --- a/src/include/krb5/adm_defs.h +++ b/src/include/krb5/adm_defs.h @@ -31,6 +31,7 @@ #define ADM5_VERSIZE strlen(ADM5_VERSTR) /* This used to be kerberos_master */ #define ADM5_PORTNAME "kerberos-adm" +#define ADM5_DEFAULT_PORT 752 #define ADM5_CPW_VERSION "V5CPWS01" #define ADM5_ADM_VERSION "V5ADMS01" #define CPWNAME "kadmin" -- 2.26.2