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