Print this page
don't pass in lint libraries which no longer exist

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 ↓ 66 lines elided ↑ open up ↑
  67   67  LIBS=$(DYNLIB) $(DYNLIB64)
  68   68  
  69   69  TSSROOT=$(ADJUNCT_PROTO)
  70   70  TSPILIBDIR=$(TSSROOT)/usr/lib
  71   71  TSPIINCDIR=$(TSSROOT)/usr/include
  72   72  TSSLIB=-L$(TSPILIBDIR)
  73   73  TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  74   74  TSSINC=-I$(TSPIINCDIR)
  75   75  
  76   76  LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lcrypto
       77 +
       78 +# libtspi and libcrypto have no lint library, so we can only use it when
       79 +# building
       80 +$(LIBS) := LDLIBS += -ltspi -lcrypto
       81 +
  77   82  CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  78   83  CPPFLAGS64 += $(CPPFLAGS)
  79   84  C99MODE=        $(C99_ENABLE)
  80   85  
  81   86  CERRWARN +=     -_gcc=-Wno-parentheses
  82   87  CERRWARN +=     -_gcc=-Wno-unused-label
  83   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  84   89  
  85   90  LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  86   91  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX