Makefile revision 449
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Xvnc server Makefile
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Based on Fedora's vnc-4.1.2-21.fc8/vnc.spec
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Permission is hereby granted, free of charge, to any person obtaining a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# copy of this software and associated documentation files (the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# "Software"), to deal in the Software without restriction, including
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# without limitation the rights to use, copy, modify, merge, publish,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# distribute, and/or sell copies of the Software, and to permit persons
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# to whom the Software is furnished to do so, provided that the above
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# copyright notice(s) and this permission notice appear in all copies of
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# the Software and that both the above copyright notice(s) and this
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# permission notice appear in supporting documentation.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Except as contained in this notice, the name of a copyright holder
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# shall not be used in advertising or otherwise to promote the sale, use
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or other dealings in this Software without prior written authorization
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# of the copyright holder.
# Name used in server-specific rules in ../Makefile.inc
#SOURCE_URL=http://www.realvnc.com/dist/$(SOURCE_TARBALL_NAME)
SOURCE_PATCHES = \
c++public.patch \
# different attributes/path set
# This step has to be done before including common/Makefile.inc so
PATCH_CMD=`echo $$p | awk -F, '{if (NF > 1) FLAGS = $$2; else FLAGS="-p0" ; printf "gpatch -d $(XORG_SOURCE_DIR) %s < ../xorg/%s\n", FLAGS, $$1}'` ; \
eval $${PATCH_CMD} ; \
# This step has to be done after including common/Makefile.inc since
unix/xorg-x11-server-source/hw/vnc/ ; \
cp -p unix/xorg-x11-server-source/cfb/cfb.h \
unix/xorg-x11-server-source/hw/vnc/ ; \
-p /usr/bin/ unix/vncviewer/vncviewer.man )
XVNC_CPPFLAGS = \
-D__extension__=\"\" \