equal
deleted
inserted
replaced
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, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= libpcap |
25 COMPONENT_NAME= libpcap |
26 COMPONENT_VERSION= 1.5.1 |
26 COMPONENT_VERSION= 1.5.1 |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= library/libpcap |
33 COMPONENT_BUGDB= library/libpcap |
34 |
34 |
35 TPNO= 15968 |
35 TPNO= 15968 |
36 |
36 |
37 include ../../make-rules/prep.mk |
37 include $(WS_MAKE_RULES)/prep.mk |
38 include ../../make-rules/configure.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include ../../make-rules/ips.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
40 |
40 |
41 # |
41 # |
42 # libpcap Makefile does not use CFLAGS when building shared library |
42 # libpcap Makefile does not use CFLAGS when building shared library |
43 # so we require the following line to add the -m option to CC |
43 # so we require the following line to add the -m option to CC |
44 # |
44 # |
53 |
53 |
54 build: $(BUILD_32_and_64) |
54 build: $(BUILD_32_and_64) |
55 |
55 |
56 install: $(INSTALL_32_and_64) |
56 install: $(INSTALL_32_and_64) |
57 |
57 |
58 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
59 |
|
60 test: $(NO_TESTS) |
58 test: $(NO_TESTS) |
61 |
59 |
62 include ../../make-rules/depend.mk |
60 |
|
61 REQUIRED_PACKAGES += developer/lexer/flex |
|
62 REQUIRED_PACKAGES += developer/parser/bison |
|
63 REQUIRED_PACKAGES += shell/ksh93 |
|
64 REQUIRED_PACKAGES += system/library |