Print this page
don't pass in lint libraries which no longer exist
*** 40,51 ****
# we don't want to lint the sources for OTHOBJS since they are pre-existing files
# that are not lint free.
lintcheck := SRCS = $(LIBSRCS)
LIBS = $(DYNLIB)
! LDLIBS += -lshare -lnsl -lscf -lumem -lc -lxml2
#add nfs/lib directory as part of the include path
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-variable
--- 40,54 ----
# we don't want to lint the sources for OTHOBJS since they are pre-existing files
# that are not lint free.
lintcheck := SRCS = $(LIBSRCS)
LIBS = $(DYNLIB)
! LDLIBS += -lshare -lnsl -lscf -lumem -lc
+ # 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-switch
CERRWARN += -_gcc=-Wno-unused-variable