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