X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2FMakefile.am;h=47f7204491e8e6810f2b9556744055b1bb07944b;hp=cce35796f149d7f2b1c4cefe300b37edde72d852;hb=382d15d447b7a95390decfa783836ae4fe255b3d;hpb=2dc218143c7859f7529396dc121ae08e2fd78da0 diff --git a/lib/silccrypt/Makefile.am b/lib/silccrypt/Makefile.am index cce35796..47f72044 100644 --- a/lib/silccrypt/Makefile.am +++ b/lib/silccrypt/Makefile.am @@ -18,13 +18,12 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign -noinst_LIBRARIES = libsilccrypt.a +noinst_LTLIBRARIES = libsilccrypt.la -libsilccrypt_a_SOURCES = \ +libsilccrypt_la_SOURCES = \ none.c \ rc5.c \ rc6.c \ - mars.c \ md5.c \ aes.c \ rsa.c \ @@ -39,6 +38,15 @@ libsilccrypt_a_SOURCES = \ 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 \ @@ -46,7 +54,6 @@ include_HEADERS = \ cast.h \ ciphers_def.h \ ciphers.h \ - mars.h \ md5.h \ none.h \ pkcs1.h \ @@ -63,6 +70,6 @@ include_HEADERS = \ twofish.h endif -EXTRA_DIST = *.h +EXTRA_DIST = *.h tests include $(top_srcdir)/Makefile.defines.in