1556N/A#
1556N/A# CDDL HEADER START
1556N/A#
1556N/A# The contents of this file are subject to the terms of the
1556N/A# Common Development and Distribution License (the "License").
1556N/A# You may not use this file except in compliance with the License.
1556N/A#
1556N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1556N/A# or http://www.opensolaris.org/os/licensing.
1556N/A# See the License for the specific language governing permissions
1556N/A# and limitations under the License.
1556N/A#
1556N/A# When distributing Covered Code, include this CDDL HEADER in each
1556N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1556N/A# If applicable, add the following below this CDDL HEADER, with the
1556N/A# fields enclosed by brackets "[]" replaced with your own identifying
1556N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1556N/A#
1556N/A# CDDL HEADER END
1556N/A#
5680N/A
1556N/A#
5680N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
5680N/ABUILD_BITS= 32_and_64
1556N/Ainclude ../../make-rules/shared-macros.mk
1556N/ACOMPONENT_NAME= daq
7286N/ACOMPONENT_VERSION= 2.0.6
1556N/ACOMPONENT_PROJECT_URL= http://www.snort.org/
1556N/ACOMPONENT_ARCHIVE_HASH= \
7286N/A sha256:b40e1d1273e08aaeaa86e69d4f28d535b7e53bdb3898adf539266b63137be7cb
7286N/ACOMPONENT_ARCHIVE_URL= https://www.snort.org/downloads/snort/$(COMPONENT_ARCHIVE)
1556N/ACOMPONENT_BUGDB= library/daq
1556N/A
7286N/ATPNO= 32523
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
1556N/A
1768N/A# Solaris should really define these. See CR #15431883 and 15537286.
1768N/ACFLAGS += -Du_int8_t=uint8_t
1768N/ACFLAGS += -Du_int16_t=uint16_t
1768N/ACFLAGS += -Du_int32_t=uint32_t
1768N/A
3433N/ACONFIGURE_OPTIONS += --disable-ipfw-module
1556N/ACONFIGURE_OPTIONS += --enable-static=no
1556N/A
6863N/A# cheesy, but if we turn off visibility then it doesn't
6863N/A# save the CFLAGS right and then nulls them.
6863N/ACONFIGURE_OPTIONS += "gl_cv_cc_visibility=no"
6863N/ACONFIGURE_OPTIONS += gl_save_CFLAGS="$(CFLAGS)"
6863N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library/libpcap