Makefile revision 148
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER START
f808c858fa61e7769218966759510a8b1190dfcfraf# The contents of this file are subject to the terms of the
f808c858fa61e7769218966759510a8b1190dfcfraf# Common Development and Distribution License (the "License").
f808c858fa61e7769218966759510a8b1190dfcfraf# You may not use this file except in compliance with the License.
f808c858fa61e7769218966759510a8b1190dfcfraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f808c858fa61e7769218966759510a8b1190dfcfraf# See the License for the specific language governing permissions
f808c858fa61e7769218966759510a8b1190dfcfraf# and limitations under the License.
f808c858fa61e7769218966759510a8b1190dfcfraf# When distributing Covered Code, include this CDDL HEADER in each
f808c858fa61e7769218966759510a8b1190dfcfraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f808c858fa61e7769218966759510a8b1190dfcfraf# If applicable, add the following below this CDDL HEADER, with the
f808c858fa61e7769218966759510a8b1190dfcfraf# fields enclosed by brackets "[]" replaced with your own identifying
f808c858fa61e7769218966759510a8b1190dfcfraf# information: Portions Copyright [yyyy] [name of copyright owner]
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER END
f808c858fa61e7769218966759510a8b1190dfcfraf# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali BahramiCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali BahramiCOMPONENT_ARCHIVE_HASH= sha1:69f74df8228b504a87e2b257c2d5238281c65154
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali BahramiCOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
3ed623140e27064f81020d9d47f9fb17489d1190Ali BahramiCONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
3ed623140e27064f81020d9d47f9fb17489d1190Ali BahramiCONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
3ed623140e27064f81020d9d47f9fb17489d1190Ali BahramiPKG_PROTO_DIRS += $(COMPONENT_DIR)/$(COMPONENT_SRC)
3ed623140e27064f81020d9d47f9fb17489d1190Ali Bahrami (cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
3ed623140e27064f81020d9d47f9fb17489d1190Ali Bahrami $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ; \
f808c858fa61e7769218966759510a8b1190dfcfraf (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
f808c858fa61e7769218966759510a8b1190dfcfraf# common targets