Makefile revision 3817
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#
3817N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1556N/A#
1556N/Ainclude ../../make-rules/shared-macros.mk
1556N/A
1556N/ACOMPONENT_NAME= daq
3433N/ACOMPONENT_VERSION= 2.0.2
1556N/ACOMPONENT_PROJECT_URL= http://www.snort.org/
1556N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1556N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1556N/ACOMPONENT_ARCHIVE_HASH= \
3433N/A sha256:d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8
3433N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/snort/files/snort/$(COMPONENT_ARCHIVE)/download
1556N/ACOMPONENT_BUGDB= library/daq
1556N/A
3433N/ATPNO= 19384
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.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
1556N/A# Set -m32 or -m64 correctly for 32 and 64 bit versions.
1556N/ACC += $(CC_BITS)
1556N/A
3433N/ACONFIGURE_OPTIONS += --disable-ipfw-module
1556N/ACONFIGURE_OPTIONS += --enable-static=no
1768N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1556N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1556N/A
1556N/A# common targets
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
1556N/Abuild: $(BUILD_32_and_64)
1556N/A
1556N/Ainstall: $(INSTALL_32_and_64)
1556N/A
1556N/Atest: $(NO_TESTS)
1556N/A
1556N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library
3817N/AREQUIRED_PACKAGES += system/library/libpcap
3817N/AREQUIRED_PACKAGES += system/linker