1 noinst_LIBRARIES += lib/libopenflow.a
3 lib_libopenflow_a_SOURCES = \
14 lib/learning-switch.c \
37 lib_libopenflow_a_SOURCES += \
44 lib_libopenflow_a_SOURCES += \
46 nodist_lib_libopenflow_a_SOURCES = lib/dhparams.c
47 lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem
48 (echo '#include "lib/dhparams.h"' && \
49 openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \
50 openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \
51 openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \
52 | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp
53 mv lib/dhparams.c.tmp lib/dhparams.c