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

@@ -16,10 +16,11 @@
 # fields enclosed by brackets "[]" replaced with your own identifying
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
+# Copyright 2015 Gary Mills
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 LIBRARY =       pkcs11_tpm.a
 VERS =          .1

@@ -65,17 +66,14 @@
 ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
 
 LIBS=$(DYNLIB) $(DYNLIB64)
 
 TSSROOT=$(ADJUNCT_PROTO)
-TSPILIBDIR=$(TSSROOT)/usr/lib
 TSPIINCDIR=$(TSSROOT)/usr/include
-TSSLIB=-L$(TSPILIBDIR)
-TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
 TSSINC=-I$(TSPIINCDIR)
 
-LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lcrypto
+LDLIBS += -lc -luuid -lmd -ltspi -lcrypto
 CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
 CPPFLAGS64 += $(CPPFLAGS)
 C99MODE=        $(C99_ENABLE)
 
 CERRWARN +=     -_gcc=-Wno-parentheses