Makefile revision 4337
235N/A###############################################################################
235N/A#
235N/A# FreeGLUT 2.6.0 Makefile
606N/A#
606N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
235N/A#
606N/A# Permission is hereby granted, free of charge, to any person obtaining a
235N/A# copy of this software and associated documentation files (the "Software"),
235N/A# to deal in the Software without restriction, including without limitation
235N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
235N/A# and/or sell copies of the Software, and to permit persons to whom the
235N/A# Software is furnished to do so, subject to the following conditions:
235N/A#
235N/A# The above copyright notice and this permission notice (including the next
235N/A# paragraph) shall be included in all copies or substantial portions of the
235N/A# Software.
235N/A#
235N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
235N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
235N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
235N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
235N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
235N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
235N/A# DEALINGS IN THE SOFTWARE.
235N/A#
235N/A
235N/A# Package name used in tarballs
235N/AMODULE_NAME=freeglut
235N/A
235N/A# Version number (used in path names)
235N/AMODULE_VERSION=2.6.0
235N/A
235N/A# Checksums for upstream tarball
235N/ATARBALL_MD5 = 39f0f2de89f399529d2b981188082218
606N/ATARBALL_SHA1 = 68306c4486c13d005a4e4d54035e0c0b1bdc220b
235N/A
235N/A# ARC cases that covered this module
235N/AMODULE_ARC_CASES = LSARC/2010/016
235N/A
235N/A# Package metadata
235N/AUPSTREAM = The FreeGLUT Project
590N/AUPSTREAM_URL = http://freeglut.sourceforge.net/
235N/AUPSTREAM_SET = yes
235N/A
493N/A# Download site for source
493N/ASOURCE_URL = $(SF_DOWNLOADS_URL)/freeglut/freeglut/$(SOURCE_TARBALL_NAME)
235N/ASOURCE_URL_SET = yes
235N/A
235N/A# Patches to apply to source after unpacking, in order
235N/ASOURCE_PATCHES =
235N/A
235N/A# Source tarball
235N/ASOURCE_TARBALL_NAME = freeglut-$(MODULE_VERSION).tar.gz
235N/ASOURCE_TARBALL_NAME_SET=yes
235N/A
590N/A# Library name (used for specfiles/mapfiles)
235N/ALIBNAME=glut
235N/A
235N/A# Man pages to apply Sun footer to & attributes to list
235N/ASUNTOUCHED_MANPAGES=
235N/AMODULE_STABILITY=Uncommitted
606N/ALIB_MAN_SUFFIX=
235N/A
235N/A# We must build with GNU make
606N/AMODULE_MAKE=$(GNUMAKE)
235N/AMODULE_MAKE_SET=yes
606N/A
235N/A# Command line options to GNU autoconf configure script
235N/AMODULE_CONFIG_OPTS = --x-includes=/usr/include
235N/AMODULE_CONFIG_OPTS += --x-libraries=/usr/lib$(ARCHLIBSUBDIR)
235N/A
235N/A# FreeGLUT really wants to know that we are POSIX friendly
235N/AMODULE_CPPFLAGS = -D__posix__ -D__unix__
235N/A
606N/A# ignore some unneeded dependencies that upstream includes:
606N/A# unreferenced object=libXext.so.0; unused dependency of libglut.so.3.9.0
606N/A# unreferenced object=libXxf86vm.so.1; unused dependency of libglut.so.3.9.0
606N/A# unreferenced object=libXi.so.5; unused dependency of libglut.so.3.9.0
606N/AMODULE_LD_OPTIONS = -z ignore
606N/A
606N/A# Additional targets to install
606N/AMODULE_ADD_INSTALL_TARGETS = install_doc
606N/A
606N/Ainclude ../Makefile.inc
606N/A
235N/A# FreeGLUT's $(VERSION_INFO) breaks delibtoolize.pl
235N/ADELIBTOOLIZE=no
235N/A
235N/Ainstall: install_extra_symlinks
247N/A
247N/Ainstall_extra_symlinks:
247N/A ( cd $(PROTODIR)/usr/lib/GL ; \
235N/A ln -sf ../libglut.so.3.9.0 libglut.so.3 ; \
247N/A ln -sf ../libglut.so.3.9.0 libglut.so ; \
247N/A cd - )
235N/A ( cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64) ; \
235N/A ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so.3 ; \
241N/A ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so ; \
493N/A cd - )
493N/A
235N/AFREEGLUT_DOC=$(PROTODIR)$(MODULE_DOC_DIR)/freeglut_user_interface.html
493N/Ainstall_doc: $(FREEGLUT_DOC)
493N/A
493N/A$(FREEGLUT_DOC): $(INSTALL_DEPS)
493N/A $(INSTALL_SCRIPT) -c -m 0444 \
591N/A $(SOURCE_DIR)/doc/freeglut_user_interface.html $@
493N/A
493N/A