Makefile revision 1422
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein###############################################################################
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Xaw5 Makefile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# to deal in the Software without restriction, including without limitation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# the rights to use, copy, modify, merge, publish, distribute, sublicense,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and/or sell copies of the Software, and to permit persons to whom the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Software is furnished to do so, subject to the following conditions:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The above copyright notice and this permission notice (including the next
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# paragraph) shall be included in all copies or substantial portions of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DEALINGS IN THE SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package metadata
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# pkg(5) name we deliver the files in (override default)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# No upstream sources, only local sources
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Library name (used for specfiles/mapfiles)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Man pages to apply Sun footer to & attributes to list
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater# ARC cases that covered this module
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# PSARC/1992/173 - Update MIT-based Clients to X11R5 Level
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater# No configure script to run, but need to make build dirs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Since we don't have a configure script, pass configure flags to make
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and pass path to $(REL_SOURCE_DIR) for makefiles & source files
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterMODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterMODULE_CPPFLAGS = -I $(REL_SOURCE_DIR) -DHAS_ISW_FUNCS -DHAS_WCTYPE_H -DOLDXAW
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater# Link with version mapfile
28b3569d6248168e6c00caab951521cc8141a49dAutomatic UpdaterMODULE_LDFLAGS = -R/usr/lib$(ARCHLIBSUBDIR) -M $(PWD)/mapfile-vers
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater# Compatibility links from /usr/X11/lib to /usr/lib