components/tcpdump/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 4339 6501cf9c29f9
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    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=		tcpdump
    25 COMPONENT_NAME=		tcpdump
    26 COMPONENT_VERSION=	4.5.1
    26 COMPONENT_VERSION=	4.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=	utility/tcpdump
    33 COMPONENT_BUGDB=	utility/tcpdump
    34 
    34 
    35 TPNO=			16021
    35 TPNO=			16021
    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 # fix my alignment issues instead of falling over on sparc
    41 # fix my alignment issues instead of falling over on sparc
    42 studio_ALIGN.sparc.64=-xmemalign=16i
    42 studio_ALIGN.sparc.64=-xmemalign=16i
    43 CONFIGURE_OPTIONS.sparc += ac_cv___attribute__=no
    43 CONFIGURE_OPTIONS.sparc += ac_cv___attribute__=no
    44 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(MACH))
    44 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(MACH))
    65         ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
    65         ($(CP) -r $(SOURCE_DIR)/tests $(@D)/.)
    66 
    66 
    67 test:		$(TEST_64)
    67 test:		$(TEST_64)
    68 
    68 
    69 
    69 
    70 BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
       
    71 
    70 
    72 include ../../make-rules/depend.mk
    71 REQUIRED_PACKAGES += system/library
       
    72 REQUIRED_PACKAGES += system/library/libpcap