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
|
||
|
common-obj-$(CONFIG_VHOST_NET_VDPA) += vhost-vdpa.o
|
||
|
vde.o-libs = $(VDE_LIBS)
|
||
|
|
||
|
common-obj-$(CONFIG_CAN_BUS) += can/
|