summaryrefslogtreecommitdiff
path: root/print/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'print/buildfile')
-rw-r--r--print/buildfile17
1 files changed, 15 insertions, 2 deletions
diff --git a/print/buildfile b/print/buildfile
index 20a7d60..7f5c4bb 100644
--- a/print/buildfile
+++ b/print/buildfile
@@ -1,8 +1,21 @@
-lib{print}: {hxx cxx}{print}
+lib{print}: {hxx cxx}{print} hxx{export}
+
+# For pre-releases use the complete version to make sure they cannot be used
+# in place of another pre-release or the final version.
+#
+if $abi_prerelease
+ lib{print}: bin.lib.version = @-$version
+else
+ lib{print}: bin.lib.version = @-$abi_major.$abi_minor
cxx.poptions += -I$src_root
+obja{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD
+objs{*}: cxx.poptions += -DLIBPRINT_SHARED_BUILD
+
lib{print}: cxx.export.poptions = -I$src_root
+liba{print}: cxx.export.poptions += -DLIBPRINT_STATIC
+libs{print}: cxx.export.poptions += -DLIBPRINT_SHARED
# Install into the print/ subdirectory of, say, /usr/include/.
#
-install.include = $install.include/print
+install.include = $install.include/print/