Makefile revision 3817
176N/A#
176N/A# CDDL HEADER START
176N/A#
176N/A# The contents of this file are subject to the terms of the
176N/A# Common Development and Distribution License (the "License").
176N/A# You may not use this file except in compliance with the License.
176N/A#
176N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
176N/A# or http://www.opensolaris.org/os/licensing.
176N/A# See the License for the specific language governing permissions
176N/A# and limitations under the License.
176N/A#
176N/A# When distributing Covered Code, include this CDDL HEADER in each
176N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
176N/A# If applicable, add the following below this CDDL HEADER, with the
176N/A# fields enclosed by brackets "[]" replaced with your own identifying
176N/A# information: Portions Copyright [yyyy] [name of copyright owner]
176N/A#
176N/A# CDDL HEADER END
176N/A#
176N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
176N/A#
176N/Ainclude ../../make-rules/shared-macros.mk
176N/A
176N/ACOMPONENT_NAME= daq
176N/ACOMPONENT_VERSION= 2.0.2
176N/ACOMPONENT_PROJECT_URL= http://www.snort.org/
176N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
176N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
176N/ACOMPONENT_ARCHIVE_HASH= \
176N/A sha256:d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8
176N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/snort/files/snort/$(COMPONENT_ARCHIVE)/download
176N/ACOMPONENT_BUGDB= library/daq
176N/A
176N/ATPNO= 19384
176N/A
176N/Ainclude $(WS_MAKE_RULES)/prep.mk
176N/Ainclude $(WS_MAKE_RULES)/configure.mk
176N/Ainclude $(WS_MAKE_RULES)/ips.mk
176N/A
176N/A# Solaris should really define these. See CR #15431883 and 15537286.
176N/ACFLAGS += -Du_int8_t=uint8_t
176N/ACFLAGS += -Du_int16_t=uint16_t
176N/ACFLAGS += -Du_int32_t=uint32_t
176N/A
176N/A# Set -m32 or -m64 correctly for 32 and 64 bit versions.
176N/ACC += $(CC_BITS)
176N/A
176N/ACONFIGURE_OPTIONS += --disable-ipfw-module
176N/ACONFIGURE_OPTIONS += --enable-static=no
176N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
176N/A
176N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
176N/A
176N/A# common targets
176N/Aconfigure: $(CONFIGURE_32_and_64)
176N/A
176N/Abuild: $(BUILD_32_and_64)
176N/A
176N/Ainstall: $(INSTALL_32_and_64)
176N/A
176N/Atest: $(NO_TESTS)
176N/A
176N/A
176N/AREQUIRED_PACKAGES += developer/lexer/flex
176N/AREQUIRED_PACKAGES += developer/parser/bison
176N/AREQUIRED_PACKAGES += shell/ksh93
176N/AREQUIRED_PACKAGES += system/library
176N/AREQUIRED_PACKAGES += system/library/libpcap
176N/AREQUIRED_PACKAGES += system/linker
176N/A