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


  45                 media.o \
  46                 partition.o \
  47                 path.o \
  48                 slice.o
  49 
  50 include ../../Makefile.lib
  51 
  52 LIBS =          $(DYNLIB) $(LINTLIB)
  53 i386_LDLIBS =   -lfdisk
  54 sparc_LDLIBS =
  55 LDLIBS +=       -ldevinfo -ladm -ldevid -lkstat -lsysevent \
  56                 -lnvpair -lefi -lc $($(MACH)_LDLIBS)
  57 DYNFLAGS +=     -R/opt/VRTSvxvm/lib
  58 
  59 SRCDIR =        ../common
  60 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  61 
  62 CFLAGS +=       $(CCVERBOSE)
  63 CERRWARN +=     -_gcc=-Wno-switch
  64 CERRWARN +=     -_gcc=-Wno-parentheses
  65 CERRWARN +=     -_gcc=-Wno-uninitialized
  66 CPPFLAGS +=     -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 .KEEP_STATE:
  72 
  73 all: $(LIBS)
  74 
  75 lint: lintcheck
  76 
  77 include ../../Makefile.targ


  45                 media.o \
  46                 partition.o \
  47                 path.o \
  48                 slice.o
  49 
  50 include ../../Makefile.lib
  51 
  52 LIBS =          $(DYNLIB) $(LINTLIB)
  53 i386_LDLIBS =   -lfdisk
  54 sparc_LDLIBS =
  55 LDLIBS +=       -ldevinfo -ladm -ldevid -lkstat -lsysevent \
  56                 -lnvpair -lefi -lc $($(MACH)_LDLIBS)
  57 DYNFLAGS +=     -R/opt/VRTSvxvm/lib
  58 
  59 SRCDIR =        ../common
  60 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  61 
  62 CFLAGS +=       $(CCVERBOSE)
  63 CERRWARN +=     -_gcc=-Wno-switch
  64 CERRWARN +=     -_gcc=-Wno-parentheses
  65 CERRWARN +=     $(CNOWARN_UNINIT)
  66 CPPFLAGS +=     -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 .KEEP_STATE:
  72 
  73 all: $(LIBS)
  74 
  75 lint: lintcheck
  76 
  77 include ../../Makefile.targ