Makefile revision 618
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington#
816e576f77e2c46df3e3d97d65822aa8aded7c4bDavid Lawrence# CDDL HEADER START
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
b3651a8e87c12ea0428eeb5cf4b304be5bcd9db0Brian Wellington# The contents of this file are subject to the terms of the
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# Common Development and Distribution License (the "License").
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# You may not use this file except in compliance with the License.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# See the License for the specific language governing permissions
6f6fbed6eb4d755198a452e557eead49f215d54bAndreas Gustafsson# and limitations under the License.
6f6fbed6eb4d755198a452e557eead49f215d54bAndreas Gustafsson#
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson#
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson# CDDL HEADER END
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson#
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafssoninclude ../../../make-rules/shared-macros.mk
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson
77527513f94fe78413221a63fd6d383cec32bcafAndreas GustafssonCOMPONENT_NAME= tomcat-connectors
77527513f94fe78413221a63fd6d383cec32bcafAndreas GustafssonCOMPONENT_VERSION= 1.2.28
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas GustafssonCOMPONENT_PROJECT_URL= http://tomcat.apache.org/connectors-doc/
b3651a8e87c12ea0428eeb5cf4b304be5bcd9db0Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-src
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas GustafssonCOMPONENT_ARCHIVE_HASH= sha1:0e022e242d88f4d42cbbfa42883d02e14ad16929
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas GustafssonCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafssoninclude ../../../make-rules/prep.mk
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafssoninclude ../../../make-rules/configure.mk
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafssoninclude ../../../make-rules/ips.mk
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas GustafssonPATCH_LEVEL=0
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceAPACHE_USR_PREFIX=/usr/apache2/2.2
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas GustafssonCONFIGURE_SCRIPT = $(SOURCE_DIR)/native/configure
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson# Forcing CC from environment instead. Using one provided by apxs doesn't
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson# make mod_jk build.
d075bd326e34600c036c905eea6c80f565ea951fAndreas GustafssonCC=
d075bd326e34600c036c905eea6c80f565ea951fAndreas Gustafsson
d075bd326e34600c036c905eea6c80f565ea951fAndreas GustafssonCONFIGURE_OPTIONS.32 += --with-apxs=$(APACHE_USR_PREFIX)/bin/apxs
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas GustafssonCONFIGURE_OPTIONS.64 += --with-apxs=$(APACHE_USR_PREFIX)/bin/$(MACH64)/apxs
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson
b976f9c60a09f4a098852d0653ad5df6842557a7Andreas Gustafsson# Header files are missing during build without cloning.
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas GustafssonCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR)/native $(@D));
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas GustafssonPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafssonbuild: $(BUILD_32_and_64)
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafssontest: $(NO_TESTS)
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas GustafssonBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafssoninclude ../../../make-rules/depend.mk
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson