From bc54b4bd56c757ec1279896b8b0639a4a9a7e0cd Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Wed, 4 May 2011 17:17:59 +0200 Subject: Add test infrastructure for libodb-pgsql --- build/import/libodb-pgsql/stub.make | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 build/import/libodb-pgsql/stub.make (limited to 'build/import/libodb-pgsql/stub.make') 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 +# 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 -- cgit v1.1