Makefile revision 148
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# CDDL HEADER START
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# The contents of this file are subject to the terms of the
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# Common Development and Distribution License (the "License").
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# You may not use this file except in compliance with the License.
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# See the License for the specific language governing permissions
a530dde7009b0a808300c420def741354a4d13d2Martin Kühl# and limitations under the License.
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco# When distributing Covered Code, include this CDDL HEADER in each
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco# If applicable, add the following below this CDDL HEADER, with the
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco# fields enclosed by brackets "[]" replaced with your own identifying
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco# information: Portions Copyright [yyyy] [name of copyright owner]
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco# CDDL HEADER END
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián RiescoCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
223be434693e8c97e2522ac19155a284b3536035Adrián RiescoCOMPONENT_ARCHIVE_HASH= sha1:69f74df8228b504a87e2b257c2d5238281c65154
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián RiescoCOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián RiescoCONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián RiescoCONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián RiescoPKG_PROTO_DIRS += $(COMPONENT_DIR)/$(COMPONENT_SRC)
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco (cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco cp ../mapfile.exslt libexslt/libexslt.syms ; \
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ; \
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
d72e314a1952b4418fb1c98b17dbab0d16bba585Adrián Riesco $(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1 ; \
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME2) -I$(@D) \
5318901bb69bf247e0f341312c800ba4ea87e46bAdrián Riesco $(COMPONENT_DIR)/llib-l$(LIBNAME2) >> $(LINTOUT) 2>&1)
7474965b2e6323002c96c0b39a59843cde201870Adrián Riesco# common targets