include ../Make.vars
bin_PROGRAMS = switch
+man_MANS = switch.8
switch_SOURCES = \
chain.c \
crc32.h \
datapath.c \
datapath.h \
- netdev.c \
- netdev.h \
switch.c \
switch-flow.c \
switch-flow.h \
table.h \
table-hash.c \
- table-linear.c \
- table-mac.c
+ table-linear.c
switch_LDADD = ../lib/libopenflow.la -ldl
+
+EXTRA_DIST = switch.8.in
+DISTCLEANFILES = switch.8
+switch.8: switch.8.in Makefile
+ ($(do_subst) && $(ro_man)) < $(srcdir)/switch.8.in > switch.8