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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/isns/isnsd/Makefile
          +++ new/usr/src/cmd/isns/isnsd/Makefile
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61  CERRWARN += -_gcc=-Wno-char-subscripts
  62   62  CERRWARN += -_gcc=-Wno-ignored-qualifiers
  63   63  CERRWARN += -_gcc=-Wno-uninitialized
  64   64  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  65   65  
  66   66  CLOBBERFILES += $(DTRACE_HEADER)
  67   67  
  68   68  obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  69   69  obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  70   70  
  71      -LDLIBS          += -lsecdb -lsocket -lnsl -lscf -lxml2
       71 +LDLIBS          += -lsecdb -lsocket -lnsl -lscf
       72 +
       73 +# libxml2 has no lint library, so we can only include this while building
       74 +$(PROG) := LDLIBS += -lxml2
  72   75  
  73   76  .KEEP_STATE:
  74   77  
  75   78  all:    $(PROG)
  76   79  
  77   80  $(PROG): $(OBJS)
  78   81          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  79   82          $(POST_PROCESS)
  80   83  
  81   84  %.h: %.d
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX