X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2FMakefile.am;h=47f7204491e8e6810f2b9556744055b1bb07944b;hp=a1441d19e464be92c185adf7edf7308e1791190b;hb=382d15d447b7a95390decfa783836ae4fe255b3d;hpb=bb1973faaa81ead23b3d5e05b45cddd8a47d51f7 diff --git a/lib/silccrypt/Makefile.am b/lib/silccrypt/Makefile.am index a1441d19..47f72044 100644 --- a/lib/silccrypt/Makefile.am +++ b/lib/silccrypt/Makefile.am @@ -18,27 +18,58 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign -noinst_LIBRARIES = libsilccrypt.a +noinst_LTLIBRARIES = libsilccrypt.la -libsilccrypt_a_SOURCES = \ +libsilccrypt_la_SOURCES = \ none.c \ - blowfish.c \ rc5.c \ rc6.c \ - mars.c \ md5.c \ - rijndael.c \ + aes.c \ rsa.c \ sha1.c \ twofish.c \ + blowfish.c \ + cast.c \ silccipher.c \ silchash.c \ silchmac.c \ silcrng.c \ - silcpkcs.c + silcpkcs.c \ + pkcs1.c + +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 +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