Makefile revision 4337
0N/A###############################################################################
553N/A#
0N/A# DPS Makefile
0N/A#
0N/A# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
0N/A# copy of this software and associated documentation files (the "Software"),
0N/A# to deal in the Software without restriction, including without limitation
0N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0N/A# and/or sell copies of the Software, and to permit persons to whom the
0N/A# Software is furnished to do so, subject to the following conditions:
0N/A#
0N/A# The above copyright notice and this permission notice (including the next
0N/A# paragraph) shall be included in all copies or substantial portions of the
0N/A# Software.
0N/A#
0N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
553N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
553N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
553N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0N/A# DEALINGS IN THE SOFTWARE.
0N/A#
0N/A#
0N/A
0N/ABUILD_TYPES_SET=yes
0N/ABUILD_TYPES=32
0N/A
0N/AMODULE_NAME=DPS
0N/A
0N/A# Sources were extracted from X11R6.9 source tree, but we don't want
0N/A# to download & unpack all that, and upstream isn't maintaining, so
0N/A# we just have a local copy here.
0N/AMODULE_VERSION=X11R6.9
0N/ASOURCE_TARBALL_NAME=NONE
0N/ASOURCE_TARBALL_NAME_SET=yes
0N/AADDITIONAL_SOURCE_DIR=sun-src
0N/A
0N/A# Library name (used for specfiles/mapfiles)
0N/ALIBNAME=dps
0N/A
0N/A# Man pages to apply Sun footer to & attributes to list
0N/ASUNTOUCHED_MANPAGES= # None
0N/AMODULE_STABILITY=Obsolete
0N/A
0N/A# No configure script to run
0N/ACONFIGURE_TARGETS=
0N/ACONFIGURE_TARGETS_SET=yes
0N/A
0N/A# Since we don't have a configure script, pass configure flags to make
0N/AMODULE_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) \
0N/A datadir=$(MODULE_PREFIX)/share bindir=$(X11_DIR)/bin \
0N/A libdir=$(MODULE_PREFIX)/lib$(MODULE_ADD_LIB_SUBDIR)$(ARCHLIBSUBDIR) \
0N/A PROG_LDFLAGS="$(PROG_LDFLAGS)"
0N/A
0N/A# Allow linker to skip linking to libm if compiler inlined all math functions
0N/AMODULE_LDFLAGS = -z ignore
0N/A
0N/A# Compatibility links from /usr/X11/bin to /usr/bin
0N/AMODULE_X11_BINCOMPAT_LINKS = makepsres pswrap
0N/A
0N/Ainclude ../Makefile.inc
0N/A
0N/A# Install metadata for dps-motif package too
MOTIF_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%x11-library-dps=%library-motif-libdpstkxm)
MOTIF_PKG_ATTRDATA_FILE = $(MOTIF_PKG_METADATA_DIR)/$(ATTRDATA_FILE_NAME)
MOTIF_PKG_LICENSE_FILE = $(MOTIF_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME)
EXTRA_METADATA_TARGETS = \
$(MOTIF_PKG_METADATA_DIR) \
$(MOTIF_PKG_ATTRDATA_FILE) \
$(MOTIF_PKG_LICENSE_FILE)
install_metadata: $(EXTRA_METADATA_TARGETS)
$(MOTIF_PKG_METADATA_DIR):
mkdir -p $@
$(MOTIF_PKG_ATTRDATA_FILE) $(MOTIF_PKG_LICENSE_FILE): $(MOTIF_PKG_METADATA_DIR)