summaryrefslogtreecommitdiff
blob: 9beb832f899fd4b49c73ec0d083f466236590d75 (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
diff -Nur AMD.orig/Demo/Makefile.am AMD/Demo/Makefile.am
--- AMD.orig/Demo/Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ AMD/Demo/Makefile.am	2007-02-16 18:09:36.000000000 +0000
@@ -0,0 +1,42 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+AM_LDFLAGS = -lm
+check_PROGRAMS = \
+	amd_simple \
+	amd_demo \
+	amd_demo2 \
+	amd_l_demo \
+	amd_f77demo \
+	amd_f77simple \
+	amd_f77cross
+
+amd_demo_SOURCES = amd_demo.c
+amd_demo_LDADD = $(top_builddir)/Source/libamd.la
+
+amd_l_demo_SOURCES = amd_l_demo.c
+amd_l_demo_LDADD = $(top_builddir)/Source/libamd.la
+
+amd_demo2_SOURCES = amd_demo2.c
+amd_demo2_LDADD = $(top_builddir)/Source/libamd.la
+
+amd_simple_SOURCES = amd_simple.c
+amd_simple_LDADD = $(top_builddir)/Source/libamd.la
+
+amd_f77demo_SOURCES = amd_f77demo.f
+amd_f77demo_LDADD = $(top_builddir)/Source/libamd.la $(top_builddir)/Source/libamdf77.la
+
+amd_f77simple_SOURCES = amd_f77simple.f
+amd_f77simple_LDADD = $(top_builddir)/Source/libamd.la $(top_builddir)/Source/libamdf77.la
+
+amd_f77wrapper_CPPFLAGS = -DDINT
+amd_f77cross_SOURCES = amd_f77cross.f amd_f77wrapper.f
+amd_f77cross_LDADD = $(top_builddir)/Source/libamd.la \
+	$(top_builddir)/Source/libamdf77.la
+
+check-local:
+	@for i in $(ALL_TEST); do \
+		$$i > my_$$i.out; \
+		- diff $$i.out my_$$i.out; \
+	done;
+
+clean-local:
+	rm -f my*.out
diff -Nur AMD.orig/Makefile.am AMD/Makefile.am
--- AMD.orig/Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ AMD/Makefile.am	2007-02-17 19:42:32.000000000 +0000
@@ -0,0 +1,3 @@
+SUBDIRS = Demo Source
+EXTRA_DIST = README.txt
+include_HEADERS = Include/amd.h Include/amd_internal.h
diff -Nur AMD.orig/Source/Makefile.am AMD/Source/Makefile.am
--- AMD.orig/Source/Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ AMD/Source/Makefile.am	2007-02-19 00:20:25.000000000 +0000
@@ -0,0 +1,15 @@
+AMDCSRC = amd_aat.c amd_1.c amd_2.c amd_dump.c amd_postorder.c amd_post_tree.c amd_defaults.c \
+	amd_order.c amd_control.c amd_info.c amd_valid.c amd_preprocess.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
diff -Nur AMD.orig/configure.ac AMD/configure.ac
--- AMD.orig/configure.ac	1970-01-01 01:00:00.000000000 +0100
+++ AMD/configure.ac	2007-02-18 23:30:10.000000000 +0000
@@ -0,0 +1,12 @@
+#                                               -*- Autoconf -*-
+AC_PREREQ(2.59)
+AC_INIT(amd, 2.0.4, davis@cise.ufl.edu)
+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