98N/A###############################################################################
98N/A#
98N/A# xf86-video-mga Makefile
98N/A#
1631N/A# Copyright (c) 2006, 2016, 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)
1549N/AMODULE_VERSION=1.6.4
98N/A
911N/A# Checksums for upstream tarball
1549N/ATARBALL_MD5 = cd3db8370caa3e607614ea4e74d4c350
1549N/ATARBALL_SHA1 = 2f8cecdb6fe3f0addb47a3a50928ff0705a31352
1549N/ATARBALL_SHA256= 48c6690b6751c76f53de64f8dbeaa9d6c62dbcfe890c768fd87167951247d44f
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 \
1353N/A sparc.patch,-p1 \
1631N/A rom_map.patch,-p1 \
1631N/A 22993389.patch,-p1 \
1631N/A 22993744.patch,-p1
98N/A
1425N/A# Regenerate Makefile after libraries.patch patches src/Makefile.am
1425N/AAUTORECONF=yes
1425N/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) \
1425N/A -R$(X11_SERVERMODS_DIR)
1299N/AMODULE_CONFIG_OPTS += XORG_LIBS="$(DRIVER_LD_FLAGS)"
493N/A
98N/Ainclude ../Makefile.inc
98N/A
191N/A