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/hal/hald/Makefile
          +++ new/usr/src/cmd/hal/hald/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  OBJS_ALL =      $(OBJS) $(OBJS_SOL:%=solaris/%)
  36   36  SRCS =          $(OBJS:%.o=%.c)
  37   37  
  38   38  include ../../Makefile.cmd
  39   39  include ../Makefile.hal
  40   40  
  41   41  ROOTCMDDIR =    $(ROOTLIB_HAL)
  42   42  
  43   43  LDLIBS +=       -lc -lm -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lgobject-2.0 \
  44   44                  -ldevinfo -lsysevent -lnvpair -lkstat -lcfgadm
       45 +ADJUNCT_LIBS =  libdbus-1.so libdbus-glib-1.so libglib-2.0.so libgobject-2.0.so
       46 +
  45   47  
  46   48  all install $(PROG) :=  LDLIBS += -lexpat
       49 +all install $(PROG) :=  ADJUNCT_LIBS += libexpat.so
  47   50  
  48   51  CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
  49   52  CSTD =  $(CSTD_GNU99)
  50   53  
  51   54  CLOBBERFILES += hald_marshal.c hald_marshal.h
  52   55  
  53   56  all :=          TARGET= all
  54   57  install :=      TARGET= install
  55   58  clean :=        TARGET= clean
  56   59  clobber :=      TARGET= clobber
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX