Break MAC learning out of controller into library.
[sliver-openvswitch.git] / lib / Makefile.am
index 58b9b9e..3f59439 100644 (file)
@@ -11,7 +11,12 @@ libopenflow_la_SOURCES = \
        flow.c \
        hash.c \
        list.c \
+       mac-learning.c \
+       netdev.c \
        ofp-print.c \
+       poll-loop.c \
+       queue.c \
+       rconn.c \
        socket-util.c \
        util.c \
        vconn-tcp.c \
@@ -28,12 +33,15 @@ endif
 
 if HAVE_OPENSSL
 libopenflow_la_SOURCES += \
-       vconn-ssl.c \
-       dhparams.c
-dhparams.c: dh2048.pem dh4096.pem
+       vconn-ssl.c 
+nodist_libopenflow_la_SOURCES = dhparams.c
+dhparams.c: dh1024.pem dh2048.pem dh4096.pem
        (echo '#include "dhparams.h"' &&                        \
+        openssl dhparam -C -in $(srcdir)/dh1024.pem -noout &&  \
         openssl dhparam -C -in $(srcdir)/dh2048.pem -noout &&  \
         openssl dhparam -C -in $(srcdir)/dh4096.pem -noout)    \
        | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > dhparams.c.tmp
        mv dhparams.c.tmp dhparams.c
 endif
+
+EXTRA_DIST = dh1024.pem dh2048.pem dh4096.pem dhparams.h