Print this page
don't pass in lint libraries which no longer exist
*** 35,47 ****
LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
# we don't want to lint the sharetab and nfs_sec files
lintcheck := SRCS = $(LIBSRCS)
LIBS = $(DYNLIB) $(LINTLIB)
! LDLIBS += -lc -lnsl -lscf -lzfs -luuid -lxml2 -lnvpair
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
#add nfs/lib directory as part of the include path
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
--- 35,50 ----
LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
# we don't want to lint the sharetab and nfs_sec files
lintcheck := SRCS = $(LIBSRCS)
LIBS = $(DYNLIB) $(LINTLIB)
! LDLIBS += -lc -lnsl -lscf -lzfs -luuid -lnvpair
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
+ # libxml2 has no lint library, so we can only use it when building
+ $(DYNLIB) := LDLIBS += -lxml2
+
#add nfs/lib directory as part of the include path
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch