xref: /titanic_41/usr/src/cmd/perl/Makefile.perl (revision 6f50fd49e4193eb492ee57765cfd016ebd4dce60)
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.
13*6f50fd49SDan McDonald# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
14fbe82215SAndy Stormont#
15fbe82215SAndy Stormont
16fbe82215SAndy Stormontinclude $(SRC)/lib/Makefile.lib
17fbe82215SAndy Stormont
18*6f50fd49SDan McDonald# PERL_VERSION and PERL_ARCH used to be set here,
19*6f50fd49SDan McDonald# but as they were also needed in usr/src/pkg/Makefile,
20f32c5d24SAlexander Pyhalov# the definition was moved to usr/src/Makefile.master
21fbe82215SAndy Stormont
22fbe82215SAndy StormontPERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
23fbe82215SAndy StormontPERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
24fbe82215SAndy StormontPERLINCDIR = $(PERLLIBDIR)/CORE
25fbe82215SAndy Stormont
26fbe82215SAndy StormontPERLMOD = $(MODULE).pm
27fbe82215SAndy StormontPERLEXT = $(MACH)/$(MODULE).so
28fbe82215SAndy Stormont
29fbe82215SAndy StormontROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
30fbe82215SAndy StormontROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
31fbe82215SAndy StormontROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
32fbe82215SAndy StormontROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)
33fbe82215SAndy Stormont
34fbe82215SAndy StormontROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
35fbe82215SAndy StormontROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so
36ab7bbeb4SRichard Lowe
37ab7bbeb4SRichard LoweC99MODE = $(C99_ENABLE)
38