Makefile revision 278
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# CDDL HEADER START
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# The contents of this file are subject to the terms of the
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# Common Development and Distribution License (the "License").
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# You may not use this file except in compliance with the License.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# or http://www.opensolaris.org/os/licensing.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# See the License for the specific language governing permissions
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# and limitations under the License.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# When distributing Covered Code, include this CDDL HEADER in each
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# If applicable, add the following below this CDDL HEADER, with the
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# fields enclosed by brackets "[]" replaced with your own identifying
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# information: Portions Copyright [yyyy] [name of copyright owner]
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# CDDL HEADER END
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik#
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikinclude ../../../make-rules/shared-macros.mk
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_NAME= tomcat-connectors
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_VERSION= 1.2.28
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-src
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_ARCHIVE_HASH= sha1:0e022e242d88f4d42cbbfa42883d02e14ad16929
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikinclude ../../../make-rules/prep.mk
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikinclude ../../../make-rules/configure.mk
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikinclude ../../../make-rules/ips.mk
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikPATCH_LEVEL=0
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikAPACHE_USR_PREFIX=/usr/apache2/2.2
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCONFIGURE_SCRIPT = $(SOURCE_DIR)/native/configure
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# Forcing CC from environment instead. Using one provided by apxs doesn't
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# make mod_jk build.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCC=
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCONFIGURE_OPTIONS.32 += --with-apxs=$(APACHE_USR_PREFIX)/bin/apxs
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCONFIGURE_OPTIONS.64 += --with-apxs=$(APACHE_USR_PREFIX)/bin/$(MACH64)/apxs
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik# Header files are missing during build without cloning.
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR)/native $(@D));
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas SlebodnikPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnikbuild: $(BUILD_32_and_64)
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodnik
f28b09f887870c10c8c611beee3c17eaa9ef74f3Lukas Slebodniktest: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../../make-rules/depend.mk