###############################################################################
#
# liblbxutil - Low Bandwidth X implementation private library
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
# pkg(5) name we deliver the files in (override default)
# Package classification (override default)
# Package metadata
# Version number (used in path names)
# Checksums for upstream tarball
# Patches to apply to source after unpacking, in order
# Man pages to apply Sun footer to & attributes to list
#LIB_STABILITY=Project Private
#LIB_MAN_SUFFIX=3lbxutil
### Include common definitions
# Build as a static library since only lbxproxy needs it anymore
# and install it in $(TOOLS_DIR) since we're not packaging it
-e 's|^Libs: |Libs: -L$(TOOLS_DIR)/\$${libdir}|g;'
# Only need 64-bit since we only ship lbxproxy as 64-bit
# pkg-config files that need to have -R added
# Don't include lib/Makefile.inc that sets options for shared libraries
# which we don't want in this special case, but set MODTYPE so download works
# Since liblbxutil doesn't depend on any other libraries we build, it may
# be the first library built. Since it installs the normal .pc file to
# $(TOOLS_DIR), have to ensure the directory exists before installing the
# lbxutil-uninstalled.pc file.
$(PROTODIR)$(MODULE_PKGCONFIG_DIR):
mkdir -p $@