Makefile revision 1295
32N/A###############################################################################
32N/A#
851N/A# Xaw4 Makefile
851N/A#
32N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
32N/A#
32N/A# Permission is hereby granted, free of charge, to any person obtaining a
32N/A# copy of this software and associated documentation files (the "Software"),
32N/A# to deal in the Software without restriction, including without limitation
32N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
32N/A# and/or sell copies of the Software, and to permit persons to whom the
32N/A# Software is furnished to do so, subject to the following conditions:
32N/A#
32N/A# The above copyright notice and this permission notice (including the next
32N/A# paragraph) shall be included in all copies or substantial portions of the
32N/A# Software.
32N/A#
32N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
32N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
32N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
32N/A# DEALINGS IN THE SOFTWARE.
32N/A#
32N/A#
32N/A
32N/A# libXaw4 was replaced by libXaw5 well before 64-bit libraries were shipped
32N/A# in Solaris, and since it's just kept for binary compatibility of old apps,
32N/A# we don't need a 64-bit version.
851N/ABUILD_TYPES_SET=yes
32N/ABUILD_TYPES=32
32N/A
32N/AMODULE_NAME=libXaw4
493N/A
32N/A# pkg(5) name we deliver the files in (override default)
32N/AMODULE_PKGNAME=x11/library/toolkit/libxaw4
851N/AMODULE_PKGNAME_SET=yes
32N/A
32N/A# No upstream sources, only local sources
32N/AMODULE_VERSION=src
32N/ASOURCE_TARBALL_NAME=NONE
32N/ASOURCE_TARBALL_NAME_SET=yes
32N/AADDITIONAL_SOURCE_DIR=sun-src
# Library name (used for specfiles/mapfiles)
LIBNAME=Xaw4
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES= # None
MODULE_STABILITY=Committed
# ARC cases that covered this module
# PSARC/1992/173 - Update MIT-based Clients to X11R5 Level
MODULE_ARC_CASES = PSARC/1992/173
# No configure script to run
CONFIGURE_TARGETS=
CONFIGURE_TARGETS_SET=yes
# Since we don't have a configure script, pass configure flags to make
MODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
MODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
MODULE_CFLAGS += -I.
MODULE_CPPFLAGS += -DSYSV
# Link with version mapfile
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
# Compatibility links from /usr/X11/lib to /usr/lib
MODULE_X11_LIBCOMPAT_LINKS = libXaw.so.4
include ../Makefile.inc