Make the format of vlog messages user-configurable.
[sliver-openvswitch.git] / lib / automake.mk
1 noinst_LIBRARIES += lib/libopenflow.a
2
3 lib_libopenflow_a_SOURCES = \
4         lib/command-line.c \
5         lib/csum.c \
6         lib/daemon.c \
7         lib/dhcp-client.c \
8         lib/dhcp.c \
9         lib/dynamic-string.c \
10         lib/fatal-signal.c \
11         lib/fault.c \
12         lib/flow.c \
13         lib/hash.c \
14         lib/learning-switch.c \
15         lib/list.c \
16         lib/mac-learning.c \
17         lib/netdev.c \
18         lib/ofpbuf.c \
19         lib/ofp-print.c \
20         lib/poll-loop.c \
21         lib/port-array.c \
22         lib/queue.c \
23         lib/random.c \
24         lib/rconn.c \
25         lib/socket-util.c \
26         lib/timeval.c \
27         lib/stp.c \
28         lib/util.c \
29         lib/vconn-tcp.c \
30         lib/vconn-unix.c \
31         lib/vconn-stream.c \
32         lib/vconn.c \
33         lib/vlog-socket.c \
34         lib/vlog.c
35
36 if HAVE_NETLINK
37 lib_libopenflow_a_SOURCES += \
38         lib/dpif.c \
39         lib/netlink.c \
40         lib/vconn-netlink.c
41 endif
42
43 if HAVE_OPENSSL
44 lib_libopenflow_a_SOURCES += \
45         lib/vconn-ssl.c 
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
54 endif
55
56 EXTRA_DIST += \
57         lib/dh1024.pem \
58         lib/dh2048.pem \
59         lib/dh4096.pem \
60         lib/dhparams.h