Don't explicitly link against libdl.
[sliver-openvswitch.git] / switch / Makefile.am
index eb9931b..a20188a 100644 (file)
@@ -1,6 +1,7 @@
 include ../Make.vars
 
 bin_PROGRAMS = switch
+man_MANS = switch.8
 
 switch_SOURCES = \
        chain.c \
@@ -9,14 +10,16 @@ switch_SOURCES = \
        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
+switch_LDADD = ../lib/libopenflow.la $(SSL_LIBS)
+
+EXTRA_DIST = switch.8.in
+DISTCLEANFILES = switch.8
+switch.8: switch.8.in Makefile
+       ($(do_subst) && $(ro_man)) < $(srcdir)/switch.8.in > switch.8