Print this page
7661 illumos should provide 64bit perl modules
   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 # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.

  14 #
  15 
  16 include $(SRC)/lib/Makefile.lib
  17 
  18 # PERL_VERSION and PERL_ARCH used to be set here,
  19 # but as they were also needed in usr/src/pkg/Makefile,
  20 # the definition was moved to usr/src/Makefile.master
  21 
  22 PERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
  23 PERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
  24 PERLINCDIR = $(PERLLIBDIR)/CORE


  25 
  26 PERLMOD = $(MODULE).pm
  27 PERLEXT = $(MACH)/$(MODULE).so

  28 
  29 ROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
  30 ROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
  31 ROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
  32 ROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)



  33 
  34 ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
  35 ROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so


  36 






  37 C99MODE = $(C99_ENABLE)



   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 2015, OmniTI Computer Consulting, Inc. All rights reserved.
  13 # Copyright 2016 RackTop Systems.
  14 #
  15 
  16 include $(SRC)/lib/Makefile.lib
  17 
  18 # PERL_VERSION and PERL_ARCH used to be set here,
  19 # but as they were also needed in usr/src/pkg/Makefile,
  20 # the definition was moved to usr/src/Makefile.master
  21 
  22 PERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
  23 PERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
  24 PERLINCDIR = $(PERLLIBDIR)/CORE
  25 PERLLIBDIR64 = $(PERLDIR)/lib/$(PERL_ARCH64)
  26 PERLINCDIR64 = $(PERLLIBDIR64)/CORE
  27 
  28 PERLMOD = $(MODULE).pm
  29 PERLEXT = $(MACH)/$(MODULE).so
  30 PERLEXT64 = $(MACH64)/$(MODULE).so
  31 
  32 ROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
  33 ROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
  34 ROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
  35 ROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)
  36 ROOTPERLLIBDIR64 = $(ROOTPERLDIR)/lib/$(PERL_ARCH64)
  37 ROOTPERLMODDIR64 = $(ROOTPERLLIBDIR64)/Sun/Solaris
  38 ROOTPERLEXTDIR64 = $(ROOTPERLLIBDIR64)/auto/Sun/Solaris/$(MODULE)
  39 
  40 ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
  41 ROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so
  42 ROOTPERLMOD64 = $(ROOTPERLMODDIR64)/$(MODULE).pm
  43 ROOTPERLEXT64 = $(ROOTPERLEXTDIR64)/$(MODULE).so
  44 
  45 XSUBPP = $(PERLDIR)/bin/$(MACH)/perl $(PERLDIR)/lib/ExtUtils/xsubpp \
  46         -typemap $(PERLDIR)/lib/ExtUtils/typemap
  47 
  48 XSUBPP64 = $(PERLDIR)/bin/$(MACH64)/perl $(PERLDIR)/lib/ExtUtils/xsubpp \
  49         -typemap $(PERLDIR)/lib/ExtUtils/typemap
  50 
  51 C99MODE = $(C99_ENABLE)
  52 
  53 32BIT_PERL = $(ENABLE_32BIT_PERL)
  54 64BIT_PERL = $(ENABLE_64BIT_PERL)