libevent_core and libevent_extra also deserve a pkgconfig file

This commit is contained in:
Jan Heylen 2016-04-20 07:31:25 +02:00
parent d5e634a80e
commit b8d7c6211a
4 changed files with 35 additions and 3 deletions

View File

@ -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

View File

@ -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)

16
libevent_core.pc.in Normal file
View File

@ -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}

16
libevent_extra.pc.in Normal file
View File

@ -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}