Print this page
*** NO COMMENTS ***
*** 21,47 ****
#
#
# Copyright 1996, 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
#
PROG = revnetgroup
include ../../Makefile.cmd
OBJS = revnetgroup.o getgroup.o table.o util.o
SRCS = $(OBJS:.o=.c)
! HDRS = getgroup.h table.h util.h
.KEEP_STATE:
all: $(PROG)
! $(PROG): $(OBJS)
! $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTUSRSBINPROG)
clean:
--- 21,52 ----
#
#
# Copyright 1996, 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
#
PROG = revnetgroup
include ../../Makefile.cmd
OBJS = revnetgroup.o getgroup.o table.o util.o
SRCS = $(OBJS:.o=.c)
! HDRS = getgroup.h table.h util.h revnetgroup.h
+ OBJS_PROG = main.o
+ SRCS_PROG = $(OBJS_PROG:.o=.c)
+
.KEEP_STATE:
all: $(PROG)
! LDLIBS += -lrevnetgroup
!
! $(PROG): $(OBJS_PROG) $(HDRS)
! $(LINK.c) $(OBJS_PROG) -o $@ $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTUSRSBINPROG)
clean: