diff options
author | Mark Eichin <eichin@mit.edu> | 1994-11-18 19:21:44 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1994-11-18 19:21:44 +0000 |
commit | 480ea7ac0527387ae1b8c84949c7152ddfdc9b6a (patch) | |
tree | 1e4685167909c571c7b3f186b4dafd4d7eae37d4 /src/include/krb5/Makefile.in | |
parent | 871c9059b552a04ceb57eacf369a65395881ab66 (diff) | |
download | krb5-480ea7ac0527387ae1b8c84949c7152ddfdc9b6a.tar.gz krb5-480ea7ac0527387ae1b8c84949c7152ddfdc9b6a.tar.xz krb5-480ea7ac0527387ae1b8c84949c7152ddfdc9b6a.zip |
* configure.in: use KRB5_POSIX_LOCKS, AC_EGREP_HEADER. (from
epeisach).
[from 0961]
(ET_HEADERS): new variable for the names of the headers that
lib/krb5/error_tables builds and installs here (so that they get
pushed out to the installed include directory.)
(BUILT_HEADERS): locally built headers, for all, install, and
clean.
(clean): delete built and et headers.
[inspired by 0937, but done more thoroughly.]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4685 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/Makefile.in')
-rw-r--r-- | src/include/krb5/Makefile.in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in index 2693d7de60..64db707084 100644 --- a/src/include/krb5/Makefile.in +++ b/src/include/krb5/Makefile.in @@ -7,8 +7,12 @@ KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \ keytab.h krb5.h libos.h los-proto.h macros.h mit-des.h \ narrow.h proto.h rcache.h rsa-md4.h safepriv.h \ sysincl.h widen.h wordsize.h +# these are installed here for the build from lib/krb5/error_tables but +# also need to be in the installed tree +ET_HEADERS = adm_err.h asn1_err.h isode_err.h kdb5_err.h krb5_err.h +BUILT_HEADERS = autoconf.h config.h osconf.h -all:: autoconf.h osconf.h config.h +all:: $(BUILT_HEADERS) includes:: autoconf.h @@ -28,11 +32,10 @@ KRB5ROOT = @KRB5ROOT@ KRB5_INCDIR = $(KRB5ROOT)/include -install:: $(KRB5_HEADERS) config.h osconf.h autoconf.h - @set -x; for f in $(KRB5_HEADERS) ; \ - do cp $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ +install:: + @set -x; for f in $(KRB5_HEADERS) $(BUILT_HEADERS) $(ET_HEADERS); \ + do $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ done - cp config.h osconf.h $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \ -e "s+@KDB5DIR+$(KDB5DIR)+" \ @@ -56,4 +59,4 @@ config.h: $(CONFSRC) else (set -x; $(RM) config.h ; $(CP) config.new config.h) fi clean:: - $(RM) config.h config.new osconf.h osconf.new + $(RM) config.new osconf.new $(ET_HEADERS) $(BUILT_HEADERS) |