Makefile revision 241
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews###############################################################################
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Xvnc server Makefile
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Based on Fedora's vnc-4.1.2-21.fc8/vnc.spec
c9297d37593b36de9978c122dbeaf1bb7ae8d19dMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c9297d37593b36de9978c122dbeaf1bb7ae8d19dMark Andrews# Use subject to license terms.
c9297d37593b36de9978c122dbeaf1bb7ae8d19dMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
c9297d37593b36de9978c122dbeaf1bb7ae8d19dMark Andrews# copy of this software and associated documentation files (the
# Name used in server-specific rules in ../Makefile.inc
#SOURCE_URL=http://www.realvnc.com/dist/$(SOURCE_TARBALL_NAME)
SOURCE_PATCHES = \
c++public.patch \
# 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/ ; \
XVNC_CPPFLAGS = \
-D__extension__=\"\" \