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,33 +2,48 @@
include $(top_srcdir)/Makefile.am.common include $(top_srcdir)/Makefile.am.common
lib_LTLIBRARIES = libdes.la lib_LTLIBRARIES = libhcrypto.la
libdes_la_LDFLAGS = -version-info 3:1:0 libhcrypto_la_LDFLAGS = -version-info 3:1:0
libdes_la_LIBADD = \ libhcrypto_la_LIBADD = \
$(top_builddir)/lib/asn1/libasn1.la \ $(top_builddir)/lib/asn1/libasn1.la \
$(LIB_roken) $(LIB_roken)
include_HEADERS = \ hcryptoincludedir = $(includedir)/hcrypto
aes.h \ buildhcryptoinclude = $(buildinclude)/hcrypto
bn.h \
des.h \ hcryptoinclude_HEADERS = \
dh.h \ aes.h \
dsa.h \ bn.h \
engine.h \ des.h \
evp.h \ dh.h \
hmac.h \ dsa.h \
md2.h \ engine.h \
md4.h \ evp.h \
md5.h \ hmac.h \
pkcs12.h \ md2.h \
rand.h \ md4.h \
rc2.h \ md5.h \
rc4.h \ pkcs12.h \
rsa.h \ rand.h \
sha.h \ rc2.h \
rc4.h \
rsa.h \
sha.h \
ui.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 noinst_PROGRAMS = test_engine_dso
@@ -48,7 +63,7 @@ TESTS = $(check_PROGRAMS)
LDADD = $(lib_LTLIBRARIES) $(LIB_roken) LDADD = $(lib_LTLIBRARIES) $(LIB_roken)
libdes_la_SOURCES = \ libhcrypto_la_SOURCES = \
aes.c \ aes.c \
aes.h \ aes.h \
bn.c \ bn.c \