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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshare/smbfs/Makefile.com
          +++ new/usr/src/lib/libshare/smbfs/Makefile.com
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31  OBJECTS =       $(LIBOBJS) $(SMBBASE_OBJ)
  32   32  
  33   33  include ../../../Makefile.lib
  34   34  
  35   35  ROOTLIBDIR =    $(ROOT)/usr/lib/fs/smbfs
  36   36  ROOTLIBDIR64 =  $(ROOT)/usr/lib/fs/smbfs/$(MACH64)
  37   37  
  38   38  LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
  39   39  
  40   40  LIBS =          $(DYNLIB)
  41      -LDLIBS +=       -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs
       41 +LDLIBS +=       -lshare -lscf -lumem -luuid -lc -lsmbfs
       42 +
       43 +# libxml2 has no lint library, so we can only use it when building
       44 +$(DYNLIB) := LDLIBS += -lxml2
  42   45  
  43   46  CFLAGS +=       $(CCVERBOSE)
  44   47  CERRWARN +=     -_gcc=-Wno-switch
  45   48  CERRWARN +=     -_gcc=-Wno-uninitialized
  46   49  CPPFLAGS +=     -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  47   50                  -I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common
  48   51  
  49   52  .KEEP_STATE:
  50   53  
  51   54  all: $(LIBS)
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX