Print this page
8699 Want NIC transceiver visibility (fix lint)

*** 39,48 **** --- 39,50 ---- PROGS = $(DIFF_PROGS) \ $(ERR_PROGS) \ libsff_strings + LINTS = $(PROGS:%=%.ln) + SCRIPTS = libsff include $(SRC)/cmd/Makefile.cmd include $(SRC)/test/Makefile.com
*** 58,76 **** # the same set, we'll get guidance errors from ld. # $(ERR_PROGS) := LDLIBS += -lsff $(DIFF_PROGS) := LDLIBS += -lsff -lnvpair libsff_strings := LDLIBS += -lsff -lnvpair all: $(PROGS) install: all $(CMDS) $(OUTFILES) ! lint: lint_SRCS clobber: clean ! -$(RM) $(PROGS) clean: $(CMDS): $(TESTDIR) $(PROG) --- 60,84 ---- # the same set, we'll get guidance errors from ld. # $(ERR_PROGS) := LDLIBS += -lsff $(DIFF_PROGS) := LDLIBS += -lsff -lnvpair libsff_strings := LDLIBS += -lsff -lnvpair + $(ERR_PROGS).ln := LDLIBS += -lsff + $(DIFF_PROGS).ln := LDLIBS += -lsff -lnvpair + libsff_strings.ln := LDLIBS += -lsff -lnvpair all: $(PROGS) install: all $(CMDS) $(OUTFILES) ! lint: $(LINTS) + %.ln: %.c + $(LINT.c) -erroff=E_NAME_USED_NOT_DEF2 $< $(LDLIBS) + clobber: clean ! -$(RM) $(PROGS) $(LINTS) clean: $(CMDS): $(TESTDIR) $(PROG)