Makefile revision 5795
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 += \
5795N/A '-e "/^Running Mkbootstrap/d" ' \
5477N/A '-e "s/[0-9][0-9]* wallclock secs (.*CPU)$$/<TIMINGS REMOVED>/" ' \
5795N/A '-e "/^PERL_DL_NONLAZY/d" ' \
5477N/A '-e "s/^\(\# sqlite_version=\)[0-9][0-9.]*/\1<USED SQLITE VERSION REMOVED>/" ' \
5795N/A '-e "s/^\(\# \$$DBI::VERSION=\)[0-9][0-9.]*/\1<REPORTED DBI VERSION REMOVED>/" ' \
5795N/A '-e "/^chmod/d" '
5477N/A
5477N/A# This makes the configuration process a bit more chatty
5477N/ACOMPONENT_CONFIGURE_ENV += AUTOMATED_TESTING=1
5795N/A
5477N/ALICENSE=DBD-SQLite.license
5795N/ACLEAN_PATHS += $(LICENSE)
5477N/A
5477N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
5477N/A
5477N/A$(LICENSE): $(LICENSE).template
5477N/A $(PERL) -pe 's/COMPONENT_VERSION/$(COMPONENT_VERSION)/g' "$<" > "$@"
5477N/A
5795N/A# DBI must be installed to build
5795N/Abuild: $(BUILD_64) \
5575N/A $(LICENSE)
5477N/A
5795N/Ainstall: $(INSTALL_64)
5477N/A
5795N/Atest: $(TEST_64)
5477N/A
5477N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
5477N/A
5477N/AREQUIRED_PACKAGES += database/sqlite-3
5795N/AREQUIRED_PACKAGES += library/perl-5/database
5477N/AREQUIRED_PACKAGES += system/library