commit | author | age
|
302d3d
|
1 |
# |
SS |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
35e110
|
21 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
302d3d
|
22 |
# |
SS |
23 |
include ../../make-rules/shared-macros.mk |
|
24 |
|
|
25 |
COMPONENT_NAME= tcpdump |
a635c3
|
26 |
COMPONENT_VERSION= 4.3.0 |
60e6e0
|
27 |
COMPONENT_PROJECT_URL= http://www.tcpdump.org/ |
302d3d
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
SS |
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
35e110
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
a635c3
|
31 |
sha256:efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286 |
60e6e0
|
32 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE) |
3b89c9
|
33 |
COMPONENT_BUGDB= utility/tcpdump |
302d3d
|
34 |
|
SS |
35 |
include ../../make-rules/prep.mk |
|
36 |
include ../../make-rules/configure.mk |
|
37 |
include ../../make-rules/ips.mk |
|
38 |
|
d71939
|
39 |
# the default setting of 8s makes us core dump |
MS |
40 |
studio_ALIGN.sparc.32= |
|
41 |
|
302d3d
|
42 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
SS |
43 |
CONFIGURE_OPTIONS += --enable-ipv6=yes |
|
44 |
CONFIGURE_OPTIONS += --with-user=nobody |
|
45 |
CONFIGURE_OPTIONS += --without-crypto |
|
46 |
|
|
47 |
# common targets |
|
48 |
build: $(BUILD_32) |
|
49 |
|
|
50 |
install: $(INSTALL_32) |
|
51 |
|
a635c3
|
52 |
COMPONENT_PRE_TEST_ACTION = \ |
SS |
53 |
($(CP) -r $(SOURCE_DIR)/tests $(@D)/.) |
|
54 |
|
|
55 |
test: $(TEST_32) |
|
56 |
|
302d3d
|
57 |
|
SS |
58 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
59 |
|
|
60 |
include ../../make-rules/depend.mk |