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 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 |
22 # |
22 # |
|
23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 BUILD_BITS= 64 |
23 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
24 |
27 |
25 COMPONENT_NAME= top |
28 COMPONENT_NAME= top |
26 COMPONENT_VERSION= 3.8beta1 |
29 COMPONENT_VERSION= 3.8beta1 |
|
30 HUMAN_VERSION= $(COMPONENT_VERSION) |
27 COMPONENT_PROJECT_URL= http://www.unixtop.org/ |
31 COMPONENT_PROJECT_URL= http://www.unixtop.org/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:6c683e9cb092078cbc1b2233b15fa8bd3d35a00874e6ba27cf54370d1d64fa4d |
33 sha256:6c683e9cb092078cbc1b2233b15fa8bd3d35a00874e6ba27cf54370d1d64fa4d |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE) |
34 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/top |
|
34 |
35 |
35 TPNO= 5701 |
36 TPNO= 5701 |
36 |
37 |
37 include $(WS_MAKE_RULES)/prep.mk |
38 TEST_TARGET= $(NO_TESTS) |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include $(WS_MAKE_RULES)/common.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
|
40 |
40 |
41 IPS_COMPONENT_VERSION = 3.8 |
41 IPS_COMPONENT_VERSION = 3.8 |
42 |
42 |
43 # viewpathing support in the build is broken in the 'install' target |
43 # viewpathing support in the build is broken in the 'install' target |
44 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
44 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
45 |
45 |
46 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
47 |
|
48 ASLR_MODE = $(ASLR_ENABLE) |
|
49 |
|
50 # common targets |
|
51 configure: $(CONFIGURE_64) |
|
52 |
|
53 build: $(BUILD_64) |
|
54 |
|
55 install: $(INSTALL_64) |
|
56 |
|
57 test: $(NO_TESTS) |
|
58 |
|
59 system-test: $(NO_TESTS) |
|
60 |
|
61 |
|
62 REQUIRED_PACKAGES += system/library |
|
63 REQUIRED_PACKAGES += system/library/math |
46 REQUIRED_PACKAGES += system/library/math |