]> git.proxmox.com Git - mirror_iproute2.git/blame - dcb/Makefile
ss: Make leading ":" always optional for sport and dport
[mirror_iproute2.git] / dcb / Makefile
CommitLineData
67033d1c
PM
1# SPDX-License-Identifier: GPL-2.0
2include ../config.mk
3
4TARGETS :=
5
6ifeq ($(HAVE_MNL),y)
7
8e9bed14
PM
8DCBOBJ = dcb.o \
9 dcb_app.o \
10 dcb_buffer.o \
89d11ea5 11 dcb_dcbx.o \
8e9bed14
PM
12 dcb_ets.o \
13 dcb_maxrate.o \
14 dcb_pfc.o
67033d1c
PM
15TARGETS += dcb
16
17endif
18
19all: $(TARGETS) $(LIBS)
20
21dcb: $(DCBOBJ) $(LIBNETLINK)
22 $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
23
24install: all
25 for i in $(TARGETS); \
26 do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
27 done
28
29clean:
30 rm -f $(DCBOBJ) $(TARGETS)