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/dfs.cmds/sharemgr/Makefile.com
          +++ new/usr/src/cmd/dfs.cmds/sharemgr/Makefile.com
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  OBJS    = sharemgr_main.o commands.o shareutil.o
  36   36  SRCS    = $(OBJS:%.o=../%.c)
  37   37  
  38   38  MYCPPFLAGS = -I../../../../lib/libfsmgt/common \
  39   39          -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  40   40                  -I../..
  41   41  CPPFLAGS += $(MYCPPFLAGS)
  42   42  LDLIBS += -lshare -lscf -lsecdb -lumem
  43   43  all install := LDLIBS += -lxml2
       44 +all install := ADJUNCT_LIBS = libxml2.so
  44   45  LINTFLAGS       += -u
  45   46  
  46   47  CERRWARN        += -_gcc=-Wno-uninitialized
  47   48  
  48   49  POFILES = $(SRCS:.c=.po)
  49   50  POFILE  = sharemgr.po
  50   51  
  51   52  LN_ISAEXEC= \
  52   53          $(RM) $(ROOTUSRSBINPROG); \
  53   54          $(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX