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
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
+