Makefile revision 181
1335N/A#
1335N/A# CDDL HEADER START
1335N/A#
1335N/A# The contents of this file are subject to the terms of the
1335N/A# Common Development and Distribution License (the "License").
1335N/A# You may not use this file except in compliance with the License.
1335N/A#
1335N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1335N/A# or http://www.opensolaris.org/os/licensing.
1335N/A# See the License for the specific language governing permissions
1335N/A# and limitations under the License.
1335N/A#
1335N/A# When distributing Covered Code, include this CDDL HEADER in each
1335N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1335N/A# If applicable, add the following below this CDDL HEADER, with the
1335N/A# fields enclosed by brackets "[]" replaced with your own identifying
1335N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1335N/A#
1335N/A# CDDL HEADER END
1335N/A#
1335N/A
1335N/A#
1335N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
1335N/A#
1335N/A
1335N/Ainclude ../../make-rules/shared-macros.mk
1335N/A
1335N/ACOMPONENT_NAME= libxslt
1335N/ACOMPONENT_VERSION= 1.1.26
1335N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1335N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1335N/ACOMPONENT_ARCHIVE_HASH= sha1:69f74df8228b504a87e2b257c2d5238281c65154
1335N/ACOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
1335N/A
1335N/Ainclude ../../make-rules/prep.mk
1335N/Ainclude ../../make-rules/configure.mk
1335N/Ainclude ../../make-rules/ips.mk
1335N/Ainclude ../../make-rules/lint-libraries.mk
1335N/A
1335N/ALINT_FLAGS += -I/usr/include/libxml2
1335N/A
1335N/ACFLAGS += $(CPP_LARGEFILES)
1335N/ALDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
1335N/A
1335N/ACONFIGURE_OPTIONS += --disable-static
1335N/ACONFIGURE_OPTIONS += --with-pic
1335N/ACONFIGURE_OPTIONS += --with-threads
1335N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
1335N/ACONFIGURE_OPTIONS += --without-crypto
1335N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1335N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
1335N/ACONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
1335N/A
1335N/ACOMPONENT_TEST_TARGETS = tests
1335N/A
1335N/ACOMPONENT_PREP_ACTION = \
1335N/A (cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
1335N/A cp ../mapfile.exslt libexslt/libexslt.syms ; \
1335N/A $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ; \
1335N/A libtoolize --force --copy ; aclocal-1.10 ; \
automake-1.10 --addmissing --copy ; autoconf)
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk