mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-09 15:54:05 +00:00
This renames Config to config.mk and includes more Make input. Now configure generates all the required CFLAGS and LDLIBS for the optional libraries. Also, use pkg-config to test for libelf, rather than using a test program. This makes it consistent with other libraries. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
15 lines
260 B
Makefile
15 lines
260 B
Makefile
BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
|
|
|
|
include ../config.mk
|
|
|
|
all: bridge
|
|
|
|
bridge: $(BROBJ) $(LIBNETLINK)
|
|
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
|
|
|
|
install: all
|
|
install -m 0755 bridge $(DESTDIR)$(SBINDIR)
|
|
|
|
clean:
|
|
rm -f $(BROBJ) bridge
|