Makefile revision 3899
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# CDDL HEADER START
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# The contents of this file are subject to the terms of the
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# Common Development and Distribution License (the "License").
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# You may not use this file except in compliance with the License.
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# or http://www.opensolaris.org/os/licensing.
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# See the License for the specific language governing permissions
4b1c2be41ce8c1a88502c1b1885ad1468646fbfftheadib# and limitations under the License.
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# When distributing Covered Code, include this CDDL HEADER in each
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# If applicable, add the following below this CDDL HEADER, with the
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# fields enclosed by brackets "[]" replaced with your own identifying
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# information: Portions Copyright [yyyy] [name of copyright owner]
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# CDDL HEADER END
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh#
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshinclude ../../make-rules/shared-macros.mk
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_NAME= gdbm
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_VERSION= 1.8.3
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_PROJECT_URL= http://www.gnu.org/software/gdbm/
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_ARCHIVE_HASH= \
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh sha256:cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_BUGDB= library/libgdbm
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshTPNO= 8440
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadib
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadibinclude $(WS_MAKE_RULES)/prep.mk
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadibinclude $(WS_MAKE_RULES)/configure.mk
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadibinclude $(WS_MAKE_RULES)/ips.mk
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadib
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadibCONFIGURE_OPTIONS += --disable-static
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadibCONFIGURE_OPTIONS += --enable-shared
54e660c4de9d37185e3953165d053526632ef4f0johanengelenCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
54e660c4de9d37185e3953165d053526632ef4f0johanengelen
54e660c4de9d37185e3953165d053526632ef4f0johanengelenCOMPONENT_INSTALL_ENV += INSTALL_ROOT="$(PROTO_DIR)"
5c45c5153b0415f7573f69f4ee3e946b5872a8d1theadib
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshASLR_MODE = $(ASLR_NOT_APPLICABLE)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh$(SKIP_TEST_AT_TOP_LEVEL)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# common targets
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshconfigure: $(CONFIGURE_32_and_64)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshbuild: $(BUILD_32_and_64)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshinstall: $(INSTALL_32_and_64)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
dd69425007680aafc47fdd994e1985625571d252bryce# The tests build but they are not run automatically. You have to
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# manually run the tests (testdbm, testgdbm, etc) by hand and verify
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh# the DB operations. (No master test files).
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshCOMPONENT_TEST_TARGETS = progs
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshtest: $(TEST_32_and_64)
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6mikloshREQUIRED_PACKAGES += system/library
b7f07692f95074fdcf74c7350fbf5f3099ffc1b6miklosh