Makefile revision 1356
4de2612967d06c4fdbf524a62556a1e8118a006fxs###############################################################################
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# xlock - manually activated screen lock program
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Permission is hereby granted, free of charge, to any person obtaining a
4de2612967d06c4fdbf524a62556a1e8118a006fxs# copy of this software and associated documentation files (the "Software"),
4de2612967d06c4fdbf524a62556a1e8118a006fxs# to deal in the Software without restriction, including without limitation
4de2612967d06c4fdbf524a62556a1e8118a006fxs# the rights to use, copy, modify, merge, publish, distribute, sublicense,
4de2612967d06c4fdbf524a62556a1e8118a006fxs# and/or sell copies of the Software, and to permit persons to whom the
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Software is furnished to do so, subject to the following conditions:
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# The above copyright notice and this permission notice (including the next
4de2612967d06c4fdbf524a62556a1e8118a006fxs# paragraph) shall be included in all copies or substantial portions of the
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Software.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4de2612967d06c4fdbf524a62556a1e8118a006fxs# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4de2612967d06c4fdbf524a62556a1e8118a006fxs# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
4de2612967d06c4fdbf524a62556a1e8118a006fxs# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4de2612967d06c4fdbf524a62556a1e8118a006fxs# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
489b7c4ab76ae8df137fbfcc2214f7baa52883a0Raymond Chen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4de2612967d06c4fdbf524a62556a1e8118a006fxs# DEALINGS IN THE SOFTWARE.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Package name used in tarballs
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE_NAME=xlock
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Package metadata
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE_DESC = the xlock screen lock program
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Dates to show in Oracle copyright notice in pkg license file
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Earliest & latest of the copyrights in the Oracle files in this pkg
4de2612967d06c4fdbf524a62556a1e8118a006fxsORACLE_COPYRIGHT_YEARS = 1988, 2011
4de2612967d06c4fdbf524a62556a1e8118a006fxsORACLE_TPNO = 9808
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# No upstream sources for these files, since they're Solaris-specific
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsMODULE_VERSION=src
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsSOURCE_TARBALL_NAME=NONE
4de2612967d06c4fdbf524a62556a1e8118a006fxsSOURCE_TARBALL_NAME_SET=yes
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsADDITIONAL_SOURCE_DIR=sun-src
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Patches to apply to source after unpacking, in order
4de2612967d06c4fdbf524a62556a1e8118a006fxsSOURCE_PATCHES =
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Haven't made sure it's 64-bit clean yet, so continue building 32-bit for now
4de2612967d06c4fdbf524a62556a1e8118a006fxsBUILD_TYPES_SET=yes
4de2612967d06c4fdbf524a62556a1e8118a006fxsBUILD_TYPES=32
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# No configure script, so pass usual environment to build/install instead
4de2612967d06c4fdbf524a62556a1e8118a006fxsCONFIGURE_TARGETS=
4de2612967d06c4fdbf524a62556a1e8118a006fxsCONFIGURE_TARGETS_SET=yes
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE_BUILD_ENV=$(CONFIG_ENV)
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE_INSTALL_MAKEFLAGS = \
4de2612967d06c4fdbf524a62556a1e8118a006fxs bindir=$(X11_BIN_DIR) datadir=$(MODULE_PREFIX)/share mandir=$(X11_MAN_DIR)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Compatibility links from /usr/X11/bin to /usr/bin
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE_X11_BINCOMPAT_LINKS = xlock
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsinclude ../Makefile.inc
4de2612967d06c4fdbf524a62556a1e8118a006fxs