AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-SUBDIRS = gmp-3.0.1
+if SILC_BUILD_GMP
+SUBDIRS = gmp
+else
+SUBDIRS =
+endif
noinst_LIBRARIES = libsilcmath.a
libsilcmath_a_SOURCES = \
silcprimegen.c \
- modinv.c
+ modinv.c \
+ mpbin.c
EXTRA_DIST = *.h
-INCLUDES = -I. -I.. -I../silccrypt -I../silccore -I../silcske \
- -I../silcsim -I../.. -I../../includes \
- -I./gmp-3.0.1
+include $(top_srcdir)/Makefile.defines
+