blob: 441f3de665d95618a8aa8a5d012297c1bc5b7e0b [file] [log] [blame]
Andy Stormontc9f77c52014-01-29 20:53:24 +00001#
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.
Dan McDonald1f2ca512015-02-09 10:59:49 -050013# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
Andy Stormontc9f77c52014-01-29 20:53:24 +000014#
15
16include $(SRC)/lib/Makefile.lib
17
Dan McDonald1f2ca512015-02-09 10:59:49 -050018# PERL_VERSION and PERL_ARCH used to be set here,
19# but as they were also needed in usr/src/pkg/Makefile,
Alexander Pyhalov33392352014-06-05 10:24:33 +040020# the definition was moved to usr/src/Makefile.master
Andy Stormontc9f77c52014-01-29 20:53:24 +000021
Andy Stormontc9f77c52014-01-29 20:53:24 +000022PERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
23PERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
24PERLINCDIR = $(PERLLIBDIR)/CORE
25
26PERLMOD = $(MODULE).pm
27PERLEXT = $(MACH)/$(MODULE).so
28
29ROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
30ROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
31ROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
32ROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)
33
34ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
35ROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so
Richard Lowec7893122014-04-06 12:58:12 -040036
Yuri Pankovbd0ce622018-02-05 08:52:36 +030037CSTD = $(CSTD_GNU99)