Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  37         dict.o
  38 
  39 include ../../Makefile.lib
  40 
  41 # Adding -lxml2 to LDLIBS would cause lint to complain as there is no .ln file
  42 # for libxml2, so add it to DYNFLAGS
  43 DYNFLAGS +=     -lxml2
  44 
  45 LIBS =          $(DYNLIB) $(LINTLIB)
  46 LDLIBS +=       -lscf -lnvpair -lexacct -lc
  47 
  48 SRCDIR =        ../common
  49 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  50 
  51 CFLAGS +=       $(CCVERBOSE)
  52 CPPFLAGS +=     -D_REENTRANT -D_FILE_OFFSET_BITS=64 \
  53                 -I$(ADJUNCT_PROTO)/usr/include/libxml2
  54 
  55 CERRWARN +=     -_gcc=-Wno-parentheses
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     -_gcc=-Wno-uninitialized
  58 
  59 # not linted
  60 SMATCH=off
  61 
  62 .KEEP_STATE:
  63 
  64 all: $(LIBS)
  65 
  66 lint: lintcheck
  67 
  68 include ../../Makefile.targ


  37         dict.o
  38 
  39 include ../../Makefile.lib
  40 
  41 # Adding -lxml2 to LDLIBS would cause lint to complain as there is no .ln file
  42 # for libxml2, so add it to DYNFLAGS
  43 DYNFLAGS +=     -lxml2
  44 
  45 LIBS =          $(DYNLIB) $(LINTLIB)
  46 LDLIBS +=       -lscf -lnvpair -lexacct -lc
  47 
  48 SRCDIR =        ../common
  49 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  50 
  51 CFLAGS +=       $(CCVERBOSE)
  52 CPPFLAGS +=     -D_REENTRANT -D_FILE_OFFSET_BITS=64 \
  53                 -I$(ADJUNCT_PROTO)/usr/include/libxml2
  54 
  55 CERRWARN +=     -_gcc=-Wno-parentheses
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     $(CNOWARN_UNINIT)
  58 
  59 # not linted
  60 SMATCH=off
  61 
  62 .KEEP_STATE:
  63 
  64 all: $(LIBS)
  65 
  66 lint: lintcheck
  67 
  68 include ../../Makefile.targ