Skip to content

Commit

Permalink
11654 libipmi/Makefile.com has an invalid and unused variable substit…
Browse files Browse the repository at this point in the history
…ution

Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>
  • Loading branch information
richlowe committed Sep 8, 2019
1 parent d8109ce commit 793ac99
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions usr/src/lib/libipmi/Makefile.com
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,24 @@ OBJECTS= ipmi_bmc.o \
ipmi_util.o \
libipmi.o

SRCS= $(OBJECTS:%.o:$(SRCDIR)/%c.)

include ../../Makefile.lib

LIBS= $(DYNLIB) $(LINTLIB)
LIBS= $(DYNLIB)

SRCDIR= ../common

CLEANFILES += $(SRCDIR)/ipmi_tables.c
CLEANFILES += $(SRCDIR)/ipmi_tables.c
INCS += -I$(SRCDIR)
LDLIBS += -lc -lm -lnvpair -lsocket -lnsl
CPPFLAGS += $(INCS)
CSTD = $(CSTD_GNU99)

CERRWARN += $(CNOWARN_UNINIT)

$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)

.KEEP_STATE:

all: $(LIBS)

lint: lintcheck

$(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h
sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@

Expand Down

0 comments on commit 793ac99

Please sign in to comment.