mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
675b9b5368
Use the "system" libslirp if its present or requested. Else build with a static libslirp.a if slirp/ is checked out ("internal") or a submodule ("git"). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190212162524.31504-7-marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
common-obj-y = net.o queue.o checksum.o util.o hub.o
|
|
common-obj-y += socket.o
|
|
common-obj-y += dump.o
|
|
common-obj-y += eth.o
|
|
common-obj-y += announce.o
|
|
common-obj-$(CONFIG_L2TPV3) += l2tpv3.o
|
|
common-obj-$(call land,$(CONFIG_VIRTIO_NET),$(CONFIG_VHOST_NET_USER)) += vhost-user.o
|
|
common-obj-$(call land,$(call lnot,$(CONFIG_VIRTIO_NET)),$(CONFIG_VHOST_NET_USER)) += vhost-user-stub.o
|
|
common-obj-$(CONFIG_ALL) += vhost-user-stub.o
|
|
common-obj-$(CONFIG_SLIRP) += slirp.o
|
|
slirp.o-cflags := $(SLIRP_CFLAGS)
|
|
slirp.o-libs := $(SLIRP_LIBS)
|
|
common-obj-$(CONFIG_VDE) += vde.o
|
|
common-obj-$(CONFIG_NETMAP) += netmap.o
|
|
common-obj-y += filter.o
|
|
common-obj-y += filter-buffer.o
|
|
common-obj-y += filter-mirror.o
|
|
common-obj-y += colo-compare.o
|
|
common-obj-y += colo.o
|
|
common-obj-y += filter-rewriter.o
|
|
common-obj-y += filter-replay.o
|
|
|
|
tap-obj-$(CONFIG_LINUX) = tap-linux.o
|
|
tap-obj-$(CONFIG_BSD) = tap-bsd.o
|
|
tap-obj-$(CONFIG_SOLARIS) = tap-solaris.o
|
|
tap-obj-y ?= tap-stub.o
|
|
common-obj-$(CONFIG_POSIX) += tap.o $(tap-obj-y)
|
|
common-obj-$(CONFIG_WIN32) += tap-win32.o
|
|
|
|
vde.o-libs = $(VDE_LIBS)
|
|
|
|
common-obj-$(CONFIG_CAN_BUS) += can/
|