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