Makefile revision 4947
a6a23642eaf383add7a0be045c01e7dd8278ccafAndreas Gustafsson# CDDL HEADER START
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# The contents of this file are subject to the terms of the
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# Common Development and Distribution License (the "License").
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# You may not use this file except in compliance with the License.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# See the License for the specific language governing permissions
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# and limitations under the License.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# CDDL HEADER END
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_PROJECT_URL= http://www.libmng.com/
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:03a79dac9b9316d37227057614a248a946f997c4d1a3437fb569e9a63897f911
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/libmng/files/libmng-devel/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_1 = mng-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:fe8e0a7aa7371c4c1369b56485fdbd96699e53f0078d7369162c883bb7dac1ca
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL_1 = http://www.libpng.org/pub/mng/spec/mng-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_2 = mng-lc-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:6b6a463b50e38e89006c68e629444a6154d70ee34f5d64056c4910346a07b623
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL_2 = http://www.libpng.org/pub/mng/spec/mng-lc-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_3 = mng-vlc-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:77340f6f922c8c2daf2cc120812bbebb26c825e4a08c3c8be6567ef8c34e2ad0
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL_3 = http://www.libpng.org/pub/mng/spec/mng-vlc-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_4 = jng-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:9e5f458dadfdc32bce34dd005f76ee3592cf2cea79d6100691a5d20603f54d05
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL_4 = http://www.libpng.org/pub/mng/spec/jng-1.0-20010209-pdg.html
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson sha256:fe8e0a7aa7371c4c1369b56485fdbd96699e53f0078d7369162c883bb7dac1ca
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCOMPONENT_ARCHIVE_URL_5 = http://www.libpng.org/pub/mng/spec/index.html
a6a23642eaf383add7a0be045c01e7dd8278ccafAndreas Gustafssoninclude $(WS_MAKE_RULES)/lint-libraries.mk
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# because Solaris installed the lcms headers elsewhere
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# because it's unclear that --enable-largefile works properly
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas GustafssonCONFIGURE_OPTIONS += --includedir=/usr/include/libmng
a6a23642eaf383add7a0be045c01e7dd8278ccafAndreas GustafssonCONFIGURE_OPTIONS += --disable-libtool-lock
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson# requires an older automake to reconfigure.
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson $(CP) makefiles/configure.in makefiles/Makefile.am . ; \
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafsson ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson$(BUILD_DIR)/libmng-64.pc: Solaris/libmng-64.pc
4034406393893f4d07ab07b56da3541155493855Andreas Gustafsson /bin/sed -e "s#MACH64#$(MACH64)#g" <$< >$@
a6a23642eaf383add7a0be045c01e7dd8278ccafAndreas Gustafsson# common targets
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssoninstall: $(INSTALL_32_and_64) $(BUILD_DIR)/libmng-64.pc