diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/.gitignore | 3 | ||||
-rw-r--r-- | build/bootstrap.build | 44 | ||||
-rw-r--r-- | build/export.build | 10 | ||||
-rw-r--r-- | build/root.build | 16 |
4 files changed, 0 insertions, 73 deletions
diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index 4a730a3..0000000 --- a/build/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -config.build -root/ -bootstrap/ diff --git a/build/bootstrap.build b/build/bootstrap.build deleted file mode 100644 index d950149..0000000 --- a/build/bootstrap.build +++ /dev/null @@ -1,44 +0,0 @@ -# file : build/bootstrap.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : PostgreSQL License; see accompanying COPYRIGHT file - -project = libpq - -using version -using config -using dist -using test -using install - -# PostgreSQL releases (for quite a long time) had the 3-component versions, -# where the first 2 components denote a major version and the third one the -# minor version. This has changed starting from version 10, with the major -# version represented by a single component. Minor releases are guaranteed to -# be backwards-compatible and contain only bug fixes. See also: -# -# https://www.postgresql.org/support/versioning/ -# -# There is no document that describes libpq ABI versioning and compatibility -# rules, so everything that follows is just a guess. -# -# The library naming schema on POSIX is libpq.so.<so_major>.<so_minor> with -# the so_minor number incremented with each major release unless the so_major -# number is incremented, in which case it is reset to 0. It is unclear when -# the so_major is incremented (it, for example, hasn't been in the 9.6 to -# 10 transition). -# -# The <so_major>.<so_minor> pair constitutes the version of the ABI that is -# backwards-compatible between PostgreSQL minor releases. However, we can not -# deduce the ABI version from the release major version and will have to check -# it for each major release by examining the SO_MAJOR_VERSION and -# SO_MINOR_VERSION variables in src/interfaces/libpq/Makefile. -# -if ($version.major == 9 && $version.minor == 6) -{ - abi_major = 5 - abi_minor = 9 -} -else - fail "increment the ABI version?" - -abi_version = $abi_major.$abi_minor diff --git a/build/export.build b/build/export.build deleted file mode 100644 index 748c3ea..0000000 --- a/build/export.build +++ /dev/null @@ -1,10 +0,0 @@ -# file : build/export.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : PostgreSQL License; see accompanying COPYRIGHT file - -$out_root/ -{ - include libpq/ -} - -export $out_root/libpq/lib{pq} diff --git a/build/root.build b/build/root.build deleted file mode 100644 index 8ab7774..0000000 --- a/build/root.build +++ /dev/null @@ -1,16 +0,0 @@ -# file : build/root.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : PostgreSQL License; see accompanying COPYRIGHT file - -c.std = 99 - -using c - -h{*}: extension = h -c{*}: extension = c - -if ($c.target.system == 'win32-msvc') - c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS - -if ($c.class == 'msvc') - c.coptions += /wd4251 /wd4275 /wd4800 |