Makefile revision 1466
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews###############################################################################
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
32098293b78922a5fbd10906afa28624820d3756Tinderbox User# accessx accessibility feature configuration utility Makefile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# 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:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# 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# Software.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
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
71c66a876ecca77923638d3f94cc0783152b2f03Mark 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#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package name used in tarballs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_NAME=accessx
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package metadata
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinORACLE_TPNO = $(ORACLE_TPNO_xorg)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Dates to show in Oracle copyright notice in pkg license file
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Earliest & latest of the copyrights in the Oracle files in this pkg
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinORACLE_COPYRIGHT_YEARS = 1993, 2009
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# pkg(5) name we deliver the files in (override default)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_PKGNAME=x11/keyboard/accessx
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_PKGNAME_SET=yes
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# Package classification (override default)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_PKGCLASS=Applications/Universal Access
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_PKGCLASS_SET=yes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# No upstream sources, only local sources
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_VERSION=src
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSOURCE_TARBALL_NAME=NONE
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserSOURCE_TARBALL_NAME_SET=yes
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntADDITIONAL_SOURCE_DIR=sun-src
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# Haven't made sure it's 64-bit clean yet, so continue building 32-bit for now
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserBUILD_TYPES_SET=yes
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserBUILD_TYPES=32
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# Man pages to apply Sun footer to & attributes to list
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserSUNTOUCHED_MANPAGES= accessx.1
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserMODULE_STABILITY=Committed
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# No configure script to run, but need to make build dirs
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserCONFIGURE_TARGETS = $(BUILD_DIR)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_TARGETS_SET=yes
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Override timestamps embedded in uil output files
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinTIME_CONSTANT = 1272503297
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Since we don't have a configure script, pass configure flags to make
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and pass path to $(SOURCE_DIR) for makefiles & source files
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREL_SOURCE_DIR = ../$(SOURCE_DIR)
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserMODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic UpdaterMODULE_CONFIG_ENV = $(CONSTANT_TIME)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntMODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# Compatibility links from /usr/X11/bin to /usr/bin
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserMODULE_X11_BINCOMPAT_LINKS = accessx
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeininclude ../Makefile.inc
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt