Makefile revision 278
2035N/A#
2035N/A# CDDL HEADER START
2035N/A#
2035N/A# The contents of this file are subject to the terms of the
2035N/A# Common Development and Distribution License (the "License").
2035N/A# You may not use this file except in compliance with the License.
2035N/A#
2035N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2035N/A# or http://www.opensolaris.org/os/licensing.
2035N/A# See the License for the specific language governing permissions
2035N/A# and limitations under the License.
2035N/A#
2035N/A# When distributing Covered Code, include this CDDL HEADER in each
2035N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2035N/A# If applicable, add the following below this CDDL HEADER, with the
2035N/A# fields enclosed by brackets "[]" replaced with your own identifying
2035N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2035N/A#
2035N/A# CDDL HEADER END
2035N/A#
2035N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2035N/A#
2035N/Ainclude ../../../make-rules/shared-macros.mk
2035N/A
2035N/ACOMPONENT_NAME= mod_perl
2035N/ACOMPONENT_VERSION= 2.0.4
2035N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2035N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2035N/ACOMPONENT_ARCHIVE_HASH= sha1:65299a16ec414a690a48a2bbe63acaa3c6bb897b
2035N/ACOMPONENT_ARCHIVE_URL= http://perl.apache.org/dist/$(COMPONENT_ARCHIVE)
2035N/A
2035N/ACONFIGURE_DEFAULT_DIRS=no
2035N/A
2035N/Ainclude ../../../make-rules/prep.mk
2035N/Ainclude ../../../make-rules/justmake.mk
2035N/Ainclude ../../../make-rules/ips.mk
2035N/A
2035N/AAPACHE_USR_PREFIX=/usr/apache2/2.2
2035N/AAP_PERL5LIB=$(APACHE_USR_PREFIX)/lib/perl
2035N/AAP_PERL5BIN=$(APACHE_USR_PREFIX)/bin
2035N/APERLMAN=$(APACHE_USR_PREFIX)/man
2035N/A
2035N/ACOMPONENT_PRE_BUILD_ACTION= ( \
2035N/A cd $(@D); $(PERL) Makefile.PL \
2035N/A INSTALLDIRS=perl \
2035N/A INSTALLSITELIB=$(AP_PERL5LIB) \
2035N/A INSTALLARCHLIB=$(AP_PERL5LIB) \
2035N/A INSTALLSITEARCH=$(AP_PERL5LIB) \
2035N/A INSTALLPRIVLIB=$(AP_PERL5LIB) \
2035N/A SITEARCHEXP=$(AP_PERL5LIB) \
2035N/A SITELIBEXP=$(AP_PERL5LIB) \
2035N/A INSTALLMAN1DIR=$(PERLMAN)/man1 \
2035N/A INSTALLMAN3DIR=$(PERLMAN)/man3 \
2035N/A INSTALLSCRIPT=$(AP_PERL5BIN) \
2035N/A MP_APXS=$(APACHE_USR_PREFIX)/bin/apxs)
2035N/A
2035N/ACOMPONENT_TEST_TARGETS= test
2035N/A
2035N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
2035N/A
2035N/Abuild: $(BUILD_32)
2035N/A
2035N/Ainstall: $(INSTALL_32)
2035N/A
# Won't start (maybe because of mod_dtrace.so on system).
#test: $(TEST_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../../make-rules/depend.mk