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