Rename library to hcrypto and install headerfiles in hcrypto/.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16549 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-01-13 13:32:57 +00:00
parent ded2929236
commit 5df6816433

View File

@@ -2,13 +2,16 @@
include $(top_srcdir)/Makefile.am.common
lib_LTLIBRARIES = libdes.la
libdes_la_LDFLAGS = -version-info 3:1:0
libdes_la_LIBADD = \
lib_LTLIBRARIES = libhcrypto.la
libhcrypto_la_LDFLAGS = -version-info 3:1:0
libhcrypto_la_LIBADD = \
$(top_builddir)/lib/asn1/libasn1.la \
$(LIB_roken)
include_HEADERS = \
hcryptoincludedir = $(includedir)/hcrypto
buildhcryptoinclude = $(buildinclude)/hcrypto
hcryptoinclude_HEADERS = \
aes.h \
bn.h \
des.h \
@@ -28,7 +31,19 @@ include_HEADERS = \
sha.h \
ui.h
build_HEADERZ = $(include_HEADERS)
install-build-headers:: $(hcryptoinclude_HEADERS)
@foo='$(hcryptoinclude_HEADERS)'; \
for f in $$foo; do \
f=`basename $$f`; \
if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
else file="$$f"; fi; \
if cmp -s $$file $(buildhcryptoinclude)/$$f 2> /dev/null ; then \
: ; else \
echo "cp $$file $(buildhcryptoinclude)/$$f";\
cp $$file $(buildhcryptoinclude)/$$f; \
fi ; \
done
noinst_PROGRAMS = test_engine_dso
@@ -48,7 +63,7 @@ TESTS = $(check_PROGRAMS)
LDADD = $(lib_LTLIBRARIES) $(LIB_roken)
libdes_la_SOURCES = \
libhcrypto_la_SOURCES = \
aes.c \
aes.h \
bn.c \