components/watch/Makefile
changeset 5682 94c0ca64c022
parent 5590 389554f3c555
child 7687 1093e2a9adbd
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
       
    21 
       
    22 #
    21 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    24 #
    23 
    25 BUILD_BITS= 64
       
    26 COMPILER= gcc
    24 include ../../make-rules/shared-macros.mk
    27 include ../../make-rules/shared-macros.mk
    25 
    28 
    26 COMPONENT_NAME=		procps-ng
    29 COMPONENT_NAME=		procps-ng
    27 COMPONENT_VERSION=	3.3.11
    30 COMPONENT_VERSION=	3.3.11
    28 COMPONENT_PROJECT_URL=	http://sourceforge.net/projects/procps-ng/
    31 COMPONENT_PROJECT_URL=	http://sourceforge.net/projects/procps-ng/
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
    31 COMPONENT_ARCHIVE_HASH=	\
    33 COMPONENT_ARCHIVE_HASH=	\
    32     sha256:e9493169a2d2adc0bc045538707310c8e877b385e4e296143b62607d2bb044ed
    34     sha256:e9493169a2d2adc0bc045538707310c8e877b385e4e296143b62607d2bb044ed
    33 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/Production/$(COMPONENT_ARCHIVE)/download
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/Production/$(COMPONENT_ARCHIVE)/download
    34 COMPONENT_BUGDB=	utility/watch
    36 COMPONENT_BUGDB=	utility/watch
    35 
    37 
    36 TPNO=			27264
    38 TPNO=			27264
    37 
    39 
    38 include $(WS_MAKE_RULES)/prep.mk
    40 INSTALL_TARGET= build
    39 include $(WS_MAKE_RULES)/configure.mk
    41 TEST_TARGET= $(NO_TESTS)
    40 include $(WS_MAKE_RULES)/ips.mk
    42 include $(WS_MAKE_RULES)/common.mk
    41 
    43 
    42 COMPILER =			gcc
       
    43 
    44 
    44 CFLAGS +=			-I/usr/include/ncurses
    45 CFLAGS +=			-I$(USRINCDIR)/ncurses
    45 
       
    46 CONFIGURE_ENV +=		"CFLAGS=$(CFLAGS)"
       
    47 
    46 
    48 # Always show the build and link lines for easier debugging.
    47 # Always show the build and link lines for easier debugging.
    49 COMPONENT_BUILD_ARGS +=		V=1
    48 COMPONENT_BUILD_ARGS +=		V=1
    50 
    49 
    51 # Don't try to link watch with .../proc/libprocps.la as it's not needed.
    50 # Don't try to link watch with .../proc/libprocps.la as it's not needed.
    53 
    52 
    54 COMPONENT_BUILD_TARGETS =	watch
    53 COMPONENT_BUILD_TARGETS =	watch
    55 
    54 
    56 PKG_PROTO_DIRS += $(BUILD_DIR_64)
    55 PKG_PROTO_DIRS += $(BUILD_DIR_64)
    57 
    56 
    58 ASLR_MODE = $(ASLR_ENABLE)
       
    59 
       
    60 build:		$(BUILD_64)
       
    61 
       
    62 # Nothing to install.
       
    63 install:	$(BUILD_64)
       
    64 
       
    65 test:		$(NO_TESTS)
       
    66 
       
    67 system-test:    $(NO_TESTS)
       
    68 
       
    69 REQUIRED_PACKAGES +=	library/ncurses
    57 REQUIRED_PACKAGES +=	library/ncurses
    70 REQUIRED_PACKAGES +=	system/library