Makefile revision 5325
5325N/A#
5325N/A# CDDL HEADER START
5325N/A#
5325N/A# The contents of this file are subject to the terms of the
5325N/A# Common Development and Distribution License (the "License").
5325N/A# You may not use this file except in compliance with the License.
5325N/A#
5325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5325N/A# or http://www.opensolaris.org/os/licensing.
5325N/A# See the License for the specific language governing permissions
5325N/A# and limitations under the License.
5325N/A#
5325N/A# When distributing Covered Code, include this CDDL HEADER in each
5325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5325N/A# If applicable, add the following below this CDDL HEADER, with the
5325N/A# fields enclosed by brackets "[]" replaced with your own identifying
5325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5325N/A#
5325N/A# CDDL HEADER END
5325N/A#
5325N/A
5325N/A#
5325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5325N/A#
5325N/A
5325N/Ainclude ../../../make-rules/shared-macros.mk
5325N/A
5325N/ACOMPONENT_NAME= poppler
5325N/ACOMPONENT_VERSION= 0.14.4
5325N/ACOMPONENT_PROJECT_URL= http://poppler.freedesktop.org/
5325N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5325N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5325N/ACOMPONENT_ARCHIVE_HASH= \
5325N/A sha256:97c394144802e733eaec2682e06bddc4939c71ede58df045127aa94bd244c713
5325N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
5325N/ACOMPONENT_BUGDB= library/poppler
5325N/ATPNO_POPPLER= 7745
5325N/A
5325N/ACOMPONENT_NAME_1= poppler-data
5325N/ACOMPONENT_VERSION_1= 0.4.3
5325N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1)
5325N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
5325N/ACOMPONENT_ARCHIVE_HASH_1= \
5325N/A sha256:426010488bfb8c923419ca4c5d4916ea0193a140d2246336fdf97f1b632d58a6
5325N/ACOMPONENT_ARCHIVE_URL_1= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE_1)
5325N/ATPNO_POPPLER_DATA= 7744
5325N/A
5325N/Ainclude $(WS_MAKE_RULES)/prep.mk
5325N/Ainclude $(WS_MAKE_RULES)/configure.mk
5325N/Ainclude $(WS_MAKE_RULES)/ips.mk
5325N/A
5325N/ACOMPONENT_PREP_ACTION = \
5325N/A (cd $(@D) ; \
5325N/A aclocal -I . ; \
5325N/A libtoolize --force --copy ; \
5325N/A autoheader ; \
5325N/A automake -a -c -f ; \
5325N/A autoconf )
5325N/A
5325N/ACXX += $(studio_NORUNPATH)
5325N/A
5325N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5325N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
5325N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
5325N/A
5325N/A# Reduce build time dependencies since we don't ship this and can't run as an
5325N/A# automated test.
5325N/ACONFIGURE_OPTIONS += --disable-gtk-test
5325N/A
5325N/ACONFIGURE_OPTIONS += --enable-poppler-glib
5325N/ACONFIGURE_OPTIONS += --disable-poppler-qt
5325N/ACONFIGURE_OPTIONS += --disable-poppler-qt4
5325N/ACONFIGURE_OPTIONS += --enable-zlib
5325N/ACONFIGURE_OPTIONS += --enable-xpdf-headers
5325N/A
5325N/A# Install the poppler data files.
5325N/ACOMPONENT_POST_BUILD_ACTION = \
5325N/A (cd $(COMPONENT_DIR)/$(COMPONENT_SRC_1); \
5325N/A $(GMAKE) prefix=$(CONFIGURE_PREFIX) DESTDIR=$(PROTO_DIR) install)
5325N/A
5325N/A# Always show the build and link lines for easier debugging.
5325N/ACOMPONENT_BUILD_ARGS += V=1
5325N/A
5325N/AASLR_MODE = $(ASLR_ENABLE)
5325N/A
5325N/Aconfigure: $(CONFIGURE_32_and_64)
5325N/A
5325N/Abuild: $(BUILD_32_and_64)
5325N/A
5325N/Ainstall: $(INSTALL_32_and_64)
5325N/A
5325N/Atest: $(NO_TESTS)
5325N/A
5325N/Asystem-test: $(NO_TESTS)
5325N/A
5325N/AREQUIRED_PACKAGES += image/library/libjpeg
5325N/AREQUIRED_PACKAGES += image/library/libpng
5325N/AREQUIRED_PACKAGES += library/desktop/cairo
5325N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
5325N/AREQUIRED_PACKAGES += library/glib2
5325N/AREQUIRED_PACKAGES += library/lcms
5325N/AREQUIRED_PACKAGES += library/libxml2
5325N/AREQUIRED_PACKAGES += library/zlib
5325N/AREQUIRED_PACKAGES += system/library
5325N/AREQUIRED_PACKAGES += system/library/c++-runtime
5325N/AREQUIRED_PACKAGES += system/library/fontconfig
5325N/AREQUIRED_PACKAGES += system/library/freetype-2
5325N/AREQUIRED_PACKAGES += system/library/math