git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: Compile Linux-specific files based on __linux__ macro.
[sliver-openvswitch.git]
/
lib
/
automake.mk
diff --git
a/lib/automake.mk
b/lib/automake.mk
index
ac6ff4a
..
476421c
100644
(file)
--- a/
lib/automake.mk
+++ b/
lib/automake.mk
@@
-1,4
+1,4
@@
-# Copyright (C) 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
+# Copyright (C) 2009, 2010, 2011, 2012, 2013
, 2014
Nicira, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
@@
-40,7
+40,6
@@
lib_libopenvswitch_la_SOURCES = \
lib/crc32c.h \
lib/csum.c \
lib/csum.h \
lib/crc32c.h \
lib/csum.c \
lib/csum.h \
- lib/daemon.c \
lib/daemon.h \
lib/dhcp.h \
lib/dummy.c \
lib/daemon.h \
lib/dhcp.h \
lib/dummy.c \
@@
-57,6
+56,8
@@
lib_libopenvswitch_la_SOURCES = \
lib/dynamic-string.h \
lib/entropy.c \
lib/entropy.h \
lib/dynamic-string.h \
lib/entropy.c \
lib/entropy.h \
+ lib/fat-rwlock.c \
+ lib/fat-rwlock.h \
lib/fatal-signal.c \
lib/fatal-signal.h \
lib/flow.c \
lib/fatal-signal.c \
lib/fatal-signal.h \
lib/flow.c \
@@
-79,7
+80,6
@@
lib_libopenvswitch_la_SOURCES = \
lib/jsonrpc.h \
lib/lacp.c \
lib/lacp.h \
lib/jsonrpc.h \
lib/lacp.c \
lib/lacp.h \
- lib/latch.c \
lib/latch.h \
lib/learn.c \
lib/learn.h \
lib/latch.h \
lib/learn.c \
lib/learn.h \
@@
-176,8
+176,6
@@
lib_libopenvswitch_la_SOURCES = \
lib/shash.h \
lib/simap.c \
lib/simap.h \
lib/shash.h \
lib/simap.c \
lib/simap.h \
- lib/signals.c \
- lib/signals.h \
lib/smap.c \
lib/smap.h \
lib/socket-util.c \
lib/smap.c \
lib/smap.h \
lib/socket-util.c \
@@
-188,12
+186,10
@@
lib_libopenvswitch_la_SOURCES = \
lib/sset.h \
lib/stp.c \
lib/stp.h \
lib/sset.h \
lib/stp.c \
lib/stp.h \
- lib/stream-fd.c \
lib/stream-fd.h \
lib/stream-provider.h \
lib/stream-ssl.h \
lib/stream-tcp.c \
lib/stream-fd.h \
lib/stream-provider.h \
lib/stream-ssl.h \
lib/stream-tcp.c \
- lib/stream-unix.c \
lib/stream.c \
lib/stream.h \
lib/stdio.c \
lib/stream.c \
lib/stream.h \
lib/stdio.c \
@@
-235,6
+231,23
@@
lib_libopenvswitch_la_SOURCES = \
lib/vswitch-idl.h \
lib/vtep-idl.c \
lib/vtep-idl.h
lib/vswitch-idl.h \
lib/vtep-idl.c \
lib/vtep-idl.h
+
+if WIN32
+lib_libopenvswitch_la_SOURCES += \
+ lib/daemon-windows.c \
+ lib/getopt_long.c \
+ lib/latch-windows.c \
+ lib/stream-fd-windows.c
+else
+lib_libopenvswitch_la_SOURCES += \
+ lib/daemon.c \
+ lib/latch-unix.c \
+ lib/signals.c \
+ lib/signals.h \
+ lib/stream-fd-unix.c \
+ lib/stream-unix.c
+endif
+
EXTRA_DIST += \
lib/stdio.h.in \
lib/string.h.in
EXTRA_DIST += \
lib/stdio.h.in \
lib/string.h.in
@@
-261,7
+274,7
@@
if HAVE_WNO_UNUSED_PARAMETER
lib_libsflow_la_CFLAGS += -Wno-unused-parameter
endif
lib_libsflow_la_CFLAGS += -Wno-unused-parameter
endif
-if LINUX
_DATAPATH
+if LINUX
lib_libopenvswitch_la_SOURCES += \
lib/dpif-linux.c \
lib/dpif-linux.h \
lib_libopenvswitch_la_SOURCES += \
lib/dpif-linux.c \
lib/dpif-linux.h \
@@
-326,6
+339,8
@@
MAN_FRAGMENTS += \
lib/memory-unixctl.man \
lib/ofp-version.man \
lib/ovs.tmac \
lib/memory-unixctl.man \
lib/ofp-version.man \
lib/ovs.tmac \
+ lib/service.man \
+ lib/service-syn.man \
lib/ssl-bootstrap.man \
lib/ssl-bootstrap-syn.man \
lib/ssl-peer-ca-cert.man \
lib/ssl-bootstrap.man \
lib/ssl-bootstrap-syn.man \
lib/ssl-peer-ca-cert.man \