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