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


  30 include ../../Makefile.lib
  31 
  32 LIBS +=         $(DYNLIB) $(LINTLIB)
  33 
  34 SRCDIR =        ../common
  35 
  36 BERDIR = $(SRC)/lib/libkmf/ber_der/inc
  37 
  38 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  39 LDLIBS +=       -ltecla -lsocket -lnsl -lc -lkmf -lkmfberder
  40 LAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
  41 lint := LAZYLIBS = -ltsol
  42 LDLIBS += $(LAZYLIBS)
  43 
  44 CFLAGS +=       $(CCVERBOSE)
  45 CPPFLAGS +=     -I$(SRCDIR) -I$(BERDIR)
  46 
  47 CERRWARN +=     -_gcc=-Wno-unused-function
  48 CERRWARN +=     -_gcc=-Wno-uninitialized
  49 


  50 .KEEP_STATE:
  51 
  52 all: $(LIBS)
  53 
  54 lint: lintcheck
  55 
  56 include ../../Makefile.targ


  30 include ../../Makefile.lib
  31 
  32 LIBS +=         $(DYNLIB) $(LINTLIB)
  33 
  34 SRCDIR =        ../common
  35 
  36 BERDIR = $(SRC)/lib/libkmf/ber_der/inc
  37 
  38 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  39 LDLIBS +=       -ltecla -lsocket -lnsl -lc -lkmf -lkmfberder
  40 LAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
  41 lint := LAZYLIBS = -ltsol
  42 LDLIBS += $(LAZYLIBS)
  43 
  44 CFLAGS +=       $(CCVERBOSE)
  45 CPPFLAGS +=     -I$(SRCDIR) -I$(BERDIR)
  46 
  47 CERRWARN +=     -_gcc=-Wno-unused-function
  48 CERRWARN +=     -_gcc=-Wno-uninitialized
  49 
  50 SMOFF += shift_to_zero
  51 
  52 .KEEP_STATE:
  53 
  54 all: $(LIBS)
  55 
  56 lint: lintcheck
  57 
  58 include ../../Makefile.targ