summaryrefslogtreecommitdiff
blob: 3f96170cfa6ea8a6c2fea37a8550771d0d5fad1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
--- configure.ac 	1970-01-01 01:00:00.000000000 +0100
+++ configure.ac	2008-01-30 18:34:40.659910749 +0000
@@ -0,0 +1,10 @@
+# -*- Autoconf -*-
+AC_PREREQ(2.59)
+AC_INIT(csparse, 2.2.1, davis@cise.ufl.edu)
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+AC_CHECK_LIB(m, sqrt)
+AC_CHECK_HEADERS(UFconfig.h)
+AC_CONFIG_FILES([Makefile Source/Makefile Demo/Makefile])
+AC_OUTPUT
--- Makefile.am 	1970-01-01 01:00:00.000000000 +0100
+++ Makefile.am	2008-01-30 18:35:32.154594734 +0000
@@ -0,0 +1,4 @@
+SUBDIRS = Source Demo
+EXTRA_DIST = README.txt
+include_HEADERS = Include/cs.h
+
--- Source/Makefile.am 	1970-01-01 01:00:00.000000000 +0100
+++ Source/Makefile.am	2008-01-30 18:45:50.337822988 +0000
@@ -0,0 +1,12 @@
+AM_CPPFLAGS = -I$(top_builddir)/Include
+lib_LTLIBRARIES = libcsparse.la
+libcsparse_la_SOURCES = \
+	cs_add.c cs_amd.c cs_chol.c cs_cholsol.c cs_counts.c cs_cumsum.c \
+	cs_droptol.c cs_dropzeros.c cs_dupl.c cs_entry.c \
+	cs_etree.c cs_fkeep.c cs_gaxpy.c cs_happly.c cs_house.c cs_ipvec.c \
+	cs_lsolve.c cs_ltsolve.c cs_lu.c cs_lusol.c cs_util.c cs_multiply.c \
+	cs_permute.c cs_pinv.c cs_post.c cs_pvec.c cs_qr.c cs_qrsol.c \
+	cs_scatter.c cs_schol.c cs_sqr.c cs_symperm.c cs_tdfs.c cs_malloc.c \
+	cs_transpose.c cs_compress.c cs_usolve.c cs_utsolve.c cs_scc.c \
+	cs_maxtrans.c cs_dmperm.c cs_updown.c cs_print.c cs_norm.c cs_load.c \
+	cs_dfs.c cs_reach.c cs_spsolve.c cs_ereach.c cs_leaf.c cs_randperm.c
--- Demo/Makefile.am 	1970-01-01 01:00:00.000000000 +0100
+++ Demo/Makefile.am	2008-01-31 11:11:28.880545257 +0000
@@ -0,0 +1,21 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+LDADD = $(top_builddir)/Source/libcsparse.la -lm
+
+check_PROGRAMS = cs_demo1 cs_demo2 cs_demo3
+
+check-local: $(check_PROGRAMS)
+	- ./cs_demo1 < ../Matrix/t1
+	- ./cs_demo2 < ../Matrix/t1
+	- ./cs_demo2 < ../Matrix/ash219
+	- ./cs_demo2 < ../Matrix/bcsstk01
+	- ./cs_demo2 < ../Matrix/fs_183_1
+	- ./cs_demo2 < ../Matrix/mbeacxc
+	- ./cs_demo2 < ../Matrix/west0067
+	- ./cs_demo2 < ../Matrix/lp_afiro
+	- ./cs_demo2 < ../Matrix/bcsstk16
+	- ./cs_demo3 < ../Matrix/bcsstk01
+	- ./cs_demo3 < ../Matrix/bcsstk16
+
+cs_demo1_SOURCE = cs_demo1.c
+cs_demo2_SOURCES= cs_demo2.c cs_demo.c cs_demo.h
+cs_demo3_SOURCES = cs_demo3.c cs_demo.c cs_demo.h