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:
@@ -2,13 +2,16 @@
|
|||||||
|
|
||||||
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
|
||||||
|
buildhcryptoinclude = $(buildinclude)/hcrypto
|
||||||
|
|
||||||
|
hcryptoinclude_HEADERS = \
|
||||||
aes.h \
|
aes.h \
|
||||||
bn.h \
|
bn.h \
|
||||||
des.h \
|
des.h \
|
||||||
@@ -28,7 +31,19 @@ include_HEADERS = \
|
|||||||
sha.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 \
|
||||||
|
Reference in New Issue
Block a user