Print this page
Add libuserdefs and use in cmd/{oamuser,passwd}
*** 53,69 ****
CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
FILEMODE= 0555
$(GROUPADD) := OBJS = $(ADD_OBJ)
! $(GROUPADD) := LDLIBS += $(LIBUSRGRP) -lcmdutils
$(GROUPDEL) := OBJS = $(DEL_OBJ)
$(GROUPDEL) := LDLIBS += $(LIBUSRGRP)
$(GROUPMOD) := OBJS = $(MOD_OBJ)
! $(GROUPMOD) := LDLIBS += $(LIBUSRGRP)
all: $(PROG)
$(PROG): $$(OBJS) $(LIBUSRGRP)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
--- 53,69 ----
CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
FILEMODE= 0555
$(GROUPADD) := OBJS = $(ADD_OBJ)
! $(GROUPADD) := LDLIBS += $(LIBUSRGRP) -luserdefs -lcmdutils
$(GROUPDEL) := OBJS = $(DEL_OBJ)
$(GROUPDEL) := LDLIBS += $(LIBUSRGRP)
$(GROUPMOD) := OBJS = $(MOD_OBJ)
! $(GROUPMOD) := LDLIBS += $(LIBUSRGRP) -luserdefs
all: $(PROG)
$(PROG): $$(OBJS) $(LIBUSRGRP)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)