projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silcmath
/
Makefile.am
diff --git
a/lib/silcmath/Makefile.am
b/lib/silcmath/Makefile.am
index 663a2ef8c7d899ee1207c72050b07e20cb90ed5a..e362edcb8924eef9943afd51501edd8878916642 100644
(file)
--- a/
lib/silcmath/Makefile.am
+++ b/
lib/silcmath/Makefile.am
@@
-18,18
+18,25
@@
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-if SILC_
BUILD_GMP
-SUBDIRS =
gmp
+if SILC_
MP_NSS_MPI
+SUBDIRS =
mpi
else
SUBDIRS =
endif
noinst_LIBRARIES = libsilcmath.a
else
SUBDIRS =
endif
noinst_LIBRARIES = libsilcmath.a
+if SILC_MP_NSS_MPI
+MP_SOURCE = mp_mpi.c
+else
+MP_SOURCE = mp_gmp.c
+endif
+
libsilcmath_a_SOURCES = \
silcprimegen.c \
modinv.c \
libsilcmath_a_SOURCES = \
silcprimegen.c \
modinv.c \
- mpbin.c
+ mpbin.c \
+ $(MP_SOURCE)
EXTRA_DIST = *.h
EXTRA_DIST = *.h