Skip to content

Commit

Permalink
Add pkg-config information
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv committed May 11, 2012
1 parent daecf55 commit 72f1372
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ busybee-bench-st
busybee-bench-sta
busybee-bench-sta.o
busybee-bench-st.o
busybee.pc
config.guess
config.h
config.h.in
Expand Down
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
## POSSIBILITY OF SUCH DAMAGE.

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CXXFLAGS = -fvisibility=hidden -fPIC $(WANAL_CXXFLAGS)
AM_CXXFLAGS = -fvisibility=hidden -fPIC $(WANAL_CXXFLAGS) $(E_CFLAGS)

EXTRA_DIST = LICENSE

Expand Down Expand Up @@ -58,3 +58,6 @@ busybee_bench_sta_LDADD = libbusybee-sta.la -le -lrt

busybee_bench_st_SOURCES = busybee-bench-st.cc
busybee_bench_st_LDADD = libbusybee-st.la -le -lrt

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = busybee.pc
12 changes: 12 additions & 0 deletions busybee.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: busybee
Description: High performance messaging layer
Version: @VERSION@

Requires: libpo6 >= 0.2 libe >= 0.2
Libs: -L${libdir}
Cflags: -I${includedir}
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ AC_CHECK_FUNCS([alarm clock_gettime ftruncate memmove mkdir munmap rmdir socket]

# Optional components

AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([Makefile
busybee.pc])
AC_OUTPUT

0 comments on commit 72f1372

Please sign in to comment.