Makefile revision 1938
120N/A#
120N/A# CDDL HEADER START
120N/A#
120N/A# The contents of this file are subject to the terms of the
120N/A# Common Development and Distribution License (the "License").
120N/A# You may not use this file except in compliance with the License.
120N/A#
120N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120N/A# or http://www.opensolaris.org/os/licensing.
120N/A# See the License for the specific language governing permissions
120N/A# and limitations under the License.
120N/A#
120N/A# When distributing Covered Code, include this CDDL HEADER in each
120N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
120N/A# If applicable, add the following below this CDDL HEADER, with the
120N/A# fields enclosed by brackets "[]" replaced with your own identifying
120N/A# information: Portions Copyright [yyyy] [name of copyright owner]
120N/A#
120N/A# CDDL HEADER END
120N/A#
120N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
120N/A#
5680N/Ainclude ../../make-rules/shared-macros.mk
120N/A
5680N/ACOMPONENT_NAME= gdbm
120N/ACOMPONENT_VERSION= 1.8.3
120N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
120N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/gdbm/
1455N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1455N/A sha256:cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
1258N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
120N/ACOMPONENT_BUGDB= library/libgdbm
2899N/A
2899N/Ainclude ../../make-rules/prep.mk
5680N/Ainclude ../../make-rules/configure.mk
5680N/Ainclude ../../make-rules/ips.mk
5680N/A
5680N/ACONFIGURE_OPTIONS += --disable-static
120N/ACONFIGURE_OPTIONS += --enable-shared
120N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
120N/A
4730N/ACOMPONENT_INSTALL_ENV += INSTALL_ROOT="$(PROTO_DIR)"
4730N/A
4730N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4730N/A
4730N/A# common targets
4730N/Abuild: $(BUILD_32_and_64)
4730N/A
4730N/Ainstall: $(INSTALL_32_and_64)
4730N/A
4912N/A# The tests build but they are not run automatically. You have to
4912N/A# manually run the tests (testdbm, testgdbm, etc) by hand and verify
4912N/A# the DB operations.
4912N/ACOMPONENT_TEST_TARGETS = progs
4912N/Atest: $(TEST_32_and_64)
4912N/A
4912N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
4912N/A
4912N/Ainclude ../../make-rules/depend.mk
4912N/A