Makefile revision 2899
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#
2899N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
1556N/A#
1556N/Ainclude ../../make-rules/shared-macros.mk
1556N/A
1556N/ACOMPONENT_NAME= daq
1556N/ACOMPONENT_VERSION= 0.6.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= \
1556N/A sha256:0159865b5dc127ed2faf8d6732d781939f27e38b7c7deabcd369a22ea9e42f26
1556N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/1525
1556N/ACOMPONENT_BUGDB= library/daq
1556N/A
2899N/ATPNO= 11060
2899N/A
1556N/Ainclude ../../make-rules/prep.mk
1556N/Ainclude ../../make-rules/configure.mk
1556N/Ainclude ../../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
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
1556N/Abuild: $(BUILD_32_and_64)
1556N/A
1556N/Ainstall: $(INSTALL_32_and_64)
1556N/A
1556N/Atest: $(NO_TESTS)
1556N/A
1556N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1556N/A
1556N/Ainclude ../../make-rules/depend.mk