Makefile revision 5575
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
2362N/A# CDDL HEADER END
2362N/A#
2362N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= DBD-SQLite
0N/ACOMPONENT_VERSION= 1.48
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:b397230f5d4cdc9923f91c62da9e535234f3055c528ede75afd7d24698030ea6
0N/ACOMPONENT_ARCHIVE_URL= http://backpan.perl.org/authors/id/I/IS/ISHIGAKI/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_PROJECT_URL= https://github.com/DBD-SQLite/DBD-SQLite
0N/ACOMPONENT_BUGDB= perl-mod/dbd-sqlite
0N/A
0N/ATPNO= 24450
0N/A
0N/A# Limit packaging to only these perls.
0N/APERL_VERSIONS=5.12 5.20
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/Ainclude $(WS_MAKE_RULES)/makemaker.mk
0N/A
0N/ACOMPONENT_TEST_TARGETS = test
0N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
0N/ACOMPONENT_TEST_TRANSFORMS += \
0N/A '-e "/^Running Mkbootstrap/d" ' '-e "s/mY cOmMeNt/this is executed on older perl releases only/" ' \
0N/A '-e "/^chmod.*\.bs$$/d" ' '-e "s/mY cOmMeNt/this is executed on older perl releases only/" ' \
0N/A '-e "s/[0-9][0-9]* wallclock secs (.*CPU)$$/<TIMINGS REMOVED>/" ' \
0N/A '-e "s/^PERL_DL_NONLAZY=1 \$$(PERL).*/<PERL TEST INVOCATION REMOVED>/" ' \
0N/A '-e "s/^\(\# sqlite_version=\)[0-9][0-9.]*/\1<USED SQLITE VERSION REMOVED>/" ' \
0N/A '-e "s/^\(\# \$$DBI::VERSION=\)[0-9][0-9.]*/\1<REPORTED DBI VERSION REMOVED>/" '
0N/A
0N/A# This makes the configuration process a bit more chatty
0N/ACOMPONENT_CONFIGURE_ENV += AUTOMATED_TESTING=1
0N/ALICENSE=DBD-SQLite.license
0N/A
0N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
0N/A
0N/A# I have to list the targets directly instead of using $(BUILD_32_AND_64) in
0N/A# order to avoid building DBD::SQLite for perl 5.12-mt which does not have DBI
0N/A# available
0N/A#
0N/A$(LICENSE): $(LICENSE).template
0N/A $(PERL) -pe 's/COMPONENT_VERSION/$(COMPONENT_VERSION)/g' "$<" > "$@"
0N/A
0N/Abuild: $(BUILD_DIR)/$(MACH32)-5.12/.built \
0N/A $(BUILD_DIR)/$(MACH64)-5.20/.built \
0N/A $(LICENSE)
0N/A
0N/Ainstall: $(BUILD_DIR)/$(MACH32)-5.12/.installed \
0N/A $(BUILD_DIR)/$(MACH64)-5.20/.installed
0N/A
0N/Atest: $(BUILD_DIR)/$(MACH32)-5.12/.tested-and-compared \
0N/A $(BUILD_DIR)/$(MACH64)-5.20/.tested-and-compared
0N/A
0N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
0N/A
0N/Aclean:: $(LICENSE)
0N/A
0N/AREQUIRED_PACKAGES += database/sqlite-3
0N/AREQUIRED_PACKAGES += runtime/perl-512
0N/AREQUIRED_PACKAGES += runtime/perl-520
0N/AREQUIRED_PACKAGES += system/library
0N/A