Makefile revision 1451
c40265eba0c99708887d68e67901924065ba2514Brian Wellington###############################################################################
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# xlock - manually activated screen lock program
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# to deal in the Software without restriction, including without limitation
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# 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
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# Software is furnished to do so, subject to the following conditions:
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews#
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# The above copyright notice and this permission notice (including the next
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Software.
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews#
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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# 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.
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package name used in tarballs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_NAME=xlock
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package metadata
3a3705ef7747327df182bf8d009333d2472253d5Mark AndrewsMODULE_DESC = the xlock screen lock program
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Dates to show in Oracle copyright notice in pkg license file
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews# Earliest & latest of the copyrights in the Oracle files in this pkg
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinORACLE_COPYRIGHT_YEARS = 1988, 2011
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinORACLE_TPNO = 9808
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# No upstream sources for these files, since they're Solaris-specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_VERSION=src
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSOURCE_TARBALL_NAME=NONE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSOURCE_TARBALL_NAME_SET=yes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinADDITIONAL_SOURCE_DIR=sun-src
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Man pages to apply Sun footer to & attributes to list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSUNTOUCHED_MANPAGES= xlock.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_STABILITY=Committed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Haven't made sure it's 64-bit clean yet, so continue building 32-bit for now
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinBUILD_TYPES_SET=yes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinBUILD_TYPES=32
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# No configure script, so pass usual environment to build/install instead
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_TARGETS=
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_TARGETS_SET=yes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_BUILD_ENV=$(CONFIG_ENV)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_INSTALL_MAKEFLAGS = \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein bindir=$(X11_BIN_DIR) datadir=$(MODULE_PREFIX)/share mandir=$(X11_MAN_DIR)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Compatibility links from /usr/X11/bin to /usr/bin
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_X11_BINCOMPAT_LINKS = xlock
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeininclude ../Makefile.inc
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein