Skip to content

Commit

Permalink
add pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
carns committed Dec 9, 2024
1 parent c25137f commit fc36309
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ src_libmochi_plumber_la_SOURCES =
LDADD = src/libmochi-plumber.la

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =
pkgconfig_DATA = maint/mochi-plumber.pc

include Make.rules

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ if test "$enable_coverage" = "yes" ; then
LDFLAGS="--coverage -lgcov"
fi

AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([Makefile maint/mochi-plumber.pc])
AC_OUTPUT
12 changes: 12 additions & 0 deletions maint/mochi-plumber.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: mochi-plumber
Description: mapping hardware resources to processes
Version: 0.1
URL: http://www.mcs.anl.gov/research/projects/mochi
Libs: -L${libdir} -lmochi-placement
Libs.private: @LDFLAGS@ @LIBS@
Cflags: -I${includedir} @CPPFLAGS@

0 comments on commit fc36309

Please sign in to comment.