Makefile revision 1422
98N/A###############################################################################
98N/A#
98N/A# Xaw4 Makefile
98N/A#
911N/A# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
761N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the "Software"),
98N/A# to deal in the Software without restriction, including without limitation
98N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
98N/A# and/or sell copies of the Software, and to permit persons to whom the
98N/A# Software is furnished to do so, subject to the following conditions:
98N/A#
98N/A# The above copyright notice and this permission notice (including the next
98N/A# paragraph) shall be included in all copies or substantial portions of the
98N/A# Software.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
98N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# libXaw4 was replaced by libXaw5 well before 64-bit libraries were shipped
98N/A# in Solaris, and since it's just kept for binary compatibility of old apps,
98N/A# we don't need a 64-bit version.
98N/ABUILD_TYPES_SET=yes
98N/ABUILD_TYPES=32
98N/A
98N/AMODULE_NAME=libXaw4
98N/A
493N/A# Package metadata
98N/AORACLE_TPNO = $(ORACLE_TPNO_xorg)
98N/A
851N/A# pkg(5) name we deliver the files in (override default)
98N/AMODULE_PKGNAME=x11/library/toolkit/libxaw4
911N/AMODULE_PKGNAME_SET=yes
911N/A
911N/A# No upstream sources, only local sources
911N/AMODULE_VERSION=src
98N/ASOURCE_TARBALL_NAME=NONE
98N/ASOURCE_TARBALL_NAME_SET=yes
98N/ASOURCE_TARGETS =
98N/ASOURCE_TARGETS_SET=yes
98N/A
493N/A# Library name (used for specfiles/mapfiles)
493N/ALIBNAME=Xaw4
98N/A
98N/A# 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, but need to make build dirs
CONFIGURE_TARGETS = $(BUILD_DIR)
CONFIGURE_TARGETS_SET=yes
# Since we don't have a configure script, pass configure flags to make
# and pass path to $(REL_SOURCE_DIR) for makefiles & source files
REL_SOURCE_DIR = ../sun-src
MODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
MODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
MODULE_CPPFLAGS += -I $(REL_SOURCE_DIR)
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