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) 2015, Oracle and/or its affiliates. All rights reserved. |
21 |
22 # |
22 # |
|
23 # Copyright (c) 2015, 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= nicstat |
28 COMPONENT_NAME= nicstat |
26 COMPONENT_VERSION= 1.95 |
29 COMPONENT_VERSION= 1.95 |
27 COMPONENT_PROJECT_URL= http://sourceforge.net/projects/nicstat/ |
30 COMPONENT_PROJECT_URL= http://sourceforge.net/projects/nicstat/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:c4cc33f8838f4523f27c3d7584eedbe59f4c587f0821612f5ac2201adc18b367 |
32 sha256:c4cc33f8838f4523f27c3d7584eedbe59f4c587f0821612f5ac2201adc18b367 |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/$(COMPONENT_ARCHIVE)/download |
33 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/$(COMPONENT_ARCHIVE)/download |
33 COMPONENT_BUGDB= utility/nicstat |
|
34 |
34 |
35 TPNO= 20669 |
35 TPNO= 20669 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 BUILD_STYLE= justmake |
38 include $(WS_MAKE_RULES)/justmake.mk |
38 # Makefile.Solaris is pretty useless for working in Userland. |
39 include $(WS_MAKE_RULES)/ips.mk |
39 INSTALL_TARGET= build |
|
40 TEST_TARGET= $(NO_TESTS) |
|
41 include $(WS_MAKE_RULES)/common.mk |
40 |
42 |
41 COMPONENT_BUILD_ENV += CC="$(CC) -m64" |
43 COMPONENT_BUILD_ARGS += COPT="$(CFLAGS)" |
42 COMPONENT_BUILD_ARGS = -f Makefile.Solaris |
44 COMPONENT_BUILD_ARGS += -f Makefile.Solaris |
43 |
45 |
44 PATCH_LEVEL = 0 |
46 PATCH_LEVEL = 0 |
45 |
47 |
46 # Just get stuff from the build directory. |
48 # Just get stuff from the build directory. |
47 PKG_PROTO_DIRS += $(BUILD_DIR_64) |
49 PKG_PROTO_DIRS += $(BUILD_DIR_64) |
48 |
|
49 ASLR_MODE = $(ASLR_ENABLE) |
|
50 |
|
51 build: $(BUILD_64) |
|
52 |
|
53 # Makefile.Solaris is pretty useless for working in Userland. |
|
54 install: $(BUILD_64) |
|
55 |
|
56 test: $(NO_TESTS) |
|
57 |
|
58 system-test: $(NO_TESTS) |
|
59 |
|
60 REQUIRED_PACKAGES += system/library |
|