summaryrefslogtreecommitdiff
path: root/libprint/libprint
diff options
context:
space:
mode:
Diffstat (limited to 'libprint/libprint')
-rw-r--r--libprint/libprint/buildfile20
1 files changed, 5 insertions, 15 deletions
diff --git a/libprint/libprint/buildfile b/libprint/libprint/buildfile
index c66998c..b4a5d4c 100644
--- a/libprint/libprint/buildfile
+++ b/libprint/libprint/buildfile
@@ -4,24 +4,14 @@ impl_libs = # Implementation dependencies.
lib{print}: {hxx ixx txx cxx}{** -version} hxx{version} $impl_libs $intf_libs
-# Include the generated version header into the distribution (so that we don't
-# pick up an installed one) and don't remove it when cleaning in src (so that
-# clean results in a state identical to distributed).
-#
hxx{version}: in{version} $src_root/manifest
-{
- dist = true
- clean = ($src_root != $out_root)
-}
-
-hxx{export}@./: cxx.importable = false
# Build options.
#
cxx.poptions =+ "-I$out_root" "-I$src_root"
-{hbmia obja}{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD
-{hbmis objs}{*}: cxx.poptions += -DLIBPRINT_SHARED_BUILD
+obja{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD
+objs{*}: cxx.poptions += -DLIBPRINT_SHARED_BUILD
# Export options.
#
@@ -34,9 +24,9 @@ lib{print}:
liba{print}: cxx.export.poptions += -DLIBPRINT_STATIC
libs{print}: cxx.export.poptions += -DLIBPRINT_SHARED
-# For pre-releases use the complete version to make sure they cannot be used
-# in place of another pre-release or the final version. See the version module
-# for details on the version.* variable values.
+# For pre-releases use the complete version to make sure they cannot
+# be used in place of another pre-release or the final version. See
+# the version module for details on the version.* variable values.
#
if $version.pre_release
lib{print}: bin.lib.version = "-$version.project_id"