1 noinst_LIBRARIES += lib/libopenvswitch.a
3 lib_libopenvswitch_a_SOURCES = \
17 lib/coverage-counters.h \
28 lib/dynamic-string.c \
29 lib/dynamic-string.h \
42 lib/learning-switch.c \
43 lib/learning-switch.h \
94 lib/vconn-provider.h \
102 lib/vlog-modules.def \
106 nodist_lib_libopenvswitch_a_SOURCES = \
107 lib/coverage-counters.c \
109 CLEANFILES += $(nodist_lib_libopenvswitch_a_SOURCES)
112 lib_libopenvswitch_a_SOURCES += \
115 lib/netlink-protocol.h \
121 lib_libopenvswitch_a_SOURCES += \
123 nodist_lib_libopenvswitch_a_SOURCES += lib/dhparams.c
124 lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem
125 (echo '#include "lib/dhparams.h"' && \
126 openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \
127 openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \
128 openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \
129 | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp
130 mv lib/dhparams.c.tmp lib/dhparams.c
143 lib/leak-checker.man \
149 echo 'const char ovs_pkgdatadir[] = "$(pkgdatadir)";' && \
150 echo 'const char ovs_rundir[] = "@RUNDIR@";' && \
151 echo 'const char ovs_logdir[] = "@LOGDIR@";' && \
152 echo 'const char ovs_bindir[] = "$(bindir)";') > lib/dirs.c.tmp
153 mv lib/dirs.c.tmp lib/dirs.c
156 $(MKDIR_P) $(DESTDIR)$(RUNDIR)
157 $(MKDIR_P) $(DESTDIR)$(PKIDIR)
158 $(MKDIR_P) $(DESTDIR)$(LOGDIR)
160 # All the source files that have coverage counters.
181 vswitchd/ovs-brcompatd.c
182 lib/coverage-counters.c: $(COVERAGE_FILES) lib/coverage-scan.pl
183 (cd $(srcdir) && $(PERL) lib/coverage-scan.pl $(COVERAGE_FILES)) > $@.tmp
185 EXTRA_DIST += lib/coverage-scan.pl