4135N/A#
4135N/A# CDDL HEADER START
4135N/A#
4135N/A# The contents of this file are subject to the terms of the
4135N/A# Common Development and Distribution License (the "License").
4135N/A# You may not use this file except in compliance with the License.
4135N/A#
4135N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4135N/A# or http://www.opensolaris.org/os/licensing.
4135N/A# See the License for the specific language governing permissions
4135N/A# and limitations under the License.
4135N/A#
4135N/A# When distributing Covered Code, include this CDDL HEADER in each
4135N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4135N/A# If applicable, add the following below this CDDL HEADER, with the
4135N/A# fields enclosed by brackets "[]" replaced with your own identifying
4135N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4135N/A#
4135N/A# CDDL HEADER END
4135N/A#
4135N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4135N/A#
4135N/A
4135N/Ainclude ../../make-rules/shared-macros.mk
4135N/A
4135N/ACOMPONENT_NAME= procps-ng
4135N/ACOMPONENT_VERSION= 3.3.10
4135N/ACOMPONENT_PROJECT_URL= http://sourceforge.net/projects/procps-ng/
4135N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4135N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
4135N/ACOMPONENT_ARCHIVE_HASH= \
4135N/A sha256:a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04
4135N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/Production/$(COMPONENT_ARCHIVE)/download
4135N/ACOMPONENT_BUGDB= utility/watch
4135N/A
4135N/ATPNO= 20559
4135N/A
4135N/Ainclude $(WS_MAKE_RULES)/prep.mk
4135N/Ainclude $(WS_MAKE_RULES)/configure.mk
4135N/Ainclude $(WS_MAKE_RULES)/ips.mk
4135N/A
4135N/ACOMPILER = gcc
4135N/A
4135N/ACFLAGS += -I/usr/include/ncurses
4135N/A
4135N/ACONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
4135N/A
4135N/A# Always show the build and link lines for easier debugging.
4135N/ACOMPONENT_BUILD_ARGS += V=1
4135N/A
4135N/A# Don't try to link watch with .../proc/libprocps.la as it's not needed.
4135N/ACOMPONENT_BUILD_ARGS += AM_LDFLAGS=
4135N/A
4135N/ACOMPONENT_BUILD_TARGETS = watch
4135N/A
4135N/APKG_PROTO_DIRS += $(BUILD_DIR_64)
4135N/A
4135N/AASLR_MODE = $(ASLR_ENABLE)
4135N/A
4135N/A# common targets
4135N/Abuild: $(BUILD_64)
4135N/A
4135N/A# Nothing to install.
4135N/Ainstall: $(BUILD_64)
4135N/A
4135N/Atest: $(NO_TESTS)
4135N/A
4135N/AREQUIRED_PACKAGES += library/ncurses
4135N/AREQUIRED_PACKAGES += system/library