Print this page
7661 illumos should provide 64bit perl modules (for omni)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/Makefile.lib
          +++ new/usr/src/lib/Makefile.lib
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2015 Gary Mills
  22   22  # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  23   23  # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright (c) 2014, Joyent, Inc.
       25 +# Copyright 2016 RackTop Systems.
  25   26  #
  26   27  #
  27   28  # Definitions common to libraries.
  28   29  #
  29   30  # include global definitions; SRC should be defined in the shell.
  30   31  # SRC is needed until RFE 1026993 is implemented.
  31   32  
  32   33  include         $(SRC)/Makefile.master
  33   34  
  34   35  LORDER=         lorder
↓ open down ↓ 134 lines elided ↑ open up ↑
 169  170  .PARALLEL:      $(OBJS) $(PICS) DUMMY
 170  171  
 171  172  # default value for "portable" source
 172  173  SRCS=           $(OBJECTS:%.o=$(SRCDIR)/%.c)
 173  174  
 174  175  # default build of an archive and a shared object,
 175  176  # overridden locally when extra processing is needed
 176  177  BUILD.AR=       $(AR) $(ARFLAGS) $@ $(AROBJS)
 177  178  BUILD.SO=       $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
 178  179                  $(PICS) $(EXTPICS) $(USDT_PICS) $(LDLIBS)
      180 +BUILD64.SO=     $(CC64) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
      181 +                $(PICS) $(EXTPICS) $(USDT_PICS) -L $(ROOTLIBDIR64) $(LDLIBS)
 179  182  BUILDCCC.SO=    $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
 180  183                  $(PICS) $(EXTPICS) $(LDLIBS)
      184 +BUILDCCC64.SO=  $(CCC64) $(CCFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
      185 +                $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED64)
 181  186  
 182  187  # default dynamic library symlink
 183  188  INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 184  189  INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 185  190  
 186  191  # default 64-bit dynamic library symlink
 187  192  INS.liblink64=  -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 188  193  INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 189  194  
 190  195  #
↓ open down ↓ 84 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX