From: Ezra Peisach Date: Tue, 3 Oct 2000 16:09:10 +0000 (+0000) Subject: * Makefile.in: Install krb524.h and krb524_err.h header file so X-Git-Tag: krb5-1.3-alpha1~1867 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2cfdfbbc7bec6b08adb910c55dc0dbf4e9b96d21;p=krb5.git * Makefile.in: Install krb524.h and krb524_err.h header file so applications can include for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12712 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/krb524/ChangeLog b/src/krb524/ChangeLog index 0112ab16d..bb2bd42be 100644 --- a/src/krb524/ChangeLog +++ b/src/krb524/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Ezra Peisach + + * Makefile.in: Install krb524.h and krb524_err.h header file so + applications can include for prototypes. + 2000-08-09 Tom Yu * cnv_tkt_skey.c: Fix up static prototypes for diff --git a/src/krb524/Makefile.in b/src/krb524/Makefile.in index c6bf0cc5c..64c942de2 100644 --- a/src/krb524/Makefile.in +++ b/src/krb524/Makefile.in @@ -76,12 +76,31 @@ STLIBOBJS = \ GENS = krb524_err.c krb524_err.h -all-unix:: $(GENS) +KRB524_HDR=$(BUILDTOP)$(S)include$(S)krb524.h + +all-unix:: $(GENS) all-unix:: all-libs +all-unix:: includes all-unix:: krb524d krb524test k524init -all-windows:: $(OUTPRE)krb524.lib $(OUTPRE)k524init.exe +includes:: krb524.h krb524_err.h + if cmp $(srcdir)/krb524.h \ + $(BUILDTOP)/include/krb524.h >/dev/null 2>&1; then :; \ + else \ + (set -x; $(RM) $(BUILDTOP)/include/krb524.h; \ + $(CP) $(srcdir)/krb524.h \ + $(BUILDTOP)/include/krb524.h) ; \ + fi + if cmp $(srcdir)/krb524_err.h \ + $(BUILDTOP)/include/krb524_err.h >/dev/null 2>&1; then :; \ + else \ + (set -x; $(RM) $(BUILDTOP)/include/krb524_err.h; \ + $(CP) krb524_err.h \ + $(BUILDTOP)/include/krb524_err.h) ; \ + fi + +all-windows:: $(KRB524_HDR) $(OUTPRE)krb524.lib $(OUTPRE)k524init.exe krb524test: libkrb524.a test.o $(KRB524_DEPLIB) $(KRB4COMPAT_DEPLIBS) $(CC_LINK) -o krb524test test.o $(KRB524_LIB) $(KRB4COMPAT_LIBS) @@ -106,3 +125,7 @@ install-unix:: install-libs clean-unix:: clean-libs clean-libobjs $(RM) $(OBJS) $(GENS) core *~ *.bak #* $(RM) krb524test krb524d k524init test.o krb524d.o k524init.o + $(RM) $(BUILDTOP)/include/krb524.h $(BUILDTOP)/include/krb524_err.h + +$(KRB524_HDR): krb524.h + $(CP) krb524.h $@