xref: /onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Makefile.PL (revision 12639:884a64bb4385)
1172Sesolom#
2172Sesolom# CDDL HEADER START
3172Sesolom#
4172Sesolom# The contents of this file are subject to the terms of the
51277Salanbur# Common Development and Distribution License (the "License").
61277Salanbur# You may not use this file except in compliance with the License.
7172Sesolom#
8172Sesolom# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9172Sesolom# or http://www.opensolaris.org/os/licensing.
10172Sesolom# See the License for the specific language governing permissions
11172Sesolom# and limitations under the License.
12172Sesolom#
13172Sesolom# When distributing Covered Code, include this CDDL HEADER in each
14172Sesolom# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15172Sesolom# If applicable, add the following below this CDDL HEADER, with the
16172Sesolom# fields enclosed by brackets "[]" replaced with your own identifying
17172Sesolom# information: Portions Copyright [yyyy] [name of copyright owner]
18172Sesolom#
19172Sesolom# CDDL HEADER END
20172Sesolom#
21172Sesolom
22172Sesolom#
23*12639SJohn.Sonnenschein@Oracle.com# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
24172Sesolom#
25172Sesolom
268287SJohn.Sonnenschein@Sun.COMrequire 5.8.4;
27172Sesolomuse strict;
28172Sesolomuse warnings;
29172Sesolomuse ExtUtils::MakeMaker;
301277Salanbur
311277Salanbur#
321277Salanbur# This module uses non-shipping headers - if we ever want to put it on CPAN
331277Salanbur# this Makefile will need to change first - see one of the other contrib
341277Salanbur# Makefile.PL files for a template.
351277Salanbur#
361277Salanbur
37172SesolomWriteMakefile(
381277Salanbur    NAME		=> 'Sun::Solaris::Intrs',
391277Salanbur    VERSION_FROM	=> 'Intrs.pm',
401277Salanbur    DEFINE		=> exists($ENV{RELEASE_BUILD}) ? '-DNDEBUG' : '',
41*12639SJohn.Sonnenschein@Oracle.com
42*12639SJohn.Sonnenschein@Oracle.com    # ../../../../../../../uts/common can be removed when Perl leaves O/N
43*12639SJohn.Sonnenschein@Oracle.com
44*12639SJohn.Sonnenschein@Oracle.com    # ../../../../../../../uts/common refers to 5.8.4 building in 5.8.4/contrib
45*12639SJohn.Sonnenschein@Oracle.com    # whereas later versions build in $(VERSION)/
46*12639SJohn.Sonnenschein@Oracle.com
471277Salanbur    # Must be a relative path to avoid being interpreted as a proto area path.
48*12639SJohn.Sonnenschein@Oracle.com    INC			=> "-I../../../../../../../uts/common -I../../../../../../uts/common",
491277Salanbur    MAN3PODS		=> {},
50172Sesolom);
51