[ovs-dev] [PATCH 0/6 v2] lib: Prepare for exposure of additional header files
Thomas Graf
tgraf at noironetworks.com
Thu Nov 13 11:28:39 UTC 2014
v2 with the already merged patches omitted and comments addressed:
- Dropped convertion to automake subdir and use of prefix
header variable as per Ben's suggestion.
- Fixes trailing whitespace as spotted by Flavio.
- Removed redundant header install instructions in Fedora spec as
suggested by Flavio
- No longer expose include/openvswitch/lib and config.h in
openvswitch-devel Fedora package
Now that shared libraries can be built, the next step is to
prepare the build system to make headers installable and ease
linking with the help of pkg-config files.
This series:
* Provides pkg-config files for all libraries
* Static linking can be achieved with:
$ pkg-config libopenvswitch --libs --static
* Installs the already public headers in include/
* The openvswitch/ and openflow/ structure is preserved
* Fixup installed headers of the Fedora openvswitch-devel package
The library is still mostly unusable at this point without an OVS
source tree to acquire the headers. A next series will start exposing
existing APIs by moving some of the them to public headers.
Rob Adams (1):
lib: Add support for pkgconfig for libopenvswitch
Thomas Graf (5):
include: Install openflow/ and openvswitch/ headers
lib: Add support for pkgconfig for libofproto
lib: Add support for pkgconfig for libovsdb
lib: Add support for pkgconfig for libsflow
rhel: Include pkgconfig and update header install in Fedora/RHEL spec
AUTHORS | 1 +
Makefile.am | 2 ++
configure.ac | 4 ++++
include/openflow/automake.mk | 3 ++-
include/openvswitch/automake.mk | 3 ++-
lib/.gitignore | 2 ++
lib/automake.mk | 4 ++++
lib/libopenvswitch.pc.in | 11 +++++++++++
lib/libsflow.pc.in | 11 +++++++++++
ofproto/.gitignore | 1 +
ofproto/automake.mk | 2 ++
ofproto/libofproto.pc.in | 11 +++++++++++
ovsdb/.gitignore | 1 +
ovsdb/automake.mk | 3 +++
ovsdb/libovsdb.pc.in | 11 +++++++++++
rhel/openvswitch-fedora.spec.in | 15 +--------------
rhel/openvswitch.spec.in | 1 +
17 files changed, 70 insertions(+), 16 deletions(-)
create mode 100644 lib/libopenvswitch.pc.in
create mode 100644 lib/libsflow.pc.in
create mode 100644 ofproto/libofproto.pc.in
create mode 100644 ovsdb/libovsdb.pc.in
--
1.9.3
More information about the dev
mailing list