Makefile revision 3351
9N/A#
9N/A# CDDL HEADER START
9N/A#
9N/A# The contents of this file are subject to the terms of the
9N/A# Common Development and Distribution License (the "License").
9N/A# You may not use this file except in compliance with the License.
9N/A#
9N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9N/A# or http://www.opensolaris.org/os/licensing.
9N/A# See the License for the specific language governing permissions
9N/A# and limitations under the License.
9N/A#
9N/A# When distributing Covered Code, include this CDDL HEADER in each
9N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9N/A# If applicable, add the following below this CDDL HEADER, with the
9N/A# fields enclosed by brackets "[]" replaced with your own identifying
9N/A# information: Portions Copyright [yyyy] [name of copyright owner]
9N/A#
9N/A# CDDL HEADER END
9N/A#
1470N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
9N/A#
9N/Ainclude ../../../make-rules/shared-macros.mk
9N/A
9N/ACOMPONENT_NAME= mod_security2
814N/ACOMPONENT_VERSION= 2.8.0
1470N/ACOMPONENT_PROJECT_URL= http://www.modsecurity.org/
814N/ACOMPONENT_SRC_NAME= modsecurity-apache
814N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)_$(COMPONENT_VERSION)
814N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
814N/ACOMPONENT_ARCHIVE_HASH= \
814N/A sha256:95de6ec30982e5bde7981929ba89be89488e9f237ee8c4236e064b074bbb6f28
814N/ACOMPONENT_ARCHIVE_URL= \
1470N/A $(COMPONENT_PROJECT_URL)tarball/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
814N/ACOMPONENT_BUGDB= utility/apache
814N/A
814N/ATPNO= 18233
814N/A
814N/Ainclude ../../../make-rules/prep.mk
814N/Ainclude ../../../make-rules/configure.mk
814N/Ainclude ../../../make-rules/ips.mk
814N/Ainclude ../modules.mk
814N/A
814N/ACOMPONENT_POST_UNPACK_ACTION += \
814N/A (cd $(SOURCE_DIR); \
814N/A $(CP) modsecurity.conf-recommended modsecurity-24.conf-recommended)
814N/A
1470N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1470N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
1470N/ACONFIGURE_OPTIONS += --with-apxs=$(APXS)
1470N/ACONFIGURE_OPTIONS += --with-apr=`$(APXS) -q APR_CONFIG`
1470N/ACONFIGURE_OPTIONS += --with-apu=`$(APXS) -q APU_CONFIG`
1470N/A
1470N/ACOMPONENT_TEST_ARGS += CFLAGS="$(CFLAGS) -DMSC_TEST"
16N/A
16N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
16N/A
16N/Abuild: $(BUILD_32_and_64)
16N/A
1470N/Atest: $(TEST_32_and_64)
9N/A
16N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1470N/A
16N/Ainclude ../../../make-rules/depend.mk
16N/A