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 
  15 include $(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 difinition was moved to usr/src/Makefile.master
  20 
  21 PERL_ARCH = i86pc-solaris-64int
  22 $(SPARC_BLD)PERL_ARCH = sun4-solaris-64int
  23 
  24 PERLDIR = $(ADJUNCT_PROTO)/usr/perl5/$(PERL_VERSION)
  25 PERLLIBDIR = $(PERLDIR)/lib/$(PERL_ARCH)
  26 PERLINCDIR = $(PERLLIBDIR)/CORE
  27 
  28 PERLMOD = $(MODULE).pm
  29 PERLEXT = $(MACH)/$(MODULE).so
  30 
  31 ROOTPERLDIR = $(ROOT)/usr/perl5/$(PERL_VERSION)
  32 ROOTPERLLIBDIR = $(ROOTPERLDIR)/lib/$(PERL_ARCH)
  33 ROOTPERLMODDIR = $(ROOTPERLLIBDIR)/Sun/Solaris
  34 ROOTPERLEXTDIR = $(ROOTPERLLIBDIR)/auto/Sun/Solaris/$(MODULE)
  35 
  36 ROOTPERLMOD = $(ROOTPERLMODDIR)/$(MODULE).pm
  37 ROOTPERLEXT = $(ROOTPERLEXTDIR)/$(MODULE).so
  38 
  39 C99MODE = $(C99_ENABLE)