3 noinst_LIBRARIES = libopenflow.a
5 libopenflow_a_SOURCES = \
38 libopenflow_a_SOURCES += \
45 libopenflow_a_SOURCES += \
47 nodist_libopenflow_a_SOURCES = dhparams.c
48 dhparams.c: dh1024.pem dh2048.pem dh4096.pem
49 (echo '#include "dhparams.h"' && \
50 openssl dhparam -C -in $(srcdir)/dh1024.pem -noout && \
51 openssl dhparam -C -in $(srcdir)/dh2048.pem -noout && \
52 openssl dhparam -C -in $(srcdir)/dh4096.pem -noout) \
53 | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > dhparams.c.tmp
54 mv dhparams.c.tmp dhparams.c
57 EXTRA_DIST = dh1024.pem dh2048.pem dh4096.pem dhparams.h