projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged from silc_1_0_branch.
[silc.git]
/
lib
/
silccrypt
/
Makefile.am
diff --git
a/lib/silccrypt/Makefile.am
b/lib/silccrypt/Makefile.am
index 933f5e163cca4a93ed4c0ea3d4febef13479a4be..47f7204491e8e6810f2b9556744055b1bb07944b 100644
(file)
--- a/
lib/silccrypt/Makefile.am
+++ b/
lib/silccrypt/Makefile.am
@@
-18,19
+18,19
@@
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-noinst_L
IBRARIES = libsilccrypt.
a
+noinst_L
TLIBRARIES = libsilccrypt.l
a
-libsilccrypt_a_SOURCES = \
+libsilccrypt_
l
a_SOURCES = \
none.c \
none.c \
- blowfish.c \
rc5.c \
rc6.c \
rc5.c \
rc6.c \
- mars.c \
md5.c \
aes.c \
rsa.c \
sha1.c \
twofish.c \
md5.c \
aes.c \
rsa.c \
sha1.c \
twofish.c \
+ blowfish.c \
+ cast.c \
silccipher.c \
silchash.c \
silchmac.c \
silccipher.c \
silchash.c \
silchmac.c \
@@
-38,8
+38,38
@@
libsilccrypt_a_SOURCES = \
silcpkcs.c \
pkcs1.c
silcpkcs.c \
pkcs1.c
-EXTRA_DIST = *.h
+if SILC_LIBTOOLFIX
+# Tell libtool to compile silccrypt as shared since silcsim will need it.
+LTFLAGS = --libtool-enable-shared
+else
+LTFLAGS =
+endif
+
+CFLAGS = $(LTFLAGS)
+
+if SILC_DIST_TOOLKIT
+include_HEADERS = \
+ aes.h \
+ blowfish.h \
+ cast.h \
+ ciphers_def.h \
+ ciphers.h \
+ md5.h \
+ none.h \
+ pkcs1.h \
+ rc5.h \
+ rc6.h \
+ rsa.h \
+ sha1.h \
+ silccipher.h \
+ silcdh.h \
+ silchash.h \
+ silchmac.h \
+ silcpkcs.h \
+ silcrng.h \
+ twofish.h
+endif
+
+EXTRA_DIST = *.h tests
-INCLUDES = -I. -I.. -I../silccore -I../silcmath -I../silcske \
- -I../silcsim -I../.. -I../silcutil -I../../includes \
- -I../silcmath/gmp -I../trq
+include $(top_srcdir)/Makefile.defines.in