Makefile revision 3817
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
844N/A
369N/A#
369N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
369N/A#
369N/A
369N/Ainclude ../../make-rules/shared-macros.mk
369N/A
369N/ACOMPONENT_NAME= mlocate
844N/ACOMPONENT_VERSION= 0.25
844N/ACOMPONENT_PROJECT_URL= https://fedorahosted.org/mlocate
369N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
369N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
369N/ACOMPONENT_ARCHIVE_HASH= \
369N/A sha256:ab95c111f9dba35b5690896180dd0a7639dbf07d70b862fcb0731264d9273951
369N/ACOMPONENT_ARCHIVE_URL= https://fedorahosted.org/releases/m/l/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
369N/ACOMPONENT_BUGDB= utility/mlocate
369N/A
369N/ATPNO= 10233
369N/A
369N/Ainclude $(WS_MAKE_RULES)/prep.mk
369N/Ainclude $(WS_MAKE_RULES)/configure.mk
369N/Ainclude $(WS_MAKE_RULES)/ips.mk
369N/A
369N/ACONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
369N/ACONFIGURE_OPTIONS += --localstatedir="/var/cache"
369N/ACONFIGURE_OPTIONS += --sysconfdir="/etc"
369N/A
369N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -f && automake)
369N/ACOMPONENT_POST_INSTALL_ACTION= \
369N/A @$(MKDIR) -p $(PROTO_DIR)/etc/; \
369N/A $(CP) files/updatedb.conf $(PROTO_DIR)/etc/
369N/A
# Enable aslr for this component
ASLR_MODE = $(ASLR_ENABLE)
# common targets
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
REQUIRED_PACKAGES += system/library