Makefile revision 1003
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder###############################################################################
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# TigerVNC (Xvnc server & vncviewer) Makefile
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# Based on Fedora's tigervnc.spec revision 1.20 from
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# http://cvs.fedoraproject.org/viewvc/rpms/tigervnc/devel/tigervnc.spec
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# Permission is hereby granted, free of charge, to any person obtaining a
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# copy of this software and associated documentation files (the "Software"),
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# to deal in the Software without restriction, including without limitation
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# the rights to use, copy, modify, merge, publish, distribute, sublicense,
ea9ad77838dce923ced1df2ac09a7f0226363593Christian Maeder# and/or sell copies of the Software, and to permit persons to whom the
a2fe183047ab9a7accab1c17062db0987d2dd7c5Christian Maeder# Software is furnished to do so, subject to the following conditions:
a2fe183047ab9a7accab1c17062db0987d2dd7c5Christian Maeder# The above copyright notice and this permission notice (including the next
6cb09495133887e0d5e021fa3cf44f288881eb68Christian Maeder# paragraph) shall be included in all copies or substantial portions of the
a2fe183047ab9a7accab1c17062db0987d2dd7c5Christian Maeder# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dbc8d3892d2e742bda322d92203b4b09ce10077fChristian Maeder# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
88c36311800ca29752a8ac9cd80035b94be3d717Christian Maeder# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
88c36311800ca29752a8ac9cd80035b94be3d717Christian Maeder# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88c36311800ca29752a8ac9cd80035b94be3d717Christian Maeder# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
ee35696edbcdb06e451d39c11bda2f2fd4b5dd3fChristian Maeder# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
ee35696edbcdb06e451d39c11bda2f2fd4b5dd3fChristian Maeder# DEALINGS IN THE SOFTWARE.
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# Package name used in tarballs
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# Package metadata
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# Version number (used in path names)
0e2ae85e2453466d03c1fc5884a3d693235bb9d9Christian Maeder# Checksums for upstream tarball
c7e51ef7607376891c61337918d95503ab2910efChristian MaederTARBALL_MD5 = daca3eb16afe65253b766eccb8bfdbc5
c7e51ef7607376891c61337918d95503ab2910efChristian MaederTARBALL_SHA1 = 0c3dd6a3540966fea979a06df08c3aa9bdd1dc67
a099728a1284ade9faab7ad339430615dda61113Christian Maeder# Source tarball
414ffa281d82f05a2d742c702f8e06b0cb05b229Christian MaederSOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
a099728a1284ade9faab7ad339430615dda61113Christian Maeder# Xorg server source tarball to use sources from
6cb09495133887e0d5e021fa3cf44f288881eb68Christian MaederXORG_TARBALL=$(TARBALLDIR)/xorg-server-$(XORGSERVER_VERS).tar.bz2
c7e51ef7607376891c61337918d95503ab2910efChristian MaederXORG_SOURCE_DIR=$(BUILD_DIR)/xorg-server-$(XORGSERVER_VERS)
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# Download site for source
8af890f3d0fee5e1ede9e30e03b7525f4746ea66Christian MaederSOURCE_URL=$(SF_DOWNLOADS_URL)/project/tigervnc/tigervnc/$(MODULE_VERSION)/$(SOURCE_TARBALL_NAME)
ee35696edbcdb06e451d39c11bda2f2fd4b5dd3fChristian Maeder# Patches to apply to source after unpacking, in order
c7e51ef7607376891c61337918d95503ab2910efChristian Maeder# ARC cases that covered this module
$(XORG_TARBALL):
MODULE_CPPFLAGS = \
-D__extension__=\"\" \
# Needed by unix/xorg-x11-server-source/hw/vnc/Makefile.am to find libpixman
# headers in proto area after solaris-port.patch is applied
mkdir -p $@