Makefile revision 1727
c82da2167dcbd8300f0eaa81fb900c0b17e8f94cMark Andrews#
c82da2167dcbd8300f0eaa81fb900c0b17e8f94cMark Andrews# CDDL HEADER START
c82da2167dcbd8300f0eaa81fb900c0b17e8f94cMark Andrews#
384fef003441df4067b773688237700513390f9eEvan Hunt# The contents of this file are subject to the terms of the
384fef003441df4067b773688237700513390f9eEvan Hunt# Common Development and Distribution License (the "License").
06a05efc07ac7b6ff1973a6463291f5d48ece6ebMark Andrews# You may not use this file except in compliance with the License.
06a05efc07ac7b6ff1973a6463291f5d48ece6ebMark Andrews#
06a05efc07ac7b6ff1973a6463291f5d48ece6ebMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
06a05efc07ac7b6ff1973a6463291f5d48ece6ebMark Andrews# or http://www.opensolaris.org/os/licensing.
06a05efc07ac7b6ff1973a6463291f5d48ece6ebMark Andrews# See the License for the specific language governing permissions
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# and limitations under the License.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
a13aa526be16869d1284256fbb2136f4d50ed1d7Evan Hunt#
a13aa526be16869d1284256fbb2136f4d50ed1d7Evan Hunt# CDDL HEADER END
a13aa526be16869d1284256fbb2136f4d50ed1d7Evan Hunt#
a13aa526be16869d1284256fbb2136f4d50ed1d7Evan Hunt# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
741ebf10047c3e32e1a0691316ec45666f003583Evan Hunt#
741ebf10047c3e32e1a0691316ec45666f003583Evan Huntinclude ../../../make-rules/shared-macros.mk
741ebf10047c3e32e1a0691316ec45666f003583Evan Hunt
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_NAME= mod_fcgid
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_VERSION= 2.3.6
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_PROJECT_URL= http://httpd.apache.org/mod_fcgid/
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCOMPONENT_ARCHIVE_HASH= \
4eb998928b9aef0ceda42d7529980d658138698aEvan Hunt sha256:e831795498d91cf27a519ea1332c2a92a2a9920b0844d817b2ea7f079056d12b
feb067b25a8e33db62e2a7bf2e83bbb7f6eee845Evan HuntCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/httpd/mod_fcgid/$(COMPONENT_ARCHIVE)
feb067b25a8e33db62e2a7bf2e83bbb7f6eee845Evan HuntCOMPONENT_BUGDB= utility/apache
feb067b25a8e33db62e2a7bf2e83bbb7f6eee845Evan Hunt
feb067b25a8e33db62e2a7bf2e83bbb7f6eee845Evan Huntinclude ../../../make-rules/prep.mk
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntinclude ../../../make-rules/justmake.mk
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntinclude ../../../make-rules/ips.mk
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntPATCH_LEVEL=0
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt
21a7fde6ba34c62f4859a4c19de4f49ec1bab474Evan HuntAPACHE_USR_PREFIX=/usr/apache2/2.2
21a7fde6ba34c62f4859a4c19de4f49ec1bab474Evan Hunt
21a7fde6ba34c62f4859a4c19de4f49ec1bab474Evan Hunt$(BUILD_DIR_32)/.built: APXS=$(APACHE_USR_PREFIX)/bin/apxs
aababae79572d8c80fcec9b809671987007451c9Mark Andrews$(BUILD_DIR_64)/.built: APXS=$(APACHE_USR_PREFIX)/bin/$(MACH64)/apxs
aababae79572d8c80fcec9b809671987007451c9Mark Andrews
3a0da183bb40bd120698102b20b61ef12665c09bMark AndrewsCOMPONENT_PRE_BUILD_ACTION= ( cd $(@D); APXS=$(APXS) ./configure.apxs )
3a0da183bb40bd120698102b20b61ef12665c09bMark Andrews
3a0da183bb40bd120698102b20b61ef12665c09bMark AndrewsPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
c1e88f8d8679501def1896fb4c4af927a70813ebEvan Hunt
c1e88f8d8679501def1896fb4c4af927a70813ebEvan Huntbuild: $(BUILD_32_and_64)
c1e88f8d8679501def1896fb4c4af927a70813ebEvan Hunt
c1e88f8d8679501def1896fb4c4af927a70813ebEvan Huntinstall: $(INSTALL_32_and_64)
af21fc66447083a01e41e533fe9737ffcf21cc2dMark Andrews
af21fc66447083a01e41e533fe9737ffcf21cc2dMark Andrewstest: $(NO_TESTS)
af21fc66447083a01e41e533fe9737ffcf21cc2dMark Andrews
af21fc66447083a01e41e533fe9737ffcf21cc2dMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
af21fc66447083a01e41e533fe9737ffcf21cc2dMark Andrews
e7b9603ead84761813fd4598303b8e969ab4d7acMark Andrewsinclude ../../../make-rules/depend.mk
e7b9603ead84761813fd4598303b8e969ab4d7acMark Andrews