Print this page
4078 groupadd execs getent unnecessarily
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com>
*** 19,28 ****
--- 19,30 ----
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2013 RackTop Systems.
+ #
# cmd/oamuser/group/Makefile
#
include ../../Makefile.cmd
*** 32,42 ****
SBINPROG= $(GROUPADD) $(GROUPDEL) $(GROUPMOD)
PROG= $(SBINPROG)
! ADD_OBJ= groupadd.o add_group.o gid.o messages.o
DEL_OBJ= groupdel.o del_group.o messages.o
MOD_OBJ= groupmod.o mod_group.o messages.o
OBJECTS= $(ADD_OBJ) $(DEL_OBJ) $(MOD_OBJ)
SRCS= $(OBJECTS:.o=.c)
--- 34,44 ----
SBINPROG= $(GROUPADD) $(GROUPDEL) $(GROUPMOD)
PROG= $(SBINPROG)
! ADD_OBJ= groupadd.o add_group.o messages.o
DEL_OBJ= groupdel.o del_group.o messages.o
MOD_OBJ= groupmod.o mod_group.o messages.o
OBJECTS= $(ADD_OBJ) $(DEL_OBJ) $(MOD_OBJ)
SRCS= $(OBJECTS:.o=.c)
*** 48,62 ****
LINTFLAGS= -u
INSSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
- CERRWARN += -_gcc=-Wno-type-limits
FILEMODE= 0555
$(GROUPADD) := OBJS = $(ADD_OBJ)
! $(GROUPADD) := LDLIBS += $(LIBUSRGRP)
$(GROUPDEL) := OBJS = $(DEL_OBJ)
$(GROUPDEL) := LDLIBS += $(LIBUSRGRP)
$(GROUPMOD) := OBJS = $(MOD_OBJ)
--- 50,63 ----
LINTFLAGS= -u
INSSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
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)