Makefile revision 920
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein###############################################################################
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Xaw4 Makefile
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Use is subject to license terms.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# copy of this software and associated documentation files (the "Software"),
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# to deal in the Software without restriction, including without limitation
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# the rights to use, copy, modify, merge, publish, distribute, sublicense,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# 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#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3389b6215abbffc02cc1b6e640f05987ca9f816fMark 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
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# DEALINGS IN THE SOFTWARE.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinBUILD_TYPES_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinBUILD_TYPES_sparc=32
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinBUILD_TYPES_i386=32
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinBUILD_TYPES=$(BUILD_TYPES_$(MACH))
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_NAME=libXaw4
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# 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
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Library name (used for specfiles/mapfiles)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLIBNAME=Xaw4
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Man pages to apply Sun footer to & attributes to list
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUNTOUCHED_MANPAGES= # None
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUN_PACKAGE=SUNWxwplt
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_STABILITY=Committed
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# No configure script to run
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_TARGETS=
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_TARGETS_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Since we don't have a configure script, pass configure flags to make
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_INSTALL_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_CFLAGS += -I.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Link with version mapfile
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrewsinclude ../Makefile.inc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein