# SPDX-License-Identifier: GPL-2.0 include ../config.mk TARGETS := ifeq ($(HAVE_MNL),y) DCBOBJ = dcb.o dcb_buffer.o dcb_ets.o dcb_maxrate.o dcb_pfc.o TARGETS += dcb endif all: $(TARGETS) $(LIBS) dcb: $(DCBOBJ) $(LIBNETLINK) $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@ install: all for i in $(TARGETS); \ do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \ done clean: rm -f $(DCBOBJ) $(TARGETS)