open-src/app/dispswitch/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed Aug 19 13:48:41 2015 -0700 (2015-08-19)
changeset 1484 bc8922b8e1d2
parent 1360 096d05346340
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb
Alan@649
     1
###############################################################################
Alan@649
     2
#
Alan@1339
     3
# dispswitch - utility for changing display configuration upon hotkey press
Alan@649
     4
#
Alan@1422
     5
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
Alan@649
     6
#
Alan@649
     7
# Permission is hereby granted, free of charge, to any person obtaining a
Alan@919
     8
# copy of this software and associated documentation files (the "Software"),
Alan@919
     9
# to deal in the Software without restriction, including without limitation
Alan@919
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
Alan@919
    11
# and/or sell copies of the Software, and to permit persons to whom the
Alan@919
    12
# Software is furnished to do so, subject to the following conditions:
Alan@919
    13
#
Alan@919
    14
# The above copyright notice and this permission notice (including the next
Alan@919
    15
# paragraph) shall be included in all copies or substantial portions of the
Alan@919
    16
# Software.
Alan@919
    17
#
Alan@919
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Alan@919
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Alan@919
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Alan@919
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Alan@919
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Alan@919
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Alan@919
    24
# DEALINGS IN THE SOFTWARE.
Alan@649
    25
#
Alan@649
    26
#
Alan@649
    27
Alan@649
    28
# Package name used in tarballs
Alan@649
    29
MODULE_NAME=dispswitch
Alan@649
    30
Alan@1360
    31
# Package metadata
Alan@1360
    32
ORACLE_TPNO = $(ORACLE_TPNO_xorg)
Alan@1360
    33
Alan@649
    34
# No upstream sources, only local sources
Alan@649
    35
MODULE_VERSION=src
Alan@1339
    36
MODULE_LICENSE_DESC = portions of the xrandr utility
Alan@649
    37
SOURCE_TARBALL_NAME=NONE
Alan@649
    38
SOURCE_TARBALL_NAME_SET=yes
Alan@649
    39
ADDITIONAL_SOURCE_DIR=sun-src
Alan@649
    40
Alan@1339
    41
# Dates to show in Oracle copyright notice in pkg license file
Alan@1339
    42
# Earliest & latest of the copyrights in the Oracle files in this pkg
Alan@1339
    43
ORACLE_COPYRIGHT_YEARS = 2008, 2010
Alan@1339
    44
Alan@970
    45
# pkg(5) name we deliver the files in (override default)
Alan@977
    46
MODULE_PKGNAME=x11/x11-server-utilities
Alan@970
    47
MODULE_PKGNAME_SET=yes
Alan@970
    48
Alan@970
    49
# ARC cases that covered this module
Alan@970
    50
# LSARC/2008/519  disp_switch 
Alan@970
    51
MODULE_ARC_CASES = LSARC/2008/519
Alan@970
    52
Alan@649
    53
# Man pages to apply Sun footer to & attributes to list
Alan@649
    54
SUNTOUCHED_MANPAGES= # None
Alan@649
    55
MODULE_STABILITY=Volatile
Alan@649
    56
Alan@1422
    57
# No configure script to run, but need to make build dirs
Alan@1422
    58
CONFIGURE_TARGETS = $(BUILD_DIR)
Alan@649
    59
CONFIGURE_TARGETS_SET=yes
Alan@649
    60
Alan@649
    61
# Since we don't have a configure script, pass configure flags to make
Alan@1422
    62
# and pass path to $(SOURCE_DIR) for makefiles & source files
Alan@1422
    63
REL_SOURCE_DIR = ../$(SOURCE_DIR)
Alan@1422
    64
MODULE_MAKEFLAGS  = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
Alan@1422
    65
MODULE_BUILD_ENV  = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
Alan@649
    66
Alan@970
    67
# Compatibility links from /usr/X11/bin to /usr/bin
Alan@970
    68
MODULE_X11_BINCOMPAT_LINKS = dispswitch
Alan@970
    69
Alan@649
    70
include ../Makefile.inc