xref: /titanic_41/usr/src/cmd/perl/Makefile.perl (revision 94d6fe9b460bdc8977e93d09e20d68df1fa3a69a)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11#
12# Copyright (c) 2014 Racktop Systems.
13#
14
15include $(SRC)/lib/Makefile.lib
16
17# PERL_VERSION used to be set here,
18# but as it is also needed in usr/src/pkg/Makefile,
19# the definition was moved to usr/src/Makefile.master
20
21PERL_ARCH = i86pc-solaris-64int
22$(SPARC_BLD)PERL_ARCH = sun4-solaris-64int
23
24PERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
25PERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
26PERLINCDIR = $(PERLLIBDIR)/CORE
27
28PERLMOD = $(MODULE).pm
29PERLEXT = $(MACH)/$(MODULE).so
30
31ROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
32ROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
33ROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
34ROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)
35
36ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
37ROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so
38
39C99MODE = $(C99_ENABLE)
40