Makefile revision 1360
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein###############################################################################
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Xaw5 Makefile
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
fec3621e807f9367a76771ae74ea0ce4133764c4Mark Andrews# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# copy of this software and associated documentation files (the "Software"),
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# to deal in the Software without restriction, including without limitation
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# and/or sell copies of the Software, and to permit persons to whom the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Software is furnished to do so, subject to the following conditions:
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# The above copyright notice and this permission notice (including the next
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Software.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# DEALINGS IN THE SOFTWARE.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington#
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington#
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_NAME=libXaw5
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Package metadata
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonORACLE_TPNO = $(ORACLE_TPNO_xorg)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# pkg(5) name we deliver the files in (override default)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_PKGNAME=x11/library/toolkit/libxaw5
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_PKGNAME_SET=yes
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# No upstream sources, only local sources
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_VERSION=src
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_TARBALL_NAME=NONE
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_TARBALL_NAME_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinADDITIONAL_SOURCE_DIR=sun-src
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Library name (used for specfiles/mapfiles)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLIBNAME=Xaw5
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Man pages to apply Sun footer to & attributes to list
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUNTOUCHED_MANPAGES= # None
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_STABILITY=Committed
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ARC cases that covered this module
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# PSARC/1992/173 - Update MIT-based Clients to X11R5 Level
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_ARC_CASES = PSARC/1992/173
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# No configure script to run
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCONFIGURE_TARGETS=
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCONFIGURE_TARGETS_SET=yes
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Since we don't have a configure script, pass configure flags to make
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_CFLAGS += -I. -DHAS_ISW_FUNCS -DHAS_WCTYPE_H -DOLDXAW
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews
50105afc551903541608b11851d73278b23579a3Mark Andrews# Link with version mapfile
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_LDFLAGS = -R/usr/lib$(ARCHLIBSUBDIR) -M $(PWD)/mapfile-vers
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews
6e8a8077faf96d8da0b6cf738913f5f1f86e4008Mark Andrews# Compatibility links from /usr/X11/lib to /usr/lib
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMODULE_X11_LIBCOMPAT_LINKS = libXaw.so.5
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
e174044290953a2499f574e35cc9c22ba126a303Mark Andrewsinclude ../Makefile.inc
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington