Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
include ../../../Makefile.cmd
# Extra arguments needed to fool MakeMaker into building in the distrib tree.
# All SMI perl libraries should be prefixed with this.
# Add any XS extensions here.
PERL_DYNAMIC_EXT = \
$(SUN_SOLARIS)/Utils \
$(SUN_SOLARIS)/Kstat \
$(SUN_SOLARIS)/Project \
$(SUN_SOLARIS)/Task \
$(SUN_SOLARIS)/Exacct \
$(SUN_SOLARIS)/Privilege \
$(SUN_SOLARIS)/Ucred
# Add any pure-perl extensions here.
PERL_NONXS_EXT = \
$(SUN_SOLARIS)/BSM \
PERL_EXT_MAKEFILES = $(PERL_EXT:%=%/Makefile)
#
# copy_contrib copies the clearfiles from ../../contrib to here.
#
#
# Note: this is a dummy install target; during 'make all' this Makefile
# into the proto area.
#
-@ $(PERL_MM_ENV); \
if [ -d $$ext ]; then \
( \
cd $$ext; pwd; \
[ -f Makefile.old ] && mf=Makefile.old; \
) \
fi \
done
-@ $(PERL_MM_ENV); \
if [ -d $$ext ]; then \
( \
cd $$ext; pwd; \
[ -f Makefile.old ] && mf=Makefile.old; \
); \
fi \
done
test: all
-@ $(PERL_MM_ENV); \
( \
cd $$ext; pwd; \
[ -f Makefile.old ] && mf=Makefile.old; \
) \
done
# Pattern-matching rule for Makefiles.
# Pattern-matching rule for extensions.
#
# Additional rule to make sure changes to the ::Exacct sub-module Makefile.PL
# files results in the parent Makefile.PL being rerun.
#
FRC: