aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildfile7
-rw-r--r--odb/pgsql/buildfile48
-rw-r--r--tests/basics/buildfile2
-rw-r--r--tests/buildfile4
4 files changed, 9 insertions, 52 deletions
diff --git a/buildfile b/buildfile
index a1a66cd..637aaba 100644
--- a/buildfile
+++ b/buildfile
@@ -2,11 +2,10 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : GNU GPL v2; see accompanying LICENSE file
-d = odb/pgsql/ tests/
-./: $d doc{GPLv2 INSTALL LICENSE NEWS README version} file{manifest}
-include $d
+./: {*/ -build/ -m4/} doc{GPLv2 INSTALL LICENSE NEWS README version} \
+ file{manifest}
# Don't install tests or the INSTALL file.
#
-dir{tests/}: install = false
+dir{tests/}: install = false
doc{INSTALL}@./: install = false
diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile
index 4231233..aab6d3f 100644
--- a/odb/pgsql/buildfile
+++ b/odb/pgsql/buildfile
@@ -5,50 +5,10 @@
import int_libs = libodb%lib{odb}
import imp_libs = libpq%lib{pq}
-lib{odb-pgsql}: \
- {hxx cxx}{ auto-handle } \
- {hxx }{ binding } \
- {hxx ixx cxx}{ connection } \
- {hxx cxx}{ connection-factory } \
- {hxx txx }{ container-statements } \
- {hxx ixx cxx}{ database } \
- {hxx ixx cxx}{ error } \
- {hxx cxx}{ exceptions } \
- {hxx }{ forward } \
- {hxx txx }{ no-id-object-result } \
- {hxx txx }{ no-id-object-statements } \
- {hxx }{ pgsql-fwd } \
- {hxx }{ pgsql-oid } \
- {hxx }{ pgsql-types } \
- {hxx txx }{ polymorphic-object-result } \
- {hxx txx }{ polymorphic-object-statements } \
- {hxx cxx}{ prepared-query } \
- {hxx ixx txx cxx}{ query } \
- { cxx}{ query-const-expr } \
- {hxx ixx txx cxx}{ query-dynamic } \
- {hxx txx }{ section-statements } \
- {hxx txx }{ simple-object-result } \
- {hxx ixx txx cxx}{ simple-object-statements } \
- {hxx txx }{ statement-cache } \
- {hxx cxx}{ statement } \
- {hxx cxx}{ statements-base } \
- {hxx cxx}{ tracer } \
- {hxx cxx}{ traits } \
- {hxx }{ traits-calls } \
- {hxx ixx cxx}{ transaction } \
- {hxx ixx cxx}{ transaction-impl } \
- {hxx }{ version-build2 } \
- {hxx }{ version } \
- {hxx txx }{ view-result } \
- {hxx txx }{ view-statements } \
- details/{hxx }{ config } \
- details/{hxx }{ conversion } \
- details/{hxx cxx}{ endian-traits } \
- details/{hxx }{ export } \
- details/{hxx ixx cxx}{ options } \
-details/build2/{h }{ config } \
-details/build2/{h }{ config-vc } \
- $imp_libs $int_libs
+lib{odb-pgsql}: {hxx ixx txx cxx}{* -version-build2} {hxx}{version-build2} \
+ details/{hxx ixx txx cxx}{* -options} details/{hxx ixx cxx}{options} \
+ details/build2/{h}{*} \
+ $imp_libs $int_libs
hxx{version-build2}: in{version-build2} $src_root/file{manifest}
hxx{version-build2}: dist = true
diff --git a/tests/basics/buildfile b/tests/basics/buildfile
index 1a95a8a..a552895 100644
--- a/tests/basics/buildfile
+++ b/tests/basics/buildfile
@@ -4,4 +4,4 @@
import libs = libodb-pgsql%lib{odb-pgsql}
-exe{driver}: cxx{driver} $libs
+exe{driver}: {hxx cxx}{*} $libs
diff --git a/tests/buildfile b/tests/buildfile
index 8502dbe..545984d 100644
--- a/tests/buildfile
+++ b/tests/buildfile
@@ -2,6 +2,4 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : GNU GPL v2; see accompanying LICENSE file
-d = basics/
-./: $d
-include $d
+./: {*/ -build/}