added vde_over_ns and plugin to automake and dist
[vde.git] / vde-2 / Makefile.am
blobc7fc2fd02109c5efda1837d9573d5263e4759895
1 SUBDIRS = libvdeplug qemu slirpvde bochs uml doc dpipe wirefilter unixterm vde_plug vde_plug2tap vde_over_ns plugin
4 if WANT_TUNTAP
5 if CAN_MAKE_LIBVDETAP
6   SUBDIRS += vdetaplib
7 endif
8 endif
10 if ENABLE_CRYPTCAB
11   SUBDIRS += vde_cryptcab
12 endif
14 AUTOMAKE_OPTIONS = foreign
16 EXTRA_DIST = LICENSE VERSION
18 bin_PROGRAMS = vde_switch
19 vde_switch_SOURCES = \
20         hash.c \
21         hash.h \
22         port.c \
23         port.h \
24         vde_switch.c \
25         switch.h \
26         vde.h \
27         sockutils.c \
28         sockutils.h \
29         qtimer.c \
30         qtimer.h \
31         datasock.c \
32         datasock.h \
33         consmgmt.c \
34         consmgmt.h \
35         fstp.c \
36         fstp.h \
37         packetq.c \
38         packetq.h \
39         bitarray.h
40 if WANT_TUNTAP
41   vde_switch_SOURCES += tuntap.c tuntap.h
42 endif
44 if HAVE_BROKEN_POLL
45   vde_switch_SOURCES += poll2select.c poll2select.h
46 endif
48 AM_CFLAGS = -Wall
50 if ENABLE_EXPERIMENTAL
51   AM_CFLAGS += -rdynamic
52   AM_CPPFLAGS = -DDEBUGOPT -DPORTCOUNTERS -DVDEPLUGIN
53 endif
55 extraclean: distclean
56         rm -rf aclocal.m4 autom4te.cache autoscan.log configure.scan config.h.in* configure depcomp install-sh Makefile.in config.guess config.sub ltmain.sh missing `find . -name Makefile.in` vde-*.tar.gz