]> granicus.if.org Git - libevent/commitdiff
libevent_core and libevent_extra also deserve a pkgconfig file
authorJan Heylen <heyleke@gmail.com>
Wed, 20 Apr 2016 05:31:25 +0000 (07:31 +0200)
committerJan Heylen <heyleke@gmail.com>
Wed, 20 Apr 2016 05:39:42 +0000 (07:39 +0200)
Makefile.am
configure.ac
libevent_core.pc.in [new file with mode: 0644]
libevent_extra.pc.in [new file with mode: 0644]

index 3053cc016a524faeca645c70591eb2c43d5d6c3d..1008752393e49533448a9ee017ec2026637910a4 100644 (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
 
index 52710b5407e51e9fb98848b1dd5a4bec23180699..15cc47cb548b15d7cb15157d2f157f134070792b 100644 (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)
diff --git a/libevent_core.pc.in b/libevent_core.pc.in
new file mode 100644 (file)
index 0000000..98ab1ef
--- /dev/null
@@ -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 (file)
index 0000000..b963399
--- /dev/null
@@ -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}
+