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 * Makes all installed headers part 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. Amit Bose (1): lib: Avoid using C++ keywords as variable names Rob Adams (1): lib: Add support for pkgconfig for libopenvswitch Thomas Graf (9): lib: Correctly pass collected AM_LDFLAGS to linker lib: Document --enable-shared configure switch lib: Convert include/ to a automake sub directory lib: Use #include <.*> in public headers lib: 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 header files in Fedora package AUTHORS | 2 + INSTALL.md | 5 +++ Makefile.am | 8 +++- build-aux/check-structs | 2 +- configure.ac | 5 +++ include/.gitignore | 1 + include/Makefile.am | 19 +++++++++ include/automake.mk | 8 +--- include/openflow/automake.mk | 87 ++++++++++++++++++-------------------- include/openflow/nicira-ext.h | 4 +- include/openflow/openflow-1.0.h | 2 +- include/openflow/openflow-1.1.h | 2 +- include/openflow/openflow-1.2.h | 2 +- include/openflow/openflow-1.3.h | 2 +- include/openflow/openflow-1.4.h | 2 +- include/openflow/openflow-1.5.h | 2 +- include/openflow/openflow-common.h | 2 +- include/openflow/openflow.h | 12 +++--- include/openvswitch/automake.mk | 4 +- include/sparse/automake.mk | 18 ++++---- include/windows/automake.mk | 54 +++++++++++------------ lib/.gitignore | 2 + lib/automake.mk | 10 ++++- lib/dynamic-string.h | 4 +- lib/libopenvswitch.pc.in | 11 +++++ lib/libsflow.pc.in | 11 +++++ ofproto/.gitignore | 1 + ofproto/automake.mk | 5 ++- ofproto/libofproto.pc.in | 11 +++++ ovsdb/.gitignore | 1 + ovsdb/automake.mk | 6 ++- ovsdb/libovsdb.pc.in | 11 +++++ rhel/openvswitch-fedora.spec.in | 1 + rhel/openvswitch.spec.in | 1 + 34 files changed, 205 insertions(+), 113 deletions(-) create mode 100644 include/Makefile.am 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 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev