summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/asn.1
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1992-02-23 12:24:38 +0000
committerJohn Carr <jfc@mit.edu>1992-02-23 12:24:38 +0000
commit501475746cf54403d486f8892cf145634240ca87 (patch)
treedea766ac00ba17def051f1394077e210d8fddeef /src/lib/krb5/asn.1
parenta3b17b6725ff5015ee36a57dc380034bfe5a387d (diff)
downloadkrb5-501475746cf54403d486f8892cf145634240ca87.tar.gz
krb5-501475746cf54403d486f8892cf145634240ca87.tar.xz
krb5-501475746cf54403d486f8892cf145634240ca87.zip
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
Diffstat (limited to 'src/lib/krb5/asn.1')
-rw-r--r--src/lib/krb5/asn.1/Imakefile16
1 files changed, 16 insertions, 0 deletions
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::