projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged silc_1_0_branch to trunk.
[crypto.git]
/
lib
/
silcmath
/
Makefile.ad
diff --git
a/lib/silcmath/Makefile.ad
b/lib/silcmath/Makefile.ad
index a65c9d88f9dceb8e777f30e090eb39172868001e..3afe5f6e370fd026df9de4696873155e63d4112a 100644
(file)
--- a/
lib/silcmath/Makefile.ad
+++ b/
lib/silcmath/Makefile.ad
@@
-17,20
+17,35
@@
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-if SILC_MP_NSS_MPI
-SUBDIRS = mpi
-else
-SUBDIRS =
-endif
+noinst_LTLIBRARIES = libsilcmath.la
-DIST_SUBDIRS = mpi
+if SILC_MP_SILCMATH
+MP_SOURCE = \
+#ifdef SILC_DIST_TMA
+ mp_tma.c \
+ tma.c
+#endif SILC_DIST_TMA
+#ifdef SILC_DIST_TFM
+ mp_tfm.c \
+ tfm.c
+#endif SILC_DIST_TFM
-noinst_LTLIBRARIES = libsilcmath.la
+MP_HEADER = \
+#ifdef SILC_DIST_TMA
+ mp_tma.h \
+ tma.h \
+ tma_class.h \
+ tma_superclass.h
+#endif SILC_DIST_TMA
+#ifdef SILC_DIST_TFM
+ mp_tfm.h \
+ tfm.h
+#endif SILC_DIST_TFM
-if SILC_MP_NSS_MPI
-MP_SOURCE = mp_mpi.c
+AM_CFLAGS = @MATH_CFLAGS@
else
MP_SOURCE = mp_gmp.c
else
MP_SOURCE = mp_gmp.c
+MP_HEADER =
endif
libsilcmath_la_SOURCES = \
endif
libsilcmath_la_SOURCES = \
@@
-40,15
+55,13
@@
libsilcmath_la_SOURCES = \
$(MP_SOURCE)
#ifdef SILC_DIST_TOOLKIT
$(MP_SOURCE)
#ifdef SILC_DIST_TOOLKIT
-MP_HEADER = mpi/mpi.h mpi/mplogic.h mpi/mpi-config.h
include_HEADERS = \
mp_gmp.h \
include_HEADERS = \
mp_gmp.h \
-
mp_mpi.h
\
+
$(MP_HEADER)
\
silcmath.h \
silcmath.h \
- silcmp.h \
- $(MP_HEADER)
+ silcmp.h
#endif SILC_DIST_TOOLKIT
#endif SILC_DIST_TOOLKIT
-EXTRA_DIST =
mp_gmp.c mp_mpi.c *
.h
+EXTRA_DIST =
silcmp.h silcmath.h $(MP_SOURCE) $(MP_HEADER) mp_gmp.c mp_gmp
.h
include $(top_srcdir)/Makefile.defines.in
include $(top_srcdir)/Makefile.defines.in