This keeps vlogconf, in particular, from being linked against OpenSSL,
which in turn keeps the Debian package build tools from complaining that
the openflow-common package shouldn't need to depend on OpenSSL but does
because of the spurious library link.
# -*- makefile -*-
AM_CPPFLAGS = $(SSL_CFLAGS)
-LIBS = $(SSL_LIBS)
COMMON_FLAGS = -DVERSION=\"$(VERSION)\"
if NDEBUG
DISTCLEANFILES = controller.8
controller_SOURCES = controller.c
-controller_LDADD = ../lib/libopenflow.la -ldl
+controller_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
EXTRA_DIST = controller.8.in
controller.8: controller.8.in Makefile
endif
secchan_SOURCES = secchan.c
-secchan_LDADD = ../lib/libopenflow.la -ldl
+secchan_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
EXTRA_DIST = secchan.8.in
DISTCLEANFILES = secchan.8
table-hash.c \
table-linear.c
-switch_LDADD = ../lib/libopenflow.la -ldl
+switch_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
EXTRA_DIST = switch.8.in
DISTCLEANFILES = switch.8
man_MANS = ofp-pki.8
dpctl_SOURCES = dpctl.c
-dpctl_LDADD = ../lib/libopenflow.la
+dpctl_LDADD = ../lib/libopenflow.la $(SSL_LIBS)
vlogconf_SOURCES = vlogconf.c
vlogconf_LDADD = ../lib/libopenflow.la