Makefile revision 148
60c9fc413e77110e71b7e8c41ffbc645b4ed90b4Julian Kornberger# CDDL HEADER START
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# The contents of this file are subject to the terms of the
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# Common Development and Distribution License (the "License").
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# You may not use this file except in compliance with the License.
db7b1bfd41eb01238f00c7df022f4c11d6414e8cEugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0af513ab5680818fba780f05ef7cf16e0c0cb0d8henning mueller# or http://www.opensolaris.org/os/licensing.
827e98b08be3acd813ab859061f7e6318b7f8abdDaniel Couto Vale# See the License for the specific language governing permissions
b17c7a521e12ece55af76387a9668acb5f830d43Sascha Graef# and limitations under the License.
7152ae731eaa6fb83bc8147a463fae3a342d6360Sascha Graef# When distributing Covered Code, include this CDDL HEADER in each
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4c72e6358f909d53733ce548ee694a4c17923a4aSascha Graef# If applicable, add the following below this CDDL HEADER, with the
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# fields enclosed by brackets "[]" replaced with your own identifying
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# information: Portions Copyright [yyyy] [name of copyright owner]
268e4c0f7fc6630f88604079ab4ede1b8963ec6aSascha Graef# CDDL HEADER END
1d405fd1ac68b72d526b1637cb34d507ae24c56ahenning mueller# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
41292ec9bfaafec2c0592a3ac0092e4c412ee7e8henning muellerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0af513ab5680818fba780f05ef7cf16e0c0cb0d8henning muellerCOMPONENT_ARCHIVE_HASH= sha1:b0f6bf8408e759ac4b8b9650005ee8adea911e1d
0af513ab5680818fba780f05ef7cf16e0c0cb0d8henning muellerCOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE)
fd1ba5089163d3398ebcdca8487de1ca8f07c47chenning muellerLDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
46dd7ca898be6d5dbdfda64fd90ce01e253c0878Julian KornbergerCONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
5f75d904465f5f8e5f29c7d852ec2f16af57b03eEugen KuksaCONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
88d63c94a94060017febcabb0862b11ed3685f6aDaniel Couto ValePKG_PROTO_DIRS += $(COMPONENT_DIR)/$(COMPONENT_SRC)
ee5342a8882c2fc7631fcffb5497e6597747887cTim ReddehaseCOMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoconf)
b27fb7794a6de65d2d138944245f031e6eeb76f4Tim Reddehase (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
88d63c94a94060017febcabb0862b11ed3685f6aDaniel Couto Vale $(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1)
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase# common targets