1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License, Version 1.0 only
1N/A# (the "License"). You may not use this file except in compliance
1N/A# with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/Ause ExtUtils::MakeMaker;
1N/A
1N/Amy $clean = {};
1N/A
1N/Aif (-f "Normalize.xs") {
1N/A print STDERR "Making header files for XS...\n";
1N/A
1N/A do "mkheader";
1N/A $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
1N/A}
1N/A
1N/AWriteMakefile(
1N/A 'INSTALLDIRS' => $] >= 5.007 ? 'perl' : 'site',
1N/A 'NAME' => 'Unicode::Normalize',
1N/A 'VERSION_FROM' => 'Normalize.pm', # finds $VERSION
1N/A 'clean' => $clean,
1N/A);