Files
xen/tools/xenstored/Makefile.common
T
Juergen Gross e199a30680 tools/xenstored: move all socket handling into posix.c
All of the socket handling is needed only when running as daemon.

Move it into posix.c, allowing to remove the NO_SOCKETS macro.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
2024-02-05 19:26:32 +00:00

26 lines
741 B
Makefile

# Makefile shared with stubdom
XENSTORED_OBJS-y := core.o watch.o domain.o
XENSTORED_OBJS-y += transaction.o control.o lu.o
XENSTORED_OBJS-y += talloc.o utils.o hashtable.o
XENSTORED_OBJS-$(CONFIG_Linux) += posix.o lu_daemon.o
XENSTORED_OBJS-$(CONFIG_NetBSD) += posix.o lu_daemon.o
XENSTORED_OBJS-$(CONFIG_FreeBSD) += posix.o lu_daemon.o
XENSTORED_OBJS-$(CONFIG_MiniOS) += minios.o lu_minios.o
# Include configure output (config.h)
CFLAGS += -include $(XEN_ROOT)/tools/config.h
CFLAGS += $(CFLAGS_libxenevtchn)
CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_libxenguest)
CFLAGS += $(CFLAGS_libxentoolcore)
$(XENSTORED_OBJS-y): CFLAGS += $(CFLAGS_libxengnttab)
xenstored.a: $(XENSTORED_OBJS-y)
$(AR) cr $@ $^
clean::
$(RM) *.a *.o