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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/stmsboot/Makefile
          +++ new/usr/src/cmd/stmsboot/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  OBJS = $(STMSBOOT_UTIL).o
  34   34  SRCS = $(OBJS:%.o=%.c)
  35   35  
  36   36  POFILES = $(SRCS:.c=.po) $(SHFILES:%=%.po)
  37   37  POFILE = pstmsboot.po
  38   38  CLOBBERFILES = $(SHFILES) $(STMSBOOT_UTIL) $(POFILE) $(OBJS)
  39   39  ROOTFSLIB_MPXIO = $(ROOT)/lib/mpxio
  40   40  
  41   41  ROOTMANIFESTDIR = $(ROOTSVCSYSTEMDEVICE)
  42   42  LDLIBS += -ldevinfo -ldevid -lnvpair -lumem
  43      -CERRWARN += -_gcc=-Wno-uninitialized
       43 +CERRWARN += $(CNOWARN_UNINIT)
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(STMSBOOT_UTIL) $(SHFILES)
  48   48  
  49   49  install: all                                    \
  50   50          $(ROOTFSLIB_MPXIO)                      \
  51   51          $(ROOTFSLIB_MPXIO)/$(STMSBOOT_UTIL)     \
  52   52          $(ROOTMANIFEST)                         \
  53   53          $(ROOTSVCMETHOD)                        \
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX