aboutsummaryrefslogtreecommitdiff
path: root/libcutl/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-06 13:15:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-06 13:15:53 +0200
commit69c79d8181e906ce0e07cbcd2c30f8ea3890fc03 (patch)
treef135b1d66a8f6d5abd7a8a091be8a77671438f0d /libcutl/build
Initial dependency configuration
Diffstat (limited to 'libcutl/build')
-rw-r--r--libcutl/build/cxx/configuration-dynamic.make15
-rw-r--r--libcutl/build/cxx/gnu/configuration-dynamic.make8
-rw-r--r--libcutl/build/ld/configuration-lib-dynamic.make3
3 files changed, 26 insertions, 0 deletions
diff --git a/libcutl/build/cxx/configuration-dynamic.make b/libcutl/build/cxx/configuration-dynamic.make
new file mode 100644
index 0000000..fa9bd03
--- /dev/null
+++ b/libcutl/build/cxx/configuration-dynamic.make
@@ -0,0 +1,15 @@
+cxx_id := gnu
+cxx_optimize := n
+cxx_debug := n
+cxx_rpath := n
+
+cxx_pp_extra_options := $(CPPFLAGS)
+cxx_extra_options := $(CXXFLAGS)
+cxx_ld_extra_options := $(LDFLAGS)
+cxx_extra_libs := $(LIBS)
+
+r := $(shell echo $(LDFLAGS) | sed -e 's/-L *\([^ ]*\)/-L\1/g')
+r := $(patsubst -L%,%,$(filter -L%,$(r)))
+r := $(shell echo $(r) | sed -e 's/ /:/g')
+
+cxx_extra_lib_paths := $(r)
diff --git a/libcutl/build/cxx/gnu/configuration-dynamic.make b/libcutl/build/cxx/gnu/configuration-dynamic.make
new file mode 100644
index 0000000..b432d56
--- /dev/null
+++ b/libcutl/build/cxx/gnu/configuration-dynamic.make
@@ -0,0 +1,8 @@
+ifneq ($(CXX),)
+cxx_gnu := $(CXX)
+else
+cxx_gnu := g++
+endif
+
+cxx_gnu_libraries :=
+cxx_gnu_optimization_options :=
diff --git a/libcutl/build/ld/configuration-lib-dynamic.make b/libcutl/build/ld/configuration-lib-dynamic.make
new file mode 100644
index 0000000..c2c560c
--- /dev/null
+++ b/libcutl/build/ld/configuration-lib-dynamic.make
@@ -0,0 +1,3 @@
+ld_lib_type := archive
+ld_lib_ar := ar
+ld_lib_ranlib := ranlib