98N/A###############################################################################
98N/A#
98N/A# xf86-video-mga Makefile
98N/A#
1445N/A# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# Package name used in tarballs
493N/AMODULE_NAME=xf86-video-mga
98N/A
98N/A# Version number (used in path names)
1445N/AMODULE_VERSION=1.6.3
98N/A
911N/A# Checksums for upstream tarball
1445N/ATARBALL_MD5 = a53b5ce166e31c181aaa4c3816d8babb
1445N/ATARBALL_SHA1 = 6ac9f61ece9d9449f914137b3eef685b2eebf66c
1445N/ATARBALL_SHA256= 7704b1ea35098769787a9c93e903b827be97a99facfb1696aa5236a58ff1c7d7
911N/A
98N/A# Patches to apply to source after unpacking, in order
1265N/ASOURCE_PATCHES = \
1299N/A libraries.patch,-p1 \
1265N/A g200se_pilot3_offscreen.patch,-p1 \
1317N/A sparc.patch,-p1 \
1337N/A rom_map.patch,-p1
98N/A
1447N/A# Regenerate Makefile after libraries.patch patches src/Makefile.am
1447N/AAUTORECONF=yes
1447N/A
98N/A# Man pages to apply Sun footer to & attributes to list
98N/ASUNTOUCHED_MANPAGES=man/*.man
493N/AMODULE_STABILITY=Volatile
98N/A
606N/A# Extra flags to pass to configure script
606N/A# - Disable DRI since the kernel module isn't ported
606N/AMODULE_CONFIG_OPTS=--disable-dri
606N/A
1299N/A# Extra flags to link mga_drv.so, but not util/stormdwg binary with
1299N/ADRIVER_LD_FLAGS = \
1097N/A -L$(PROTODIR)$(X11_SERVERMODS_DIR) \
1447N/A -R$(X11_SERVERMODS_DIR)
1299N/AMODULE_CONFIG_OPTS += XORG_LIBS="$(DRIVER_LD_FLAGS)"
493N/A
98N/Ainclude ../Makefile.inc
98N/A
191N/A