summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/rand/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/auxiliaryFunctions/rand/Makefile.am')
-rw-r--r--src/auxiliaryFunctions/rand/Makefile.am54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/rand/Makefile.am b/src/auxiliaryFunctions/rand/Makefile.am
new file mode 100644
index 00000000..950432b3
--- /dev/null
+++ b/src/auxiliaryFunctions/rand/Makefile.am
@@ -0,0 +1,54 @@
+##
+## -*- makefile -*-
+##
+## Makefile
+## Made by Bruno JOFRET <bruno.jofret@inria.fr>
+##
+## Started on Fri Jan 5 10:19:16 2007 jofret
+## Last update Wed Apr 18 18:44:03 2007 jofret
+##
+## Copyright INRIA 2007
+##
+
+AM_CFLAGS = -I ../../type \
+ -I ../includes
+
+instdir = $(top_builddir)/lib
+
+inst_LIBRARIES = libRand.a
+
+noinst_LIBRARIES = libRand.a
+
+libRand_a_SOURCES = $(HEAD) $(SRC)
+
+SRC = srands.c \
+ drands.c \
+ crands.c \
+ zrands.c \
+ sranda.c \
+ dranda.c \
+ cranda.c \
+ zranda.c
+
+HEAD = ../includes/rand.h
+
+####
+# Checking Part
+####
+
+check_INCLUDES = -I $(top_builddir)/elementaryFunctions/includes \
+ -I $(top_builddir)/type
+
+check_PROGRAMS = testRand
+
+TESTS = testRand
+
+#
+# -*- Rand Tests -*-
+#
+testRand_SOURCES = testRand.c
+testRand_CFLAGS = $(check_INCLUDES)
+testRand_LDADD = $(top_builddir)/lib/libDoubleComplex.a \
+ $(top_builddir)/lib/libFloatComplex.a \
+ $(top_builddir)/lib/libRand.a \
+ @LIBMATH@