Makefile revision 844
260N/A#
260N/A# CDDL HEADER START
260N/A#
260N/A# The contents of this file are subject to the terms of the
260N/A# Common Development and Distribution License (the "License").
260N/A# You may not use this file except in compliance with the License.
260N/A#
260N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
260N/A# or http://www.opensolaris.org/os/licensing.
260N/A# See the License for the specific language governing permissions
260N/A# and limitations under the License.
260N/A#
260N/A# When distributing Covered Code, include this CDDL HEADER in each
260N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
260N/A# If applicable, add the following below this CDDL HEADER, with the
260N/A# fields enclosed by brackets "[]" replaced with your own identifying
260N/A# information: Portions Copyright [yyyy] [name of copyright owner]
260N/A#
260N/A# CDDL HEADER END
260N/A#
844N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
260N/A#
260N/A
260N/Ainclude ../../../make-rules/shared-macros.mk
260N/A
260N/ACOMPONENT_NAME= XML-Simple
260N/ACOMPONENT_VERSION= 2.18
260N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
260N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:a54967c188cda3e20f496c83be4de3f1740eeaa83c0380712ecd969ad8766826
260N/ACOMPONENT_ARCHIVE_URL= http://www.cpan.org/authors/id/G/GR/GRANTM/$(COMPONENT_ARCHIVE)
260N/ACOMPONENT_PROJECT_URL= http://search.cpan.org/~grantm/
260N/A
260N/Ainclude $(WS_TOP)/make-rules/prep.mk
260N/Ainclude $(WS_TOP)/make-rules/ips.mk
260N/Ainclude $(WS_TOP)/make-rules/makemaker.mk
260N/A
260N/A# man pages go in the common area
260N/ACOMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
260N/A
260N/A# look in XML::Parser's proto area
260N/APERL_FLAGS = -I$(COMPONENT_DIR)/../xml-parser/build/prototype/$(MACH)/usr/perl5/vendor_perl/$(PERL_VERSION)/$(PERL_ARCH)
260N/A
260N/A
260N/Abuild: $(BUILD_32)
260N/A
260N/Ainstall: $(INSTALL_32)
260N/A
260N/A# The tests with perl 5.8.4 are clean.
260N/A# Perl 5.12.3 has lots of failures and issues.
260N/ACOMPONENT_TEST_TARGETS = test
260N/Atest: $(TEST_32)
260N/A
260N/A# special targets; need xml-parser built and installed first
260N/A../xml-parser/build/5.8.4/.installed ../xml-parser/build/5.12/.installed:
260N/A (cd ../xml-parser ; $(GMAKE) install)
260N/A
313N/A$(BUILD_32): ../xml-parser/build/5.8.4/.installed \
313N/A ../xml-parser/build/5.12/.installed
260N/A
260N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
260N/A
260N/Ainclude $(WS_TOP)/make-rules/depend.mk