Makefile revision 970
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin###############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# DPS Makefile
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Permission is hereby granted, free of charge, to any person obtaining a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# copy of this software and associated documentation files (the "Software"),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# to deal in the Software without restriction, including without limitation
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# the rights to use, copy, modify, merge, publish, distribute, sublicense,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and/or sell copies of the Software, and to permit persons to whom the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Software is furnished to do so, subject to the following conditions:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The above copyright notice and this permission notice (including the next
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# paragraph) shall be included in all copies or substantial portions of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Software.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
134a1f4e3289b54e0f980e9cf05352e419a60beeCasper H.S. Dik# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# DEALINGS IN THE SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Sources were extracted from X11R6.9 source tree, but we don't want
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# to download & unpack all that, and upstream isn't maintaining, so
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# we just have a local copy here.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Library name (used for specfiles/mapfiles)
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# Man pages to apply Sun footer to & attributes to list
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# No configure script to run
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Since we don't have a configure script, pass configure flags to make
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMODULE_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin libdir=$(MODULE_PREFIX)/lib$(MODULE_ADD_LIB_SUBDIR)$(ARCHLIBSUBDIR)
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# Compatibility links from /usr/X11/bin to /usr/bin
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# Install metadata for dps-motif package too
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMOTIF_PKG_METADATA_DIR = $(MODULE_PKG_METADATA_DIR:%dps/=%dps-motif/)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMOTIF_PKG_ATTRDATA_FILE = $(MOTIF_PKG_METADATA_DIR)/$(ATTRDATA_FILE_NAME)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMOTIF_PKG_LICENSE_FILE = $(MOTIF_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME)