]> git.proxmox.com Git - mirror_iproute2.git/blame - devlink/Makefile
tc simple action: bug fix
[mirror_iproute2.git] / devlink / Makefile
CommitLineData
a3c4b484
JP
1include ../Config
2ifeq ($(HAVE_MNL),y)
3
4DEVLINKOBJ = devlink.o mnlg.o
5TARGETS=devlink
6
7CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
8LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
9
10endif
11
12all: $(TARGETS) $(LIBS)
13
14devlink: $(DEVLINKOBJ)
15
16install: all
17 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
18
19clean:
20 rm -f $(DEVLINKOBJ) $(TARGETS)