268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein###############################################################################
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# xlswins - utility to list windows displayed on an X server
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# copy of this software and associated documentation files (the "Software"),
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# to deal in the Software without restriction, including without limitation
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# the rights to use, copy, modify, merge, publish, distribute, sublicense,
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# 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
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# 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 Austein# Package name used in tarballs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_NAME=xlswins
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# pkg(5) name we deliver the files in (override default)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_PKGNAME=x11/diagnostic/x11-info-clients
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas GustafssonMODULE_PKGNAME_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Package metadata
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_DESC = the xlswins utility to list windows displayed on an X server
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinORACLE_TPNO = $(ORACLE_TPNO_xorg)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# No upstream sources for these files, since they're Solaris-specific
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_VERSION=src
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_TARBALL_NAME=NONE
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_TARBALL_NAME_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinADDITIONAL_SOURCE_DIR=sun-src
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Patches to apply to source after unpacking, in order
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSOURCE_PATCHES =
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Man pages to apply Sun footer to & attributes to list
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUNTOUCHED_MANPAGES = xlswins.1
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_STABILITY = Obsolete
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
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
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# PSARC/2014/386 - EOF of xlswins
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_ARC_CASES += PSARC/2014/386
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# No configure script to run, but need to make build dirs
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCONFIGURE_TARGETS = $(BUILD_DIR)
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCONFIGURE_TARGETS_SET=yes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Since we don't have a configure script, pass configure flags to make
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# and pass path to $(SOURCE_DIR) for makefiles & source files
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinREL_SOURCE_DIR = ../$(SOURCE_DIR)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonMODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_INSTALL_MAKEFLAGS = bindir=$(X11_BIN_DIR) mandir=$(X11_MAN_DIR)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Compatibility links from /usr/X11/bin to /usr/bin
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE_X11_BINCOMPAT_LINKS = xlswins
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../Makefile.inc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein