Makefile revision 810
e8767bd3cabb360b1307698236a7778044950900buliabyak###############################################################################
e8767bd3cabb360b1307698236a7778044950900buliabyak# Xvnc server Makefile
e8767bd3cabb360b1307698236a7778044950900buliabyak# Based on Fedora's vnc.spec revision 1.202 from
e8767bd3cabb360b1307698236a7778044950900buliabyak# http://cvs.fedoraproject.org/viewvc/rpms/vnc/devel/vnc.spec
e8767bd3cabb360b1307698236a7778044950900buliabyak# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
e8767bd3cabb360b1307698236a7778044950900buliabyak# Use is subject to license terms.
e8767bd3cabb360b1307698236a7778044950900buliabyak# Permission is hereby granted, free of charge, to any person obtaining a
e8767bd3cabb360b1307698236a7778044950900buliabyak# copy of this software and associated documentation files (the
e8767bd3cabb360b1307698236a7778044950900buliabyak# "Software"), to deal in the Software without restriction, including
e8767bd3cabb360b1307698236a7778044950900buliabyak# without limitation the rights to use, copy, modify, merge, publish,
e8767bd3cabb360b1307698236a7778044950900buliabyak# distribute, and/or sell copies of the Software, and to permit persons
e8767bd3cabb360b1307698236a7778044950900buliabyak# to whom the Software is furnished to do so, provided that the above
e8767bd3cabb360b1307698236a7778044950900buliabyak# copyright notice(s) and this permission notice appear in all copies of
e8767bd3cabb360b1307698236a7778044950900buliabyak# the Software and that both the above copyright notice(s) and this
e8767bd3cabb360b1307698236a7778044950900buliabyak# permission notice appear in supporting documentation.
e8767bd3cabb360b1307698236a7778044950900buliabyak# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
e8767bd3cabb360b1307698236a7778044950900buliabyak# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
e8767bd3cabb360b1307698236a7778044950900buliabyak# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
#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
-p /usr/bin/ unix/vncviewer/vncviewer.man )
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