Makefile revision 970
101N/A#
101N/A# CDDL HEADER START
101N/A#
101N/A# The contents of this file are subject to the terms of the
101N/A# Common Development and Distribution License (the "License").
101N/A# You may not use this file except in compliance with the License.
101N/A#
101N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
101N/A# or http://www.opensolaris.org/os/licensing.
101N/A# See the License for the specific language governing permissions
101N/A# and limitations under the License.
101N/A#
101N/A# When distributing Covered Code, include this CDDL HEADER in each
101N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
101N/A# If applicable, add the following below this CDDL HEADER, with the
101N/A# fields enclosed by brackets "[]" replaced with your own identifying
101N/A# information: Portions Copyright [yyyy] [name of copyright owner]
101N/A#
101N/A# CDDL HEADER END
101N/A#
2282N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
101N/A#
101N/Ainclude ../../../make-rules/shared-macros.mk
101N/A
101N/ACOMPONENT_NAME= modsecurity-apache
893N/ACOMPONENT_VERSION= 2.5.9
618N/ACOMPONENT_PROJECT_URL= http://www.modsecurity.org/
101N/ACOMPONENT_SRC= $(COMPONENT_NAME)_$(COMPONENT_VERSION)
893N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
893N/A sha256:02352221ea268f8ae9aae5b84507f51eba2a67c0f7d2efd5cc88e85f1f394056
101N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
1258N/A
101N/Ainclude ../../../make-rules/prep.mk
2899N/Ainclude ../../../make-rules/configure.mk
2899N/Ainclude ../../../make-rules/ips.mk
101N/A
101N/AAPACHE_USR_PREFIX=/usr/apache2/2.2
101N/A
101N/AAPXS.32= $(APACHE_USR_PREFIX)/bin/apxs
2282N/AAPXS.64= $(APACHE_USR_PREFIX)/bin/$(MACH64)/apxs
2282N/A
2282N/ACONFIGURE_OPTIONS += LTFLAGS="--silent --tag=CC"
101N/ACONFIGURE_OPTIONS += --with-apxs=$(APXS.$(BITS))
181N/ACONFIGURE_OPTIONS += --with-apr=`$(APXS.$(BITS)) -q APR_CONFIG`
101N/ACONFIGURE_OPTIONS += --with-apu=`$(APXS.$(BITS)) -q APU_CONFIG`
101N/A
2282N/A# Need to get right version of C compiler and GNU sed first.
101N/APATH=$(SPRO_VROOT)/bin:/usr/gnu/bin:/usr/bin
2282N/A
3477N/A# Some patches need configure script re-creation.
3477N/ACOMPONENT_PREP_ACTION = (cd $(@D)/apache2; autoconf)
2282N/A
181N/ACONFIGURE_SCRIPT = $(SOURCE_DIR)/apache2/configure
2282N/A
2282N/A# Header files are missing during build without cloning.
2282N/ACOMPONENT_PRE_BUILD_ACTION += ($(CLONEY) $(SOURCE_DIR)/apache2 $(@D));
101N/A
101N/Abuild: $(BUILD_32_and_64)
101N/A
101N/Atest: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../../make-rules/depend.mk