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