From f396624b97d16191ee2cab70c180f61f17cb407d Mon Sep 17 00:00:00 2001
From: Leo Schmidt <lschmidt@math.fu-berlin.de>
Date: Thu, 21 Jan 2010 15:12:05 +0000
Subject: [PATCH] added rods.pc, complemented configure.ac and Makefile.am

[[Imported from SVN: r5371]]
---
 Makefile.am  |  3 +++
 configure.ac |  5 ++++-
 rods.pc      | 14 ++++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 rods.pc

diff --git a/Makefile.am b/Makefile.am
index db506f65..cb1fd9ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
 # $Id$
 
+# we need the module file to be able to build via dunecontrol
+EXTRA_DIST=dune.module
+
 SUBDIRS = m4 src test
 
 # possible options
diff --git a/configure.ac b/configure.ac
index 72665c85..05b2272a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,10 @@ LIBS="$DUNE_LIBS"
 
 AC_CONFIG_FILES([Makefile
                  src/Makefile
-                 test/Makefile])
+                 test/Makefile
+                 m4/Makefile
+                 rods.pc
+                ])
 AC_OUTPUT
 
 # finally print the summary information
diff --git a/rods.pc b/rods.pc
new file mode 100644
index 00000000..e3192bf5
--- /dev/null
+++ b/rods.pc
@@ -0,0 +1,14 @@
+prefix=/usr/local
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+CXX=g++ -std=c++0x
+CC=gcc
+DEPENDENCIES= dune-common   dune-grid   dune-istl   dune-disc   dune-solvers   ag-common  
+
+Name: rods
+Version: 0.0
+Description: Dune (Distributed and Unified Numerics Environment) rods module
+Requires: ${DEPENDENCIES}
+Libs:
+Cflags: -I${includedir}
-- 
GitLab