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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libpcp/Makefile.com
          +++ new/usr/src/lib/libpcp/Makefile.com
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  
  41   41  LINKED_DIRS     = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
  42   42  LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
  43   43  LINKED_LIBPCP_DIR       = \
  44   44          $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so)
  45   45  LINKED_LIBPCP1_DIR      = \
  46   46          $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so.1)
  47   47  
  48   48  LIBS = $(DYNLIB) $(LINTLIB)
  49   49  CFLAGS +=       $(CCVERBOSE)
  50      -CERRWARN +=     -_gcc=-Wno-uninitialized
       50 +CERRWARN +=     $(CNOWARN_UNINIT)
  51   51  LDLIBS +=       -lc -lumem -ldevinfo
  52   52  PLATLIBS =      $(USR_PLAT_DIR)/$(PLATFORM)/lib
  53   53  INS.slink6=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so.1 $@
  54   54  INS.slink7=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so $@
  55   55  
  56   56  .KEEP_STATE:
  57   57  
  58   58  #
  59   59  # build/lint rules
  60   60  #
  61   61  all:    $(LIBS)
  62   62  
  63   63  lint:   lintcheck
  64   64  
  65   65  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX