Print this page
More linty cleanup
gag lint errors that stem from lint libraries that the omnios build system does not build

*** 20,31 **** # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # - # ident "%Z%%M% %I% %E% SMI" - # PROG= fiocompress SBINLINKS= $(PROG) --- 20,29 ----
*** 34,52 **** include ../Makefile.com .KEEP_STATE: ! LDLIBS += -lz CFLAGS += -I../../../uts/common LINTFLAGS += -I../../../uts/common # definitions for lint # until libz is compiled against ON header files (uid/gid) LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2 all: $(PROG) $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) --- 32,52 ---- include ../Makefile.com .KEEP_STATE: ! # There's no lint library for zlib, so only include this when building ! $(PROG) := LDLIBS += -lz CFLAGS += -I../../../uts/common LINTFLAGS += -I../../../uts/common # definitions for lint # until libz is compiled against ON header files (uid/gid) LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2 + LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2 all: $(PROG) $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS)