From: John Carr Date: Sun, 23 Feb 1992 12:24:38 +0000 (+0000) Subject: Install include files. X-Git-Tag: krb5-1.0-beta2~226 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=501475746cf54403d486f8892cf145634240ca87;p=krb5.git Install include files. Add hack to work around problems with imake on some systems with SYSV style C preprocessors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2236 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/Imakefile b/src/lib/krb5/asn.1/Imakefile index c361d5422..fd25d30bf 100644 --- a/src/lib/krb5/asn.1/Imakefile +++ b/src/lib/krb5/asn.1/Imakefile @@ -154,7 +154,23 @@ CopyHeader(KRB5-types.h,$(EHDRDIR)) CopyHeader(KRB5_defs.h,$(EHDRDIR)) CopyHeader(KRB5_pre_defs.h,$(EHDRDIR)) +Krb5InstallHeaders(KRB5_defs.h KRB5_pre_defs.h KRB5-types.h, $(KRB5_INCDIR)/krb5/asn.1) + clean:: $(RM) KRB5.ph KRB5_defs.h KRB5_pre_defs.h KRB5-types.h KRB5_tables.c DependTarget() + +#define IHaveSpecialMakefileTarget + +Makefile:: Imakefile + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -s Makefile.new + $(MAKE) -f Makefile.new noop + -@if [ -f Makefile ]; then \ + echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak";\ + $(RM) Makefile.bak; $(MV) Makefile Makefile.bak;\ + fi + sed 's/^@/ @/' Makefile.new > Makefile || $(MV) Makefile.new Makefile + -$(RM) Makefile.new + +noop::