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