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