Print this page
6117 Many small bugs prevent a clean build on SPARC

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/pkcs11_tpm/Makefile.com
          +++ new/usr/src/lib/pkcs11/pkcs11_tpm/Makefile.com
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 +# Copyright 2015 Gary Mills
  21   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   23  # Use is subject to license terms.
  23   24  #
  24   25  LIBRARY =       pkcs11_tpm.a
  25   26  VERS =          .1
  26   27  
  27   28  OBJECTS= api_interface.o \
  28   29          apiutil.o \
  29   30          asn1.o \
  30   31          cert.o \
↓ open down ↓ 29 lines elided ↑ open up ↑
  60   61  
  61   62  #       set signing mode
  62   63  POST_PROCESS_SO +=      ; $(ELFSIGN_CRYPTO)
  63   64  
  64   65  ROOTLIBDIR=$(ROOT)/usr/lib/security
  65   66  ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
  66   67  
  67   68  LIBS=$(DYNLIB) $(DYNLIB64)
  68   69  
  69   70  TSSROOT=$(ADJUNCT_PROTO)
  70      -TSPILIBDIR=$(TSSROOT)/usr/lib
  71   71  TSPIINCDIR=$(TSSROOT)/usr/include
  72      -TSSLIB=-L$(TSPILIBDIR)
  73      -TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  74   72  TSSINC=-I$(TSPIINCDIR)
  75   73  
  76      -LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lcrypto
       74 +LDLIBS += -lc -luuid -lmd -ltspi -lcrypto
  77   75  CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  78   76  CPPFLAGS64 += $(CPPFLAGS)
  79   77  C99MODE=        $(C99_ENABLE)
  80   78  
  81   79  CERRWARN +=     -_gcc=-Wno-parentheses
  82   80  CERRWARN +=     -_gcc=-Wno-unused-label
  83   81  CERRWARN +=     -_gcc=-Wno-uninitialized
  84   82  
  85   83  LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  86   84  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX