Makefile revision 5180
5180N/A#
5180N/A# CDDL HEADER START
5180N/A#
5180N/A# The contents of this file are subject to the terms of the
5180N/A# Common Development and Distribution License (the "License").
5180N/A# You may not use this file except in compliance with the License.
5180N/A#
5180N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5180N/A# or http://www.opensolaris.org/os/licensing.
5180N/A# See the License for the specific language governing permissions
5180N/A# and limitations under the License.
5180N/A#
5180N/A# When distributing Covered Code, include this CDDL HEADER in each
5180N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5180N/A# If applicable, add the following below this CDDL HEADER, with the
5180N/A# fields enclosed by brackets "[]" replaced with your own identifying
5180N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5180N/A#
5180N/A# CDDL HEADER END
5180N/A#
5180N/A
5180N/A#
5180N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
5180N/A#
5180N/A
5180N/Ainclude ../../make-rules/shared-macros.mk
5180N/A
5180N/ACOMPONENT_NAME= sqlite
5180N/ATARBALL_VERSION= 3080801
5180N/ACOMPONENT_VERSION= 3.8.8.1
5180N/ACOMPONENT_PROJECT_URL= http://www.sqlite.org/
5180N/ACOMPONENT_SRC= $(COMPONENT_NAME)-autoconf-$(TARBALL_VERSION)
5180N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5180N/ACOMPONENT_ARCHIVE_HASH= \
5180N/A sha256:2721361eb4a71d5f727dfa466bd910dadd5dbeb4d2d57b8b34205f7ce7e5b7f9
5180N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)2015/$(COMPONENT_ARCHIVE)
5180N/ACOMPONENT_BUGDB= library/sqlite3
5180N/A
5180N/A# Documentation
5180N/ADOC_VERSION= $(TARBALL_VERSION)
5180N/ACOMPONENT_SRC_1= $(COMPONENT_NAME)-doc-$(DOC_VERSION)
5180N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).zip
5180N/ACOMPONENT_ARCHIVE_HASH_1= \
5180N/A sha256:8bd54fdb0ed5daf4d47ab97838a116b71cc669591ff0bdd7935ab300942ff93f
5180N/ACOMPONENT_ARCHIVE_URL_1= $(COMPONENT_PROJECT_URL)2015/$(COMPONENT_ARCHIVE_1)
5180N/APKG_PROTO_DIRS += $(COMPONENT_SRC_1)
5180N/A
5180N/ATPNO= 20813
5180N/A
5180N/Ainclude $(WS_MAKE_RULES)/prep.mk
5180N/Ainclude $(WS_MAKE_RULES)/configure.mk
5180N/Ainclude $(WS_MAKE_RULES)/ips.mk
5180N/A
5180N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
5180N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
5180N/A
5180N/ACOMPONENT_POST_CONFIGURE_ACTION = \
5180N/A (cd $(@D)/tea ; $(ENV) $(CONFIGURE_ENV) $(CONFIG_SHELL) \
5180N/A ./configure --enable-shared --with-tcl="/usr/lib");
5180N/A
5180N/ACOMPONENT_POST_BUILD_ACTION = \
5180N/A (cd $(@D)/tea ; $(ENV) $(COMPONENT_BUILD_ENV) \
5180N/A $(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS));
5180N/A
5180N/ACC += $(CC_BITS)
5180N/A
5180N/ACFLAGS += -D_POSIX_PTHREAD_SEMANTICS
5180N/ACFLAGS += -DNDEBUG
5180N/ACFLAGS += -DSQLITE_SECURE_DELETE
5180N/ACFLAGS += -DSQLITE_ENABLE_FTS3
5180N/ACFLAGS += -DUSE_PREAD
5180N/ACFLAGS += -DHAVE_USLEEP
5180N/ACFLAGS += -DHAVE_FDATASYNC
5180N/ACFLAGS += -DHAVE_STATVFS
5180N/ACFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY
5180N/ACFLAGS += -DSQLITE_ENABLE_STAT2
5180N/ACFLAGS += -DSQLITE_MAX_SCHEMA_RETRY=25
5180N/ACFLAGS += -DSQLITE_DEFAULT_PAGE_SIZE=32768
5180N/ACFLAGS += -DSQLITE_MAX_DEFAULT_PAGE_SIZE=32768
5180N/ACFLAGS += -I.
5180N/A
5180N/ACONFIGURE_OPTIONS += --enable-threadsafe
5180N/ACONFIGURE_OPTIONS += --enable-cross-thread-connections
5180N/ACONFIGURE_OPTIONS += --enable-load-extension
5180N/ACONFIGURE_OPTIONS += --enable-shared
5180N/ACONFIGURE_OPTIONS += --disable-static
5180N/ACONFIGURE_OPTIONS += --with-tcl="/usr/lib"
5180N/A
5180N/AASLR_MODE = $(ASLR_ENABLE)
5180N/A
5180N/Aconfigure: $(CONFIGURE_32_and_64)
5180N/A
5180N/Abuild: $(BUILD_32_and_64)
5180N/A
5180N/Ainstall: $(INSTALL_32_and_64)
5180N/A
5180N/Atest: $(TEST_32_and_64)
5180N/A
5180N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
5180N/A
5180N/AREQUIRED_PACKAGES += library/readline
5180N/AREQUIRED_PACKAGES += system/library