From: Jan Heylen Date: Wed, 20 Apr 2016 05:31:25 +0000 (+0200) Subject: libevent_core and libevent_extra also deserve a pkgconfig file X-Git-Tag: release-2.1.6-beta~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8d7c6211a965c19c7c5de414135ff13b5fa2476;p=libevent libevent_core and libevent_extra also deserve a pkgconfig file --- diff --git a/Makefile.am b/Makefile.am index 3053cc01..10087523 100644 --- a/Makefile.am +++ b/Makefile.am @@ -93,7 +93,7 @@ dist_bin_SCRIPTS = event_rpcgen.py endif pkgconfigdir=$(libdir)/pkgconfig -LIBEVENT_PKGCONFIG=libevent.pc +LIBEVENT_PKGCONFIG=libevent.pc libevent_core.pc libevent_extra.pc # These sources are conditionally added by configure.ac or conditionally # included from other files. @@ -299,5 +299,5 @@ doxygen: FORCE doxygen $(srcdir)/Doxyfile FORCE: -DISTCLEANFILES += *~ libevent.pc ./include/event2/event-config.h +DISTCLEANFILES += *~ libevent.pc libevent_core.pc libevent_extra.pc ./include/event2/event-config.h diff --git a/configure.ac b/configure.ac index 52710b54..15cc47cb 100644 --- a/configure.ac +++ b/configure.ac @@ -915,5 +915,5 @@ AC_SUBST([LIBEVENT_GC_SECTIONS]) AM_CONDITIONAL([INSTALL_LIBEVENT], [test "$enable_libevent_install" = "yes"]) -AC_CONFIG_FILES( [libevent.pc libevent_openssl.pc libevent_pthreads.pc] ) +AC_CONFIG_FILES( [libevent.pc libevent_openssl.pc libevent_pthreads.pc libevent_core.pc libevent_extra.pc] ) AC_OUTPUT(Makefile) diff --git a/libevent_core.pc.in b/libevent_core.pc.in new file mode 100644 index 00000000..98ab1efe --- /dev/null +++ b/libevent_core.pc.in @@ -0,0 +1,16 @@ +#libevent pkg-config source file + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libevent_core +Description: libevent_core +Version: @VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -levent_core +Libs.private: @LIBS@ +Cflags: -I${includedir} + diff --git a/libevent_extra.pc.in b/libevent_extra.pc.in new file mode 100644 index 00000000..b9633998 --- /dev/null +++ b/libevent_extra.pc.in @@ -0,0 +1,16 @@ +#libevent pkg-config source file + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libevent_extra +Description: libevent_extra +Version: @VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -levent_extra +Libs.private: @LIBS@ +Cflags: -I${includedir} +