equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
|
25 |
|
26 # Can't use the Studio compilers as they don't support the GNU |
|
27 # __attribute__ extension |
|
28 COMPILER = gcc |
25 |
29 |
26 include ../../make-rules/shared-macros.mk |
30 include ../../make-rules/shared-macros.mk |
27 |
31 |
28 COMPONENT_NAME= nmap |
32 COMPONENT_NAME= nmap |
29 COMPONENT_VERSION= 6.25 |
33 COMPONENT_VERSION= 6.25 |
35 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE) |
39 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE) |
36 COMPONENT_BUGDB= utility/nmap |
40 COMPONENT_BUGDB= utility/nmap |
37 |
41 |
38 TPNO= 9217 |
42 TPNO= 9217 |
39 |
43 |
40 include ../../make-rules/prep.mk |
44 include $(WS_MAKE_RULES)/prep.mk |
41 include ../../make-rules/configure.mk |
45 include $(WS_MAKE_RULES)/configure.mk |
42 include ../../make-rules/ips.mk |
46 include $(WS_MAKE_RULES)/ips.mk |
43 |
|
44 # Can't use the Studio compilers as they don't support the GNU |
|
45 # __attribute__ extension |
|
46 COMPILER = gcc |
|
47 |
47 |
48 COMPONENT_PRE_CONFIGURE_ACTION = \ |
48 COMPONENT_PRE_CONFIGURE_ACTION = \ |
49 ($(CLONEY) $(SOURCE_DIR) $(@D)) |
49 ($(CLONEY) $(SOURCE_DIR) $(@D)) |
50 |
50 |
51 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
51 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
81 |
81 |
82 install: $(INSTALL_64) |
82 install: $(INSTALL_64) |
83 |
83 |
84 test: $(NO_TESTS) |
84 test: $(NO_TESTS) |
85 |
85 |
86 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
87 |
86 |
88 include ../../make-rules/depend.mk |
87 REQUIRED_PACKAGES += library/pcre |
|
88 REQUIRED_PACKAGES += library/python-2/pygobject-26 |
|
89 REQUIRED_PACKAGES += library/python-2/pygtk2-26 |
|
90 REQUIRED_PACKAGES += library/security/openssl |
|
91 REQUIRED_PACKAGES += runtime/lua |
|
92 REQUIRED_PACKAGES += runtime/python-26 |
|
93 REQUIRED_PACKAGES += system/library |
|
94 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
95 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
|
96 REQUIRED_PACKAGES += system/library/libpcap |
|
97 REQUIRED_PACKAGES += system/library/math |