Makefile revision 965
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington###############################################################################
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Xaw5 Makefile
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# copy of this software and associated documentation files (the "Software"),
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# to deal in the Software without restriction, including without limitation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and/or sell copies of the Software, and to permit persons to whom the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Software is furnished to do so, subject to the following conditions:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# The above copyright notice and this permission notice (including the next
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# paragraph) shall be included in all copies or substantial portions of the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Software.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# DEALINGS IN THE SOFTWARE.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonMODULE_NAME=libXaw5
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# No upstream sources, only local sources
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas GustafssonMODULE_VERSION=src
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSOURCE_TARBALL_NAME=NONE
f9d068745ddfeb513db6184d9dddde835bed42d4Andreas GustafssonSOURCE_TARBALL_NAME_SET=yes
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas GustafssonADDITIONAL_SOURCE_DIR=sun-src
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# Library name (used for specfiles/mapfiles)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonLIBNAME=Xaw5
f9d068745ddfeb513db6184d9dddde835bed42d4Andreas Gustafsson
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUNTOUCHED_MANPAGES= # None
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonSUN_PACKAGE=SUNWxwplt
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonMODULE_STABILITY=Committed
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# No configure script to run
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCONFIGURE_TARGETS=
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCONFIGURE_TARGETS_SET=yes
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Since we don't have a configure script, pass configure flags to make
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonMODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonMODULE_CFLAGS += -I. -DHAS_ISW_FUNCS -DHAS_WCTYPE_H -DOLDXAW
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Link with version mapfile
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonMODULE_LDFLAGS = -R/usr/lib$(ARCHLIBSUBDIR) -M $(PWD)/mapfile-vers
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrenceinclude ../Makefile.inc
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington