aboutsummaryrefslogtreecommitdiff
path: root/build/import/libodb-pgsql/stub.make
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-04 17:17:59 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-06 09:52:33 +0200
commitbc54b4bd56c757ec1279896b8b0639a4a9a7e0cd (patch)
tree813c462512f83e13e47d4b07c5faccd780f7b108 /build/import/libodb-pgsql/stub.make
parentb8d88b289aca145edbf031adbe904d877d93f3ba (diff)
Add test infrastructure for libodb-pgsql
Diffstat (limited to 'build/import/libodb-pgsql/stub.make')
-rw-r--r--build/import/libodb-pgsql/stub.make30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/import/libodb-pgsql/stub.make b/build/import/libodb-pgsql/stub.make
new file mode 100644
index 0000000..fed0f02
--- /dev/null
+++ b/build/import/libodb-pgsql/stub.make
@@ -0,0 +1,30 @@
+# file : build/import/libodb-pgsql/stub.make
+# author : Constantin Michael <constantin@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libodb-pgsql/configuration-rules.make,$(dcf_root))
+
+libodb_pgsql_installed :=
+
+$(call -include,$(dcf_root)/import/libodb-pgsql/configuration-dynamic.make)
+
+ifdef libodb_pgsql_installed
+
+ifeq ($(libodb_pgsql_installed),y)
+
+$(call export,l: -lodb-pgsql -lodb -lpq,cpp-options: )
+
+else
+
+# Include export stub.
+#
+$(call include,$(scf_root)/export/libodb-pgsql/stub.make)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif