Fix lib/dhparams.c build failure fallout from earlier build system changes.
authorBen Pfaff <blp@nicira.com>
Fri, 17 Oct 2008 16:52:37 +0000 (09:52 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 17 Oct 2008 16:52:37 +0000 (09:52 -0700)
lib/automake.mk

index 119fb61a891cb6a03a3d1efb1e6f0d5899de5b5b..ee8eb348d0a51ea52ade630ac988084eac6dda34 100644 (file)
@@ -45,10 +45,10 @@ lib_libopenflow_a_SOURCES += \
        lib/vconn-ssl.c 
 nodist_lib_libopenflow_a_SOURCES = lib/dhparams.c
 lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/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)    \
+       (echo '#include "lib/dhparams.h"' &&                            \
+        openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout &&      \
+        openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout &&      \
+        openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout)        \
        | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp
        mv lib/dhparams.c.tmp lib/dhparams.c
 endif