Makefile revision 970
1516N/A###############################################################################
382N/A#
873N/A# libdga Makefile (for Xsun SUN_DGA extension)
382N/A#
873N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
873N/A#
873N/A# Permission is hereby granted, free of charge, to any person obtaining a
873N/A# copy of this software and associated documentation files (the "Software"),
873N/A# to deal in the Software without restriction, including without limitation
873N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
873N/A# and/or sell copies of the Software, and to permit persons to whom the
873N/A# Software is furnished to do so, subject to the following conditions:
382N/A#
873N/A# The above copyright notice and this permission notice (including the next
873N/A# paragraph) shall be included in all copies or substantial portions of the
873N/A# Software.
873N/A#
873N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
382N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
873N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
382N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
873N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
382N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2230N/A# DEALINGS IN THE SOFTWARE.
382N/A#
382N/A#
873N/A
873N/AMODULE_NAME=libdga
1899N/A
1902N/A# No upstream sources, only local sources
2045N/AMODULE_VERSION=src
1902N/ASOURCE_TARBALL_NAME=NONE
1902N/ASOURCE_TARBALL_NAME_SET=yes
1902N/AADDITIONAL_SOURCE_DIR=sun-src
1902N/A
1902N/A# We build 64-bit only on sparc since Xsun/DGA was already obsolete
1902N/A# before amd64 was added
1902N/ABUILD_TYPES_SET=yes
873N/ABUILD_TYPES_sparc=32 64
2028N/ABUILD_TYPES_i386=32
2082N/ABUILD_TYPES=$(BUILD_TYPES_$(MACH))
873N/A
873N/A# Library name (used for specfiles/mapfiles)
873N/ALIBNAME=dga
873N/A
941N/A# Man pages to apply Sun footer to & attributes to list
873N/ASUNTOUCHED_MANPAGES= # None
1191N/AMODULE_STABILITY=Obsolete
873N/A
2028N/A# No configure script to run
2028N/ACONFIGURE_TARGETS=
873N/ACONFIGURE_TARGETS_SET=yes
873N/A
2028N/A# Since we don't have a configure script, pass configure flags to make
2028N/AMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) \
1191N/A X11_INCLUDES_DIR=$(X11_INCLUDES_DIR)
1902N/AMODULE_INSTALL_MAKEFLAGS=$(MODULE_BUILD_MAKEFLAGS)
873N/A
873N/A# Compatibility links from /usr/X11/lib to /usr/lib
873N/AMODULE_X11_LIBCOMPAT_LINKS = libdga.so.1
873N/A
873N/Ainclude ../Makefile.inc
873N/A
873N/A# Clean up old 64-bit builds from before we stopped building them on x86
873N/Aclean: clean_old64
873N/A
2028N/Aclean_old64:
873N/A -rm -rf $(BUILD_DIR_64)
873N/A