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/rmmount/Makefile
          +++ new/usr/src/cmd/rmmount/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  LOCAL_OBJS =    rmmount.o
  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      -LDLIBS +=       -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
       37 +LDLIBS +=       -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage \
       38 +                    -lcontract
       39 +ADJUNCT_LIBS =  libdbus-1.so libdbus-glib-1.so libglib-2.0.so
  38   40  
  39   41  CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
  40   42  CPPFLAGS +=     -I$(ROOT)/usr/include/hal
  41   43  CPPFLAGS +=     -I$(SRC)/cmd/rmvolmgr
  42   44  CSTD =  $(CSTD_GNU99)
  43   45  
  44   46  CERRWARN += -_gcc=-Wno-switch
  45   47  CERRWARN += -_gcc=-Wno-unused-variable
  46   48  CERRWARN += -_gcc=-Wno-parentheses
  47   49  CERRWARN += -_gcc=-Wno-unused-function
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX