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


  33                 map.o       \
  34                 mpath.o
  35 
  36 
  37 include ../../../Makefile.lib
  38 include ../../../Makefile.rootfs
  39 
  40 LIBS =  $(DYNLIB) $(LINTLIB)
  41 
  42 SRCDIR = ../common
  43 
  44 LDLIBS += -lc -ldevinfo -ldevice -lnvpair -ldevid
  45 
  46 COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  47 COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  48 
  49 LINTFLAGS += $(COMMON_LINTFLAGS)
  50 LINTFLAGS64 += $(COMMON_LINTFLAGS)
  51 
  52 CERRWARN += -_gcc=-Wno-parentheses
  53 CERRWARN += -_gcc=-Wno-uninitialized
  54 
  55 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  56 
  57 .KEEP_STATE:
  58 
  59 all: $(LIBS)
  60 
  61 lint: lintcheck
  62 
  63 include  ../../../Makefile.targ


  33                 map.o       \
  34                 mpath.o
  35 
  36 
  37 include ../../../Makefile.lib
  38 include ../../../Makefile.rootfs
  39 
  40 LIBS =  $(DYNLIB) $(LINTLIB)
  41 
  42 SRCDIR = ../common
  43 
  44 LDLIBS += -lc -ldevinfo -ldevice -lnvpair -ldevid
  45 
  46 COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  47 COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  48 
  49 LINTFLAGS += $(COMMON_LINTFLAGS)
  50 LINTFLAGS64 += $(COMMON_LINTFLAGS)
  51 
  52 CERRWARN += -_gcc=-Wno-parentheses
  53 CERRWARN += $(CNOWARN_UNINIT)
  54 
  55 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  56 
  57 .KEEP_STATE:
  58 
  59 all: $(LIBS)
  60 
  61 lint: lintcheck
  62 
  63 include  ../../../Makefile.targ