Makefile revision 1111
341N/A#
341N/A# CDDL HEADER START
341N/A#
341N/A# The contents of this file are subject to the terms of the
943N/A# Common Development and Distribution License (the "License").
341N/A# You may not use this file except in compliance with the License.
341N/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) 2011, Oracle and/or its affiliates. All rights reserved.
919N/A#
341N/A
341N/Ainclude ../../make-rules/shared-macros.mk
341N/A
341N/ACOMPONENT_NAME= libxslt
493N/ACOMPONENT_VERSION= 1.1.26
341N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
341N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
851N/ACOMPONENT_ARCHIVE_HASH= sha1:69f74df8228b504a87e2b257c2d5238281c65154
341N/ACOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
911N/A
911N/Ainclude ../../make-rules/prep.mk
911N/Ainclude ../../make-rules/configure.mk
911N/Ainclude ../../make-rules/ips.mk
341N/Ainclude ../../make-rules/lint-libraries.mk
341N/A
851N/ALINT_FLAGS += -I/usr/include/libxml2
341N/A
341N/ACFLAGS += $(CPP_LARGEFILES)
341N/ALDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
341N/A
341N/ACONFIGURE_OPTIONS += --disable-static
341N/ACONFIGURE_OPTIONS += --with-pic
341N/ACONFIGURE_OPTIONS += --with-threads
341N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
392N/ACONFIGURE_OPTIONS += --without-crypto
604N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
646N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
812N/ACONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
688N/A
688N/ACOMPONENT_TEST_TARGETS = tests
688N/A
688N/ACOMPONENT_PREP_ACTION = \
688N/A (cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
688N/A cp ../mapfile.exslt libexslt/libexslt.syms ; \
688N/A $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ; \
688N/A libtoolize --force --copy ; aclocal-1.10 ; \
688N/A automake-1.10 --addmissing --copy ; autoconf)
688N/A
688N/A# common targets
688N/Abuild: $(BUILD_32_and_64)
688N/A
688N/Ainstall: $(INSTALL_32_and_64)
688N/A
688N/Atest: $(TEST_32_and_64)
688N/A
688N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
688N/A
688N/Ainclude ../../make-rules/depend.mk
688N/A
688N/A