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