Makefile revision 1258
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#
844N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
278N/A#
278N/Ainclude ../../../make-rules/shared-macros.mk
278N/A
1244N/ACOMPONENT_NAME= mod_security2
278N/ACOMPONENT_VERSION= 2.5.9
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= \
844N/A sha256:02352221ea268f8ae9aae5b84507f51eba2a67c0f7d2efd5cc88e85f1f394056
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(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
278N/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
278N/A# Need to get right version of C compiler and GNU sed first.
278N/APATH=$(SPRO_VROOT)/bin:/usr/gnu/bin:/usr/bin
278N/A
278N/A# Some patches need configure script re-creation.
278N/ACOMPONENT_PREP_ACTION = (cd $(@D)/apache2; autoconf)
278N/A
278N/ACONFIGURE_SCRIPT = $(SOURCE_DIR)/apache2/configure
278N/A
278N/A# Header files are missing during build without cloning.
278N/ACOMPONENT_PRE_BUILD_ACTION += ($(CLONEY) $(SOURCE_DIR)/apache2 $(@D));
278N/A
278N/Abuild: $(BUILD_32_and_64)
278N/A
278N/Atest: $(NO_TESTS)
278N/A
278N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
278N/A
278N/Ainclude ../../../make-rules/depend.mk