Blame vdpa/Makefile

Packit Bot 867fae
# SPDX-License-Identifier: GPL-2.0
Packit Bot 867fae
include ../config.mk
Packit Bot 867fae
Packit Bot 867fae
TARGETS :=
Packit Bot 867fae
Packit Bot 867fae
ifeq ($(HAVE_MNL),y)
Packit Bot 867fae
Packit Bot 867fae
CFLAGS += -I./include/uapi/
Packit Bot 867fae
VDPAOBJ = vdpa.o
Packit Bot 867fae
TARGETS += vdpa
Packit Bot 867fae
Packit Bot 867fae
endif
Packit Bot 867fae
Packit Bot 867fae
all: $(TARGETS) $(LIBS)
Packit Bot 867fae
Packit Bot 867fae
vdpa: $(VDPAOBJ)
Packit Bot 867fae
	$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
Packit Bot 867fae
Packit Bot 867fae
install: all
Packit Bot 867fae
	for i in $(TARGETS); \
Packit Bot 867fae
	do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
Packit Bot 867fae
	done
Packit Bot 867fae
Packit Bot 867fae
clean:
Packit Bot 867fae
	rm -f $(VDPAOBJ) $(TARGETS)