blob: bcf9ca8abaef104b0e0d28eec29e5556c02105cb (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
--- configure.ac 1970-01-01 01:00:00.000000000 +0100
+++ configure.ac 2007-08-18 16:31:52.575954410 +0100
@@ -0,0 +1,14 @@
+# -*- Autoconf -*-
+AC_PREREQ(2.59)
+AC_INIT(amd, 2.2.0, davis@cise.ufl.edu)
+AC_CONFIG_SRCDIR([Source/amd_global.c])
+AC_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_INSTALL
+AC_PROG_F77
+AC_PROG_LIBTOOL
+AC_CHECK_LIB(m, sqrt)
+AC_CONFIG_FILES([Source/Makefile
+ Demo/Makefile
+ Makefile])
+AC_OUTPUT
--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Demo/Makefile.am 2007-08-18 17:58:28.566755030 +0100
@@ -0,0 +1,45 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+LDADD = $(top_builddir)/Source/libamd.la -lm
+check_PROGRAMS = \
+ amd_simple \
+ amd_demo \
+ amd_demo2 \
+ amd_l_demo \
+ amd_f77demo \
+ amd_f77simple
+# buggy demo
+# amd_f77cross
+
+amd_demo_SOURCES = amd_demo.c
+amd_l_demo_SOURCES = amd_l_demo.c
+amd_demo2_SOURCES = amd_demo2.c
+amd_simple_SOURCES = amd_simple.c
+
+amd_f77demo_SOURCES = amd_f77demo.f
+amd_f77demo_LDADD = $(LDADD) $(top_builddir)/Source/libamdf77.la
+amd_f77simple_SOURCES = amd_f77simple.f
+amd_f77simple_LDADD = $(LDADD) $(top_builddir)/Source/libamdf77.la
+amd_f77wrapper_CPPFLAGS = -DDINT
+#amd_f77cross_SOURCES = amd_f77cross.f amd_f77wrapper.f
+#amd_f77cross_LDADD = $(LDADD) $(top_builddir)/Source/libamdf77.la
+
+check-local: $(check_PROGRAMS)
+ @for i in $(check_PROGRAMS); do \
+ echo " ----------" ; \
+ ./$$i$(EXEEXT) > my_$$i.out; \
+ diff my_$$i.out $(srcdir)/$$i.out > /dev/null; \
+ if test "x$$?" = "x0"; then \
+ echo "Test $$i PASSED."; \
+ else \
+ echo "** Test $$i FAILED. Diff: "; \
+ diff my_$$i.out $(srcdir)/$$i.out; \
+ doexit="yes"; \
+ fi; \
+ done; \
+ echo " ----------" ; \
+ if test "x$$doexit" = "xyes"; then \
+ exit 1; \
+ fi
+
+clean-local:
+ -rm -f my_*.out
--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Makefile.am 2007-08-18 14:20:51.230268114 +0100
@@ -0,0 +1,3 @@
+SUBDIRS = Demo Source
+EXTRA_DIST = README.txt
+include_HEADERS = Include/amd.h Include/amd_internal.h
--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Source/Makefile.am 2007-08-18 16:32:15.237245803 +0100
@@ -0,0 +1,26 @@
+AMDCSRC = \
+ amd_1.c \
+ amd_2.c \
+ amd_aat.c \
+ amd_control.c \
+ amd_defaults.c \
+ amd_dump.c \
+ amd_info.c \
+ amd_order.c \
+ amd_postorder.c \
+ amd_post_tree.c \
+ amd_preprocess.c \
+ amd_valid.c
+
+lib_LTLIBRARIES = libamd.la libamdf77.la
+noinst_LTLIBRARIES = libamdi.la libamdl.la
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+
+libamdi_la_SOURCES = $(AMDCSRC)
+libamdi_la_CPPFLAGS = $(AM_CPPFLAGS) -DDINT
+libamdl_la_SOURCES = $(AMDCSRC)
+libamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
+
+libamd_la_SOURCES = amd_global.c
+libamd_la_LIBADD = libamdl.la libamdi.la
+libamdf77_la_SOURCES = amd.f amdbar.f
|