From b182b98290ad7f2717c5f5079d2406772d113b9f Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Mon, 8 May 2006 13:26:31 +0000
Subject: [PATCH] Build libdunecommon in lib and mark it for installation.

[[Imported from SVN: r4543]]
---
 Makefile.am     |  2 +-
 configure.ac    |  1 +
 lib/.gitignore  |  4 ++++
 lib/Makefile.am | 10 ++++++++++
 4 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 lib/.gitignore
 create mode 100644 lib/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index a0d923001..3768cf18c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@
 # need automake >= 1.5
 AUTOMAKE_OPTIONS = foreign 1.5
 
-SUBDIRS = common doc bin m4 am
+SUBDIRS = lib common doc bin m4 am
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = dune.pc
diff --git a/configure.ac b/configure.ac
index 85432b3be..6b2a966ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ echo
 
 # write output
 AC_CONFIG_FILES([Makefile
+     lib/Makefile
      bin/Makefile
      common/Makefile
      common/test/Makefile
diff --git a/lib/.gitignore b/lib/.gitignore
new file mode 100644
index 000000000..cd54497c8
--- /dev/null
+++ b/lib/.gitignore
@@ -0,0 +1,4 @@
+.libs
+Makefile.in
+Makefile
+libdunecommon.la
diff --git a/lib/Makefile.am b/lib/Makefile.am
new file mode 100644
index 000000000..cf1d73b6f
--- /dev/null
+++ b/lib/Makefile.am
@@ -0,0 +1,10 @@
+# $Id: $
+
+#the dune-common library
+lib_LTLIBRARIES = libdunecommon.la
+
+# this is just a renaming of libcommon to prevent name clashes
+libdunecommon_la_SOURCES =
+libdunecommon_la_LIBADD = ../common/libcommon.la
+
+include $(top_srcdir)/am/global-rules
-- 
GitLab