Skip to content

Commit

Permalink
pkg-config file for API option
Browse files Browse the repository at this point in the history
  • Loading branch information
roblatham00 authored and adammoody committed Aug 16, 2021
1 parent e62e3fd commit 3698d1f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ CONFIG = ordered
ACLOCAL_AMFLAGS = -I m4

pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = client/unifyfs.pc
pkgconfig_DATA = client/unifyfs.pc \
client/unifyfs-api.pc

CLEANFILES =

Expand Down
12 changes: 12 additions & 0 deletions client/unifyfs-api.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: UnifyFS
Description: client library for UnifyFS unified burst buffer file system
Version: @LIBUNIFYFS_API_VERSION@
Requires:
Libs: -L${libdir} -lunifyfs_api
Cflags: -I${includedir}

1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ AC_CONFIG_FILES([Makefile
client/Makefile
client/src/Makefile
client/unifyfs.pc
client/unifyfs-api.pc
examples/Makefile
examples/src/Makefile
extras/Makefile
Expand Down

0 comments on commit 3698d1f

Please sign in to comment.