Makefile revision 1097
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose###############################################################################
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# xf86-video-vesa Makefile
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Permission is hereby granted, free of charge, to any person obtaining a
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# copy of this software and associated documentation files (the "Software"),
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# to deal in the Software without restriction, including without limitation
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# the rights to use, copy, modify, merge, publish, distribute, sublicense,
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# and/or sell copies of the Software, and to permit persons to whom the
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Software is furnished to do so, subject to the following conditions:
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# The above copyright notice and this permission notice (including the next
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# paragraph) shall be included in all copies or substantial portions of the
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Software.
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# DEALINGS IN THE SOFTWARE.
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose#
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Package name used in tarballs
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_NAME=xf86-video-vesa
f7257ab0bcea6c41fab5a4677787f3075ecdcb64Pavel Reichl
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Version number (used in path names)
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_VERSION=2.3.0
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Checksums for upstream tarball
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseTARBALL_MD5 = 07fa32958aff9b463dd3af5481ef6626
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseTARBALL_SHA1 = 4689b7c295d7a8d7326302dafecb812739617134
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Patches to apply to source after unpacking, in order
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseSOURCE_PATCHES = vesa_xorg72.patch
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Man pages to apply Sun footer to & attributes to list
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseSUNTOUCHED_MANPAGES=man/*.man
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_STABILITY=Volatile
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_COMPILER=gcc
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_COMPILER_SET=yes
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Libraries/modules to link with
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseMODULE_LD_OPTIONS= \
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose -L$(PROTODIR)$(X11_SERVERMODS_DIR) \
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose -R$(X11_SERVERMODS_DIR) \
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose -lfb -lpciaccess -lshadow -lvbe
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Boseinclude ../Makefile.inc
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose# Additional files to install
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseCONFDIR = /usr/lib/X11
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit BoseCONFFILE = xorg.conf.vesa
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Boseinstall: $(PROTODIR)$(CONFDIR)/$(CONFFILE)
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose$(PROTODIR)$(CONFDIR)/$(CONFFILE): $(PROTODIR)$(CONFDIR) $(CONFFILE)
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose $(INSTALL_SCRIPT) -c -m 0444 $(CONFFILE) $@
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose$(PROTODIR)$(CONFDIR):
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose mkdir -p $@
02e38eae1b9cb5df2036a707dafd86f6047c17deSumit Bose