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