Print this page
3328 smbutil view does't work with Win2008 and later
requires 1575 untangle libmlrpc ...

*** 21,49 **** # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # # cmd/fs.d/smbclnt/smbutil/Makefile # PROG= smbutil ! include $(SRC)/cmd/Makefile.cmd - OBJS= smbutil.o login.o lookup.o print.o status.o view.o - SRCS= $(OBJS:%.o=%.c) POFILE= smbutil_all.po POFILES= $(OBJS:%.o=%.po) CLOBBERFILES+= $(POFILE) $(POFILES) CSTD= $(CSTD_GNU99) ! LDLIBS += -lsmbfs -lnsl CPPFLAGS += -I$(SRC)/lib/libsmbfs \ -I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common # Debugging --- 21,55 ---- # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2013 Nexenta Systems, Inc. All rights reserved. + # # # cmd/fs.d/smbclnt/smbutil/Makefile # PROG= smbutil ! OBJS= smbutil.o info.o login.o lookup.o print.o status.o view.o \ ! shares_rap.o shares_rpc.o srvsvc1_clnt.o srvsvc1_ndr.o SRCS= $(OBJS:%.o=%.c) + + include $(SRC)/cmd/Makefile.cmd + POFILE= smbutil_all.po POFILES= $(OBJS:%.o=%.po) + + CLEANFILES += srvsvc1_ndr.c CLOBBERFILES+= $(POFILE) $(POFILES) CSTD= $(CSTD_GNU99) ! LDLIBS += -lmlrpc -lsmbfs -lnsl CPPFLAGS += -I$(SRC)/lib/libsmbfs \ -I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common # Debugging
*** 76,86 **** $(RM) $@ $(CAT) $(POFILES) > $@ lint: lint_SRCS ! clean : ! $(RM) $(OBJS) - .KEEP_STATE: - include ../../../Makefile.targ --- 82,95 ---- $(RM) $@ $(CAT) $(POFILES) > $@ lint: lint_SRCS ! clean: ! $(RM) $(OBJS) $(CLEANFILES) include ../../../Makefile.targ + + srvsvc1_ndr.c : srvsvc1.ndl + $(NDRGEN) -Y $(ANSI_CPP) $(CPPFLAGS) srvsvc1.ndl + + .KEEP_STATE: