Print this page
10079 smatch Makefile changes for usr/src/lib


  55 
  56 LIBS=   $(DYNLIB) $(LINTLIB)
  57 
  58 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  59 
  60 LDLIBS  +=      $(BERDERLIB) $(CRYPTOUTILLIB) -lmd -lpkcs11 -lnsl -lsocket -lc
  61 LDLIBS  +=      -lcustr
  62 
  63 # DYNLIB libraries do not have lint libs and are not linted
  64 $(DYNLIB) :=    LDLIBS += -lxml2
  65 $(DYNLIB64) :=  LDLIBS64 += -lxml2
  66 
  67 CPPFLAGS        +=      -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  68                         -I../../ber_der/inc -I$(SRCDIR)
  69 
  70 CERRWARN        +=      -_gcc=-Wno-parentheses
  71 CERRWARN        +=      -_gcc=-Wno-switch
  72 CERRWARN        +=      -_gcc=-Wno-type-limits
  73 CERRWARN        +=      -_gcc=-Wno-uninitialized
  74 



  75 .KEEP_STATE:
  76 
  77 all:    $(LIBS)
  78 
  79 lint:   lintcheck
  80 
  81 include $(SRC)/lib/Makefile.targ


  55 
  56 LIBS=   $(DYNLIB) $(LINTLIB)
  57 
  58 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  59 
  60 LDLIBS  +=      $(BERDERLIB) $(CRYPTOUTILLIB) -lmd -lpkcs11 -lnsl -lsocket -lc
  61 LDLIBS  +=      -lcustr
  62 
  63 # DYNLIB libraries do not have lint libs and are not linted
  64 $(DYNLIB) :=    LDLIBS += -lxml2
  65 $(DYNLIB64) :=  LDLIBS64 += -lxml2
  66 
  67 CPPFLAGS        +=      -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  68                         -I../../ber_der/inc -I$(SRCDIR)
  69 
  70 CERRWARN        +=      -_gcc=-Wno-parentheses
  71 CERRWARN        +=      -_gcc=-Wno-switch
  72 CERRWARN        +=      -_gcc=-Wno-type-limits
  73 CERRWARN        +=      -_gcc=-Wno-uninitialized
  74 
  75 # not linted
  76 SMATCH=off
  77 
  78 .KEEP_STATE:
  79 
  80 all:    $(LIBS)
  81 
  82 lint:   lintcheck
  83 
  84 include $(SRC)/lib/Makefile.targ