Print this page
don't pass in lint libraries which no longer exist
gag lint errors that stem from lint libraries that the omnios build system does not build

*** 27,43 **** SRCS = cmdparse.c isnsadm.c isnsadm_msg.c OBJS = $(SRCS:%.c=%.o) include ../../Makefile.cmd ! LDLIBS += -lxml2 -lscf -lc CFLAGS += $(CCVERBOSE) CPPFLAGS += -I. -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I../isnsd POFILE = isnsadm_all.po POFILES = $(OBJS:%.o=%.po) LINTFLAGS += -xerroff=E_BAD_FORMAT_STR2 CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized .KEEP_STATE: --- 27,47 ---- SRCS = cmdparse.c isnsadm.c isnsadm_msg.c OBJS = $(SRCS:%.c=%.o) include ../../Makefile.cmd ! LDLIBS += -lscf -lc CFLAGS += $(CCVERBOSE) CPPFLAGS += -I. -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I../isnsd POFILE = isnsadm_all.po POFILES = $(OBJS:%.o=%.po) + # libxml2 has no lint library, so we can only include this while building + $(PROG) := LDLIBS += -lxml2 + LINTFLAGS += -xerroff=E_BAD_FORMAT_STR2 + LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2 CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized .KEEP_STATE: