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