Makefile revision 1181
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley###############################################################################
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# FreeGLUT 2.6.0 Makefile
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
036f4a76ec5e5bdba8a7d2f7e77c188a8246bbacBob Halley# Permission is hereby granted, free of charge, to any person obtaining a
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# copy of this software and associated documentation files (the "Software"),
036f4a76ec5e5bdba8a7d2f7e77c188a8246bbacBob Halley# to deal in the Software without restriction, including without limitation
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# the rights to use, copy, modify, merge, publish, distribute, sublicense,
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# and/or sell copies of the Software, and to permit persons to whom the
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Software is furnished to do so, subject to the following conditions:
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# The above copyright notice and this permission notice (including the next
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# paragraph) shall be included in all copies or substantial portions of the
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# DEALINGS IN THE SOFTWARE.
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Package name used in tarballs
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Version number (used in path names)
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Checksums for upstream tarball
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael GraffTARBALL_SHA1 = 68306c4486c13d005a4e4d54035e0c0b1bdc220b
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# ARC cases that covered this module
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Package metadata
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael GraffUPSTREAM_URL = http://freeglut.sourceforge.net/
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Download site for source
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael GraffSOURCE_URL = $(SF_DOWNLOADS_URL)/freeglut/freeglut/$(SOURCE_TARBALL_NAME)
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Patches to apply to source after unpacking, in order
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Source tarball
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael GraffSOURCE_TARBALL_NAME = freeglut-$(MODULE_VERSION).tar.gz
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Library name (used for specfiles/mapfiles)
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Man pages to apply Sun footer to & attributes to list
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# We must build with GNU make
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# FreeGLUT really wants to know that we are POSIX friendly
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# Additional targets to install
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff# FreeGLUT's $(VERSION_INFO) breaks delibtoolize.pl
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff ln -sf ../libglut.so.3.9.0 libglut.so.3 ; \
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so.3 ; \
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael Graff ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so ; \
d2eb1644065bdfdf7ffd29d1f922600be313e9a0Michael GraffFREEGLUT_DOC=$(PROTODIR)$(MODULE_DOC_DIR)/freeglut_user_interface.html