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, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2014, 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.1.1 |
26 COMPONENT_VERSION= 1.5.1 |
27 COMPONENT_PROJECT_URL= http://www.tcpdump.org/ |
27 COMPONENT_PROJECT_URL= http://www.tcpdump.org/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85 |
31 sha256:259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4 |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
33 |
33 |
34 include ../../make-rules/prep.mk |
34 include ../../make-rules/prep.mk |
35 include ../../make-rules/configure.mk |
35 include ../../make-rules/configure.mk |
36 include ../../make-rules/ips.mk |
36 include ../../make-rules/ips.mk |
39 # libpcap Makefile does not use CFLAGS when building shared library |
39 # libpcap Makefile does not use CFLAGS when building shared library |
40 # so we require the following line to add the -m option to CC |
40 # so we require the following line to add the -m option to CC |
41 # |
41 # |
42 CC += $(CC_BITS) |
42 CC += $(CC_BITS) |
43 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H" |
43 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H" |
|
44 CONFIGURE_OPTIONS += --disable-dbus |
44 |
45 |
45 # common targets |
46 # common targets |
46 build: $(BUILD_32_and_64) |
47 build: $(BUILD_32_and_64) |
47 |
48 |
48 install: $(INSTALL_32_and_64) |
49 install: $(INSTALL_32_and_64) |