Makefile revision 181
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# CDDL HEADER START
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# The contents of this file are subject to the terms of the
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Common Development and Distribution License (the "License").
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# You may not use this file except in compliance with the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# or http://www.opensolaris.org/os/licensing.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# See the License for the specific language governing permissions
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# and limitations under the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# When distributing Covered Code, include this CDDL HEADER in each
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# If applicable, add the following below this CDDL HEADER, with the
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# fields enclosed by brackets "[]" replaced with your own identifying
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# information: Portions Copyright [yyyy] [name of copyright owner]
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# CDDL HEADER END
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsascha#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj#
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanojinclude ../../make-rules/shared-macros.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_NAME= libxml2
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_VERSION= 2.7.6
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsaschaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsaschaCOMPONENT_ARCHIVE_HASH= sha1:b0f6bf8408e759ac4b8b9650005ee8adea911e1d
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsaschaCOMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/prep.mk
e50587e6b2ff25bdcbe29410be5bf8f4792016eegregamesinclude ../../make-rules/configure.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsaschainclude ../../make-rules/ips.mk
0d9c389e9c63d02edb068917d49af2fa8012af91marcinclude ../../make-rules/lint-libraries.mk
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
dadf206a4cf1eccf5c13b64bd9678610dd763868rbbCFLAGS += $(CPP_LARGEFILES)
dadf206a4cf1eccf5c13b64bd9678610dd763868rbbLDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
a773226ea345018b49d45cf2e076ff2452eead5arbb
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --disable-static
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --with-pic
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += --with-threads
5181b311fbd45b65a34b3fddb3ace5fab85f36e4wroweCONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbbCONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb
12b0070d002520b81a273ae892b9ea08e810b123rbbCOMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoconf)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
886cd69ebf69e990dbc365be87ff8ea7cd681904rbbCOMPONENT_TEST_TARGETS = tests
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
305a68a1a5db3cc264077d89b3caa6f923257150fielding# common targets
7bfe076b680e6e591add6cdc754ce9a6910682a2saschabuild: $(BUILD_32_and_64)
105475009f541187ba7a14a367547d9404c578befielding
105475009f541187ba7a14a367547d9404c578befieldinginstall: $(INSTALL_32_and_64)
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha
f07a80771bc5d30b1e0cfcb7256c1a302da77675rbbtest: $(TEST_32_and_64)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha
80e9324586de2fa55e2da4df409e6a85885ea659fieldingBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
9022fa73d4ac101553e7c36a1457ead52a73333borlikowski
9022fa73d4ac101553e7c36a1457ead52a73333borlikowskiinclude ../../make-rules/depend.mk
105475009f541187ba7a14a367547d9404c578befielding