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