author | Jay Cotton <Jay.Cotton@Oracle.com> |
Tue, 04 Oct 2016 12:37:42 -0700 | |
changeset 1665 | d048e72d9d75 |
parent 1634 | 197a4f8b6220 |
child 1667 | b3cf189da4a2 |
permissions | -rw-r--r-- |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
3 |
# TigerVNC (Xvnc server & vncviewer) Makefile |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
4 |
# Based on Fedora's tigervnc.spec revision 1.20 from |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
5 |
# http://cvs.fedoraproject.org/viewvc/rpms/tigervnc/devel/tigervnc.spec |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
1601
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
7 |
# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
8 |
# |
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
9 |
# 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:
916
diff
changeset
|
10 |
# 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:
916
diff
changeset
|
11 |
# 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:
916
diff
changeset
|
12 |
# 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:
916
diff
changeset
|
13 |
# 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:
916
diff
changeset
|
14 |
# 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:
916
diff
changeset
|
15 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
916
diff
changeset
|
16 |
# 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:
916
diff
changeset
|
17 |
# 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:
916
diff
changeset
|
18 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
916
diff
changeset
|
19 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
916
diff
changeset
|
20 |
# 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:
916
diff
changeset
|
21 |
# 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:
916
diff
changeset
|
22 |
# 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:
916
diff
changeset
|
23 |
# 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:
916
diff
changeset
|
24 |
# 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:
916
diff
changeset
|
25 |
# 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:
916
diff
changeset
|
26 |
# DEALINGS IN THE SOFTWARE. |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
# |
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
|
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
# Package name used in tarballs |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
30 |
MODULE_NAME=tigervnc |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
32 |
# Package metadata |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
33 |
UPSTREAM = TigerVNC |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
34 |
UPSTREAM_URL = http://www.tigervnc.com/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
35 |
UPSTREAM_SET = yes |
1551
73fac33fe172
21299212 X packages should use com.oracle.info.consolidation.repository-* tags
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1549
diff
changeset
|
36 |
GIT_URL = https://github.com/TigerVNC/tigervnc.git |
73fac33fe172
21299212 X packages should use com.oracle.info.consolidation.repository-* tags
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1549
diff
changeset
|
37 |
GIT_URL_SET = yes |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
38 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
39 |
MODULE_LICENSE = GPLv2 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
40 |
MODULE_LICENSE_SET = yes |
1003
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
981
diff
changeset
|
41 |
MODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE) |
1356
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1347
diff
changeset
|
42 |
MODULE_LICENSE_DESC = portions of the TigerVNC software |
1392
fa8ecde31cf5
17251350 X needs more TPNO's
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1366
diff
changeset
|
43 |
ORACLE_TPNO = 9801 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
44 |
|
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
# Version number (used in path names) |
1252
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
46 |
MODULE_VERSION=1.1.0 |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
47 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
48 |
# Checksums for upstream tarball |
1252
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
49 |
TARBALL_MD5 = 1a5598b4a2ac530fb51411438959e11e |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
50 |
TARBALL_SHA1 = a678745c231a37eea92c7c7c259f7495061a9a0d |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
51 |
|
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
52 |
# Source tarball |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
53 |
SOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
54 |
SOURCE_TARBALL_NAME_SET=yes |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
55 |
|
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
# Xorg server source tarball to use sources from |
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
XORG_TARBALL=$(TARBALLDIR)/xorg-server-$(XORGSERVER_VERS).tar.bz2 |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
58 |
XORG_SOURCE_DIR = $(SOURCE_DIR)/unix/xserver |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
59 |
XORG_BUILD_DIR = $(BUILD_DIR)/unix/xserver |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
|
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
61 |
# Java VNCviewer applet for connecting from a web browser |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
62 |
JAVA_SOURCE_DIR = $(SOURCE_DIR)/java/src/com/tigervnc |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
63 |
JAVA_BUILD_DIR = $(BUILD_DIR)/java/src/com/tigervnc |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
64 |
|
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
# Download site for source |
1252
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
66 |
SOURCE_URL=$(SF_DOWNLOADS_URL)/tigervnc/tigervnc/1.1.0/$(SOURCE_TARBALL_NAME) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
SOURCE_URL_SET=yes |
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
|
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
69 |
# Patches to apply to source after unpacking, in order |
1665
d048e72d9d75
24797462 GLX extension is no longer initialized by DIX layer
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1634
diff
changeset
|
70 |
SOURCE_PATCHES += 0001-GLX-is-no-longer-initialised-by-the-dix.patch,-p1 |
d048e72d9d75
24797462 GLX extension is no longer initialized by DIX layer
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1634
diff
changeset
|
71 |
SOURCE_PATCHES += 0001-LoadExtensionList.patch,-p1 |
1634
197a4f8b6220
23287368 Update Xorg server to 1.18.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1610
diff
changeset
|
72 |
SOURCE_PATCHES += $(SOURCE_DIR)/unix/xserver118.patch,'-p0 -d unix' |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
73 |
SOURCE_PATCHES += tigervnc11-xorg111.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
74 |
SOURCE_PATCHES += tigervnc11-xorg112.patch,'-p0 -d unix' |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1542
diff
changeset
|
75 |
SOURCE_PATCHES += tigervnc11-xorg117.patch,'-p0 -d unix' |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
76 |
SOURCE_PATCHES += xorg-1.12.1.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
77 |
SOURCE_PATCHES += no-nasm.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
78 |
SOURCE_PATCHES += applet-html.patch |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
79 |
SOURCE_PATCHES += icon.patch,-p1 |
1462
3a8454127ea3
18713330 CBE requirements per pteam -gcc 4.8, python 3.4, jdk 8 and prep for Studio 12.4
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1428
diff
changeset
|
80 |
SOURCE_PATCHES += jdk-version.patch,-p1 |
1276
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
81 |
SOURCE_PATCHES += solaris-libraries.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
82 |
SOURCE_PATCHES += vnc-nobuildtime.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
83 |
SOURCE_PATCHES += vnc-nohttpd.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
84 |
SOURCE_PATCHES += solaris-port.patch,-p1 |
52f85727ce94
7161868 Update X.Org modules to X11R7.7 RC1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1272
diff
changeset
|
85 |
SOURCE_PATCHES += solaris-audit.patch,-p1 |
1428
08d73e56964f
16395936 x11perf exits with BadWindow error on Solaris 11 TX
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1425
diff
changeset
|
86 |
SOURCE_PATCHES += 17950657.patch,-p1 |
1462
3a8454127ea3
18713330 CBE requirements per pteam -gcc 4.8, python 3.4, jdk 8 and prep for Studio 12.4
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1428
diff
changeset
|
87 |
SOURCE_PATCHES += studio12.4-patch,-p1 |
1523
078d84a16e65
19811326 problem in X11/VNC
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1477
diff
changeset
|
88 |
SOURCE_PATCHES += CVE-2014-8240.patch,-p1 |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1542
diff
changeset
|
89 |
SOURCE_PATCHES += vnc-Makefile.patch,-p1 |
1601
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
90 |
SOURCE_PATCHES += gnutls-3.patch,-p1 |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
91 |
SOURCE_PATCHES += gnutls-drop-ecdh.patch,-p1 |
1604
7c1d3d58ca69
21630031 VNC Infrastructure for the Sonoma Platform
Phi Tran <Phi.N.Tran@Oracle.COM>
parents:
1601
diff
changeset
|
92 |
SOURCE_PATCHES += screenlock.patch,-p1 |
1607
80f8cd5b6d90
22727844 X gate builds should specify C & C++ language versions to use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1604
diff
changeset
|
93 |
SOURCE_PATCHES += signed-unsigned-mismatches.patch,-p1 |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
94 |
|
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
95 |
# Need to regenerate autoconf/automake files after patching |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
96 |
AUTORECONF=yes |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
97 |
|
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
98 |
# TigerVNC 1.1 doesn't fully support out-of-tree builds, so clone the source |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
99 |
CLONE_SRC = yes |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
100 |
|
1416
bcf00ae6c8e5
17768852 fix X build failures seen on shared build servers installed with s > s12_32
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1392
diff
changeset
|
101 |
# Disable parfait build with 1.3 - 17759056 |
bcf00ae6c8e5
17768852 fix X build failures seen on shared build servers installed with s > s12_32
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1392
diff
changeset
|
102 |
USE_PARFAIT=no |
bcf00ae6c8e5
17768852 fix X build failures seen on shared build servers installed with s > s12_32
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1392
diff
changeset
|
103 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
104 |
# ARC cases that covered this module |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
105 |
# PSARC/2007/545 Xvnc |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
106 |
MODULE_ARC_CASES = PSARC/2007/545 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
107 |
# LSARC/2007/625 vncviewer |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
108 |
MODULE_ARC_CASES += LSARC/2007/625 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
109 |
# PSARC/2009/592 TigerVNC 1.0 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
110 |
MODULE_ARC_CASES += PSARC/2009/592 |
947
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
111 |
|
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
112 |
# Man pages to apply Sun footer to & attributes to list |
247
eec255d17972
6616573 Ship RealVNC vncviewer in Solaris [LSARC 2007/625]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
241
diff
changeset
|
113 |
SUNTOUCHED_MANPAGES= \ |
947
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
114 |
unix/xserver/hw/vnc/Xvnc.man unix/vncviewer/vncviewer.man \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
115 |
unix/vncconfig/vncconfig.man unix/vncpasswd/vncpasswd.man \ |
247
eec255d17972
6616573 Ship RealVNC vncviewer in Solaris [LSARC 2007/625]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
241
diff
changeset
|
116 |
unix/vncserver.man unix/x0vncserver/x0vncserver.man |
947
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
117 |
MODULE_STABILITY = Volatile |
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
118 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
119 |
# Additional pkg(5) package name used for vncviewer package |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
120 |
VNCVIEWER_PKGNAME=desktop/remote-desktop/$(MODULE_NAME) |
947
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
121 |
|
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
122 |
# Override specific attributes for specific man pages |
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
123 |
MODULE_SUNTOUCH_MAN_FLAGS= \ |
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
124 |
$(SUNTOUCH_MAN_FLAGS_$(@F:%.man.$(FIXED_MAN_SUFFIX)=%)) |
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
125 |
SUNTOUCH_MAN_FLAGS_vncviewer = -o '{Availability, $(VNCVIEWER_PKGNAME)}' \ |
ef9da9d336f5
6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
126 |
-o '{Interface Stability, Path: Committed, Options: Volatile}' |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
127 |
|
241
30e6f29a3171
6624562 Xvnc should be built with Sun Studio
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
235
diff
changeset
|
128 |
# Compiler to use |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
129 |
MODULE_COMPILER=suncc |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
130 |
MODULE_COMPILER_SET=yes |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
131 |
|
1270
d1685febb560
7083537 Xorg 1.12 & associated module updates (fix sparc build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1265
diff
changeset
|
132 |
# Make command to use |
d1685febb560
7083537 Xorg 1.12 & associated module updates (fix sparc build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1265
diff
changeset
|
133 |
MODULE_MAKE=$(GNUMAKE) |
d1685febb560
7083537 Xorg 1.12 & associated module updates (fix sparc build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1265
diff
changeset
|
134 |
MODULE_MAKE_SET=yes |
d1685febb560
7083537 Xorg 1.12 & associated module updates (fix sparc build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1265
diff
changeset
|
135 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
136 |
# Xvnc has to configure, build, and install in different directories due to |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
137 |
# the mixed codebases and unusual directory layout |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
138 |
$(NO_RECURSE)MODULE_ADD_SOURCE_TARGETS = Xvnc_source_init |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
139 |
$(NO_RECURSE)MODULE_SOURCE_DEPS = Xvnc_source_init |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
140 |
$(NO_RECURSE)ADDITIONAL_SOURCE_DIR = sun-src |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
141 |
MODULE_ADD_CONFIGURE_TARGETS = $(XORG_BUILD_DIR)/Makefile |
1097
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
142 |
BUILD_TARGETS=Xvnc_build set-elf-comments java_build |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
143 |
BUILD_TARGETS_SET=yes |
1097
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
144 |
INSTALL_TARGETS=Xvnc_install_server Xvnc_install_programs \ |
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
145 |
java_install Xvnc_install_data install_fix_paths |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
146 |
INSTALL_TARGETS_SET=yes |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
147 |
|
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
148 |
# Environment variable options to GNU autoconf configure script |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
149 |
# Have to remove CFLAGS entries from default LDFLAGS to avoid conflicts |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
150 |
# with the C++ compiler we use instead |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
151 |
MODULE_CONFIG_ENV = \ |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
152 |
LDFLAGS="$(DEFAULT_CONFIG_LDFLAGS) $(MODTYPE_LDFLAGS) $(MODULE_LDFLAGS)" |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
153 |
|
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
154 |
# Command line options to GNU autoconf configure script for vnc clients |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
155 |
MODULE_CONFIG_OPTS = --with-installed-zlib --with-system-jpeg --without-simd |
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
156 |
MODULE_CONFIG_OPTS += --libdir='$${exec_prefix}/lib/vnc' |
1601
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
157 |
MODULE_CONFIG_OPTS += --enable-gnutls |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
158 |
|
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
159 |
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition (bug 22144600) |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
160 |
GNUTLS_PKGCONFIG_CMD = \ |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
161 |
PKG_CONFIG_PATH=/usr/lib/$(SUBDIR64)/pkgconfig/gnutls-3/ pkg-config |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
162 |
MODULE_CONFIG_OPTS += GNUTLS_CFLAGS="$$($(GNUTLS_PKGCONFIG_CMD) --cflags gnutls)" |
8c094bb73cdf
22144600 problem in X11/VNC
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
163 |
MODULE_CONFIG_OPTS += GNUTLS_LDFLAGS="$$($(GNUTLS_PKGCONFIG_CMD) --libs gnutls)" |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
164 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
165 |
# 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:
965
diff
changeset
|
166 |
MODULE_X11_BINCOMPAT_LINKS = Xvnc |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
167 |
|
1097
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
168 |
# Binaries that were linked to isaexec on x86 to choose 32-bit or 64-bit, |
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
169 |
# now just symlinks from amd64 to parent directory |
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
170 |
LINKED_TO_ISAEXEC = Xvnc |
1030
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
171 |
|
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
172 |
include ../Makefile.inc |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
173 |
|
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
174 |
# Merge in additional sources from Xorg tarball & sun-src directory |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
175 |
# This step has to be done before default_source, so that patches applied |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
176 |
# in that step work correctly. |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
177 |
$(NO_RECURSE)XORG_SOURCE_INIT_TARGET = $(XORG_SOURCE_DIR)/$(SOURCE_INIT_TARGET_FILE) |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
178 |
$(NO_RECURSE)XORG_PATCHED_TARGET = $(XORG_SOURCE_DIR)/$(PATCHED_TARGET_FILE) |
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
179 |
Xvnc_source_init: $(XORG_PATCHED_TARGET) |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
180 |
|
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
181 |
$(XORG_TARBALL): |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
182 |
(cd ../xorg && $(MAKE) $(MAKEFLAGS) download) |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
183 |
|
1088
1c99106ccbe0
6983602 Xorg 1.9 integration [PSARC/2011/008]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1042
diff
changeset
|
184 |
$(XORG_SOURCE_INIT_TARGET): $(XORG_TARBALL) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
185 |
mkdir -p $(SOURCE_DIR)/unix |
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
186 |
$(MAKE) $(MAKEFLAGS) init_source \ |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
187 |
NO_RECURSE="$(POUND_SIGN)" \ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
188 |
BUILD_TYPE="$(BUILD_TYPE)" \ |
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
189 |
SOURCE_TARBALL="$(XORG_TARBALL)" \ |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
190 |
SOURCE_DEPS="$(XORG_TARBALL)" \ |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
191 |
SOURCE_DIR="$(XORG_SOURCE_DIR)" \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
192 |
BUILD_DIR="$(XORG_BUILD_DIR)" |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
193 |
(cd $(XORG_SOURCE_DIR) && $(LNDIR) ../../../../xorg/sun-src) |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
194 |
touch $(XORG_SOURCE_INIT_TARGET) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
195 |
|
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
196 |
$(XORG_PATCHED_TARGET): $(XORG_SOURCE_INIT_TARGET) |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
197 |
$(MAKE) $(MAKEFLAGS) patched_source \ |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
198 |
NO_RECURSE="$(POUND_SIGN)" \ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
199 |
BUILD_TYPE="$(BUILD_TYPE)" \ |
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
922
diff
changeset
|
200 |
SOURCE_PATCHES="$(XORG_SOURCE_PATCHES:%=../xorg/%)" \ |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
201 |
SOURCE_DIR="$(XORG_SOURCE_DIR)" \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
202 |
BUILD_DIR="$(XORG_BUILD_DIR)" \ |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
203 |
XORG_BUILD_DIR="$(XORG_BUILD_DIR)" |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
204 |
(cd $(SOURCE_DIR) && $(LNDIR) ../sun-src) |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
205 |
touch $(XORG_PATCHED_TARGET) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
206 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
207 |
# Command line options to GNU autoconf configure script for Xvnc |
1252
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
208 |
XVNC_CONFIG_OPTS = $(DEFAULT_CONFIG_OPTS) $(XSERVER_CONFIG_OPTS) |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
209 |
# Disable all the things we don't need in the Xvnc build since we |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
210 |
# get them in the normal Xorg build instead |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
211 |
XVNC_CONFIG_OPTS += --disable-builddocs --disable-xfree86-utils |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
212 |
XVNC_CONFIG_OPTS += --disable-xorg --disable-xnest --disable-xvfb --disable-dmx |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1542
diff
changeset
|
213 |
XVNC_CONFIG_OPTS += --disable-xwin --disable-xephyr --disable-kdrive |
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1542
diff
changeset
|
214 |
XVNC_CONFIG_OPTS += --disable-dri3 --disable-present |
1252
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
215 |
# Disable building Xorg hardware device support that Xvnc can't use |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
216 |
XVNC_CONFIG_OPTS += --without-int10 --disable-config-hal --disable-dga |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
217 |
# The X server unit tests currently depend on the Xorg ddx being built |
ab8d8ab60287
7152088 Upgrade to TigerVNC 1.1.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
218 |
XVNC_CONFIG_OPTS += --disable-unit-tests |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
219 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
220 |
MODULE_CPPFLAGS = \ |
241
30e6f29a3171
6624562 Xvnc should be built with Sun Studio
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
235
diff
changeset
|
221 |
-D__extension__=\"\" \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
222 |
-I$(PWD)/$(SOURCE_DIR)/common \ |
1333
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1296
diff
changeset
|
223 |
-I$(PWD)/$(SOURCE_DIR)/unix/vncconfig \ |
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1296
diff
changeset
|
224 |
-I$(PWD)/$(SOURCE_DIR)/unix/xserver/miext/damage \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
225 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
480
diff
changeset
|
226 |
CFLAGS_gcc += -fPIC |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
227 |
|
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
599
diff
changeset
|
228 |
# Needed by unix/xorg-x11-server-source/hw/vnc/Makefile.am to find libpixman |
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
599
diff
changeset
|
229 |
# headers in proto area after solaris-port.patch is applied |
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
599
diff
changeset
|
230 |
MODULE_MAKEFLAGS = PROTODIR=$(PROTODIR) |
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
599
diff
changeset
|
231 |
|
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
232 |
# Run configure script for Xvnc |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
233 |
$(XORG_BUILD_DIR)/Makefile: $(SOURCE_TARGETS) $(BUILD_DIR) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
234 |
(cd $(XORG_BUILD_DIR) && \ |
599
c195ef96916e
6787756 Use Solaris-bundled GNU tools where possible, instead of JDS CBE, when building X
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
591
diff
changeset
|
235 |
$(AUTORECONF_ENV) autoreconf --install --force && \ |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
236 |
$(CONFIG_ENV) $(CONFIG_SHELL) ./configure $(XVNC_CONFIG_OPTS) ) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
237 |
|
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
238 |
Xvnc_build: $(CONFIGURE_TARGETS) |
1147
54bcc6a673bf
7054723 X consolidation should move to perl 5.12
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
239 |
$(PERL) -i -p -e 's{/usr/bin/env perl}{$(PERL)}' \ |
54bcc6a673bf
7054723 X consolidation should move to perl 5.12
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
240 |
$(SOURCE_DIR)/unix/vncserver |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
241 |
$(DEFAULT_BUILD_COMMAND:@DIR@=$(BUILD_DIR)) |
1425
d2b9d2006251
17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1416
diff
changeset
|
242 |
$(DEFAULT_BUILD_COMMAND:@DIR@=$(XORG_BUILD_DIR)) |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
243 |
|
1030
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
244 |
Xvnc_install_server: $(BUILD_TARGETS) |
1425
d2b9d2006251
17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1416
diff
changeset
|
245 |
$(DEFAULT_INSTALL_COMMAND:@DIR@=$(XORG_BUILD_DIR)/hw/vnc) install |
1097
243d7ed7a10c
6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1088
diff
changeset
|
246 |
rm -f $(PROTODIR)/$(X11_SERVERMODS_DIR)/extensions/libvnc.so |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
247 |
|
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
248 |
Xvnc_install_programs: $(BUILD_TARGETS) |
1030
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
249 |
mkdir -p $(PROTODIR)/usr/bin/$(ARCHBINSUBDIR) |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
250 |
$(INSTALL_SCRIPT) -m 0755 $(BUILD_DIR)/unix/vncserver \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
251 |
$(BUILD_DIR)/unix/vncpasswd/vncpasswd \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
252 |
$(BUILD_DIR)/unix/vncconfig/vncconfig \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
253 |
$(BUILD_DIR)/unix/vncviewer/vncviewer \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
254 |
$(BUILD_DIR)/unix/x0vncserver/x0vncserver \ |
1019
2479b048f8d0
6982811 64 bit Xvnc server and Tiger Vncviewer support
Arvind Umrao <Arvind.Umrao@Sun.COM>
parents:
1003
diff
changeset
|
255 |
$(PROTODIR)/usr/bin/$(ARCHBINSUBDIR) |
1030
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
256 |
|
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
257 |
Xvnc_install_data: $(SOURCE_TARGETS) |
0738233d0472
6996111 validate_pkg failures introduced by VNC & DMX putbacks in snv_152
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1023
diff
changeset
|
258 |
mkdir -p $(PROTODIR)/usr/share/man/man1 \ |
1610
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1607
diff
changeset
|
259 |
$(PROTODIR)$(X11_SMF_MANIFEST_DIR) |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
260 |
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/unix/vncserver.man \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
261 |
$(PROTODIR)/usr/share/man/man1/vncserver.1 |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
262 |
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/unix/vncconfig/vncconfig.man \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
263 |
$(PROTODIR)/usr/share/man/man1/vncconfig.1 |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
264 |
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/unix/vncpasswd/vncpasswd.man \ |
235
06772554f851
6572087 ship Xvnc for Solaris [PSARC/2007/545]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
265 |
$(PROTODIR)/usr/share/man/man1/vncpasswd.1 |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
266 |
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/unix/vncviewer/vncviewer.man \ |
247
eec255d17972
6616573 Ship RealVNC vncviewer in Solaris [LSARC 2007/625]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
241
diff
changeset
|
267 |
$(PROTODIR)/usr/share/man/man1/vncviewer.1 |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
268 |
$(INSTALL_SCRIPT) -m 0444 \ |
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
269 |
$(SOURCE_DIR)/unix/x0vncserver/x0vncserver.man \ |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
270 |
$(PROTODIR)/usr/share/man/man1/x0vncserver.1 |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
271 |
$(INSTALL_SCRIPT) -m 0444 xvnc-inetd.xml \ |
1610
77a2e608a1ff
22807351 X gate makefiles no longer need to carry around $(X11_DIR) baggage
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1607
diff
changeset
|
272 |
$(PROTODIR)$(X11_SMF_MANIFEST_DIR)/ |
1604
7c1d3d58ca69
21630031 VNC Infrastructure for the Sonoma Platform
Phi Tran <Phi.N.Tran@Oracle.COM>
parents:
1601
diff
changeset
|
273 |
$(INSTALL_SCRIPT) -m 0555 vnclock.sh \ |
7c1d3d58ca69
21630031 VNC Infrastructure for the Sonoma Platform
Phi Tran <Phi.N.Tran@Oracle.COM>
parents:
1601
diff
changeset
|
274 |
$(PROTODIR)/usr/lib/vnclock |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
275 |
|
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
276 |
# Java VNCviewer applet for connecting from a web browser |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
277 |
JAVA_INSTALL_DIR = $(PROTODIR)/usr/share/vnc/classes |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
278 |
JAVA_JAR_FILE = $(JAVA_BUILD_DIR)/vncviewer/VncViewer.jar |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
279 |
|
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
280 |
java_build: $(JAVA_JAR_FILE) |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
281 |
|
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
282 |
$(JAVA_JAR_FILE): $(SOURCE_TARGETS) $(BUILD_DIR) |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
283 |
$(DEFAULT_BUILD_COMMAND:@DIR@=$(JAVA_BUILD_DIR)/decoder) |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
284 |
$(DEFAULT_BUILD_COMMAND:@DIR@=$(JAVA_BUILD_DIR)/vncviewer) |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
285 |
|
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
286 |
java_install: $(JAVA_JAR_FILE) |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
287 |
-rm -rf $(JAVA_INSTALL_DIR) |
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
288 |
mkdir -p $(JAVA_INSTALL_DIR) |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
289 |
$(DEFAULT_INSTALL_COMMAND:@DIR@=$(JAVA_BUILD_DIR)/vncviewer) \ |
1425
d2b9d2006251
17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1416
diff
changeset
|
290 |
install INSTALL_DIR=$(JAVA_INSTALL_DIR) |
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
291 |
$(INSTALL_SCRIPT) -m 0444 $(JAVA_SOURCE_DIR)/vncviewer/README \ |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1462
diff
changeset
|
292 |
$(JAVA_SOURCE_DIR)/vncviewer/LICENCE.TXT \ |
822
2a89ea3c59be
6898535 Upgrade VNC from RealVNC 4.1.3 to TigerVNC 1.0 [PSARC/2009/592]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
293 |
$(JAVA_INSTALL_DIR) |
963
7a4fced80e83
6962316 X proto area should more closely match packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
949
diff
changeset
|
294 |
chmod a+x $(JAVA_INSTALL_DIR)/VncViewer.jar |
1124
7bc7e624f965
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1111
diff
changeset
|
295 |
rm -f $(JAVA_INSTALL_DIR)/*.class |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
296 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
297 |
# Metadata for vncviewer package |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
298 |
VNCVIEWER_PKG_METADATA_DIR = $(PROTOMETA)/desktop-remote-desktop-tigervnc |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
299 |
VNCVIEWER_PKG_ATTRDATA_FILE = $(VNCVIEWER_PKG_METADATA_DIR)/$(ATTRDATA_FILE_NAME) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
300 |
VNCVIEWER_PKG_LICENSE_FILE = $(VNCVIEWER_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
301 |
VNCVIEWER_METADATA_TARGETS = \ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
302 |
$(VNCVIEWER_PKG_METADATA_DIR) \ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
303 |
$(VNCVIEWER_PKG_ATTRDATA_FILE) \ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
304 |
$(VNCVIEWER_PKG_LICENSE_FILE) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
305 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
306 |
install_metadata: $(VNCVIEWER_METADATA_TARGETS) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
307 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
308 |
$(VNCVIEWER_PKG_METADATA_DIR): |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
309 |
mkdir -p $@ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
310 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
311 |
$(VNCVIEWER_PKG_ATTRDATA_FILE) $(VNCVIEWER_PKG_LICENSE_FILE): $(VNCVIEWER_PKG_METADATA_DIR) |