Makefile revision 5245
0N/A#
553N/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.
553N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
553N/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#
0N/A# CDDL HEADER END
0N/A#
553N/A
553N/A#
553N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= sqlite
0N/ATARBALL_VERSION= 3080801
0N/ACOMPONENT_VERSION= 3.8.8.1
0N/ACOMPONENT_PROJECT_URL= http://www.sqlite.org/
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-autoconf-$(TARBALL_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:2721361eb4a71d5f727dfa466bd910dadd5dbeb4d2d57b8b34205f7ce7e5b7f9
0N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)2015/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= database/sqlite3
0N/A
0N/A# Documentation
0N/ADOC_VERSION= $(TARBALL_VERSION)
0N/ACOMPONENT_SRC_1= $(COMPONENT_NAME)-doc-$(DOC_VERSION)
0N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).zip
0N/ACOMPONENT_ARCHIVE_HASH_1= \
0N/A sha256:8bd54fdb0ed5daf4d47ab97838a116b71cc669591ff0bdd7935ab300942ff93f
0N/ACOMPONENT_ARCHIVE_URL_1= $(COMPONENT_PROJECT_URL)2015/$(COMPONENT_ARCHIVE_1)
0N/APKG_PROTO_DIRS += $(COMPONENT_SRC_1)
0N/A
0N/ATPNO= 20813
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
0N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
0N/A
0N/ACOMPONENT_POST_CONFIGURE_ACTION = \
0N/A (cd $(@D)/tea ; $(ENV) $(CONFIGURE_ENV) $(CONFIG_SHELL) \
0N/A ./configure --enable-shared --with-tcl="/usr/lib");
0N/A
0N/ACOMPONENT_POST_BUILD_ACTION = \
0N/A (cd $(@D)/tea ; $(ENV) $(COMPONENT_BUILD_ENV) \
0N/A $(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS));
0N/A
0N/ACC += $(CC_BITS)
0N/A
0N/ACFLAGS += -D_POSIX_PTHREAD_SEMANTICS
0N/ACFLAGS += -DNDEBUG
0N/ACFLAGS += -DSQLITE_SECURE_DELETE
0N/ACFLAGS += -DSQLITE_ENABLE_FTS3
0N/ACFLAGS += -DUSE_PREAD
0N/ACFLAGS += -DHAVE_USLEEP
0N/ACFLAGS += -DHAVE_FDATASYNC
0N/ACFLAGS += -DHAVE_STATVFS
0N/ACFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY
0N/ACFLAGS += -DSQLITE_ENABLE_STAT2
0N/ACFLAGS += -DSQLITE_MAX_SCHEMA_RETRY=25
0N/ACFLAGS += -DSQLITE_DEFAULT_PAGE_SIZE=32768
0N/ACFLAGS += -DSQLITE_MAX_DEFAULT_PAGE_SIZE=32768
0N/ACFLAGS += -I.
0N/A
0N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_OPTIONS += --enable-threadsafe
0N/ACONFIGURE_OPTIONS += --enable-dynamic-extensions
0N/ACONFIGURE_OPTIONS += --enable-shared
0N/ACONFIGURE_OPTIONS += --disable-static
0N/A
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/Aconfigure: $(CONFIGURE_32_and_64)
0N/A
0N/Abuild: $(BUILD_32_and_64)
0N/A
0N/Ainstall: $(INSTALL_32_and_64)
0N/A
0N/Atest: $(NO_TESTS)
0N/A
0N/Asystem-test: $(NO_TESTS)
0N/A
0N/AREQUIRED_PACKAGES += library/readline
0N/AREQUIRED_PACKAGES += system/library
0N/A