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