Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/volrmmount/Makefile
          +++ new/usr/src/cmd/volrmmount/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  RMVOLMGR_OBJS = rmm_common.o vold.o
  29   29  OBJS =          $(LOCAL_OBJS) $(RMVOLMGR_OBJS)
  30   30  LOCAL_SRCS =    $(LOCAL_OBJS:%.o=%.c)
  31   31  RMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
  32   32  SRCS =          $(LOCAL_SRCS) $(RMVOLMGR_SRCS)
  33   33  
  34   34  include $(SRC)/cmd/Makefile.cmd
  35   35  include $(SRC)/cmd/hal/Makefile.hal
  36   36  
  37   37  LDLIBS +=       -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
       38 +ADJUNCT_LIBS =  libdbus-1.so libdbus-glib-1.so libglib-2.0.so
  38   39  
  39   40  CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
  40   41  CPPFLAGS +=     -I$(ROOT)/usr/include/hal
  41   42  CPPFLAGS +=     -I$(SRC)/cmd/rmvolmgr
  42   43  CSTD =  $(CSTD_GNU99)
  43   44  
  44   45  CERRWARN +=     -_gcc=-Wno-switch
  45   46  CERRWARN +=     -_gcc=-Wno-unused-variable
  46   47  CERRWARN +=     -_gcc=-Wno-parentheses
  47   48  CERRWARN +=     -_gcc=-Wno-uninitialized
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX