Makefile revision 3817
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../../../make-rules/shared-macros.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_NAME= mod_perl
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_VERSION= 2.0.4
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_PROJECT_URL= http://perl.apache.org/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_HASH= \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin sha256:7da2046aa65dbef64ff5b71400bed4b6b82441e6313c8ca4becb85fb4a89a0f0
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_BUGDB= utility/apache
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTPNO= 8896
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCONFIGURE_DEFAULT_DIRS=no
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(WS_MAKE_RULES)/prep.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(WS_MAKE_RULES)/justmake.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(WS_MAKE_RULES)/ips.mk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAPACHE_USR_PREFIX=/usr/apache2/2.2
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAP_PERL5LIB=$(APACHE_USR_PREFIX)/lib/perl
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAP_PERL5BIN=$(APACHE_USR_PREFIX)/bin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPERLMAN=$(APACHE_USR_PREFIX)/man
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_PRE_BUILD_ACTION= ( \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin cd $(@D); $(PERL) Makefile.PL \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLDIRS=perl \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLSITELIB=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLARCHLIB=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLSITEARCH=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLPRIVLIB=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin SITEARCHEXP=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin SITELIBEXP=$(AP_PERL5LIB) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLMAN1DIR=$(PERLMAN)/man1 \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLMAN3DIR=$(PERLMAN)/man3 \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin INSTALLSCRIPT=$(AP_PERL5BIN) \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin MP_APXS=$(APACHE_USR_PREFIX)/bin/apxs)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_TEST_TARGETS= test
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinifeq ($(strip $(PARFAIT_BUILD)),yes)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulknerendif
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(TEST_32)
REQUIRED_PACKAGES += library/apr-15
REQUIRED_PACKAGES += library/apr-util-15
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/linker
REQUIRED_PACKAGES += web/server/apache-22