Print this page
Add libuserdefs and use in cmd/{oamuser,passwd}

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/user/Makefile
          +++ new/usr/src/cmd/oamuser/user/Makefile
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83  $(USERADD) :=   OBJS = $(ADD_OBJ)
  84   84  $(USERADD) :=   LIBS = $(LIBUSRGRP)
  85   85  $(USERADD) :=   LDLIBS += -lcmdutils
  86   86  
  87   87  $(USERDEL) :=   OBJS = $(DEL_OBJ)
  88   88  $(USERDEL) :=   LIBS = $(LIBUSRGRP)
  89   89  
  90   90  $(USERMOD) :=   OBJS = $(MOD_OBJ)
  91   91  $(USERMOD) :=   LIBS = $(LIBUSRGRP)
  92   92  
  93      -LDLIBS +=       -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
       93 +LDLIBS +=       -luserdefs -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
  94   94  
  95   95  .PARALLEL: $(OBJECTS)
  96   96  
  97   97  all:    $(PRODUCT)
  98   98  
  99   99  $(PROG):        $$(OBJS) $$(LIBS)
 100  100          $(LINK.c) $(OBJS) -o $@ $(LIBS) $(LDLIBS)
 101  101          $(POST_PROCESS)
 102  102  
 103  103  $(USERADD):     $(ADD_OBJ)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX