glusterfs-api.pc: pkgconfig for API consumers
Change-Id: I08c60ff9ec5d336077c39f903720f8850d4ddc72 BUG: 839950 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.com/3665 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
parent
2475e0193c
commit
dbd7aa2d6b
10
Makefile.am
10
Makefile.am
@ -1,9 +1,15 @@
|
||||
EXTRA_DIST = autogen.sh COPYING-GPLV2 COPYING-LGPLV3 INSTALL README AUTHORS THANKS NEWS glusterfs.spec
|
||||
EXTRA_DIST = autogen.sh \
|
||||
COPYING-GPLV2 COPYING-LGPLV3 \
|
||||
INSTALL README AUTHORS THANKS NEWS \
|
||||
glusterfs.spec glusterfs-api.pc.in
|
||||
|
||||
SUBDIRS = argp-standalone libglusterfs rpc api xlators glusterfsd \
|
||||
$(FUSERMOUNT_SUBDIR) doc extras cli
|
||||
|
||||
CLEANFILES =
|
||||
pkgconfigdir = @pkgconfigdir@
|
||||
pkgconfig_DATA = glusterfs-api.pc
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
gitclean: distclean
|
||||
find . -name Makefile.in -exec rm -f {} \;
|
||||
|
@ -142,6 +142,7 @@ AC_CONFIG_FILES([Makefile
|
||||
xlators/mgmt/Makefile
|
||||
xlators/mgmt/glusterd/Makefile
|
||||
xlators/mgmt/glusterd/src/Makefile
|
||||
glusterfs-api.pc
|
||||
api/Makefile
|
||||
api/src/Makefile
|
||||
glusterfs.spec])
|
||||
@ -151,6 +152,12 @@ AC_CANONICAL_HOST
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
AC_ARG_WITH(pkgconfigdir,
|
||||
[ --with-pkgconfigdir=DIR pkgconfig file in DIR @<:@LIBDIR/pkgconfig@:>@],
|
||||
[pkgconfigdir=$withval],
|
||||
[pkgconfigdir='${libdir}/pkgconfig'])
|
||||
AC_SUBST(pkgconfigdir)
|
||||
|
||||
AC_ARG_WITH(mountutildir,
|
||||
[ --with-mountutildir=DIR mount helper utility in DIR @<:@/sbin@:>@],
|
||||
[mountutildir=$withval],
|
||||
|
11
glusterfs-api.pc.in
Normal file
11
glusterfs-api.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
|
||||
Name: glusterfs-api
|
||||
Description: GlusterFS API
|
||||
Version: @VERSION@
|
||||
Libs: -Wl,-R${libdir} -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr
|
||||
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
|
Loading…
Reference in New Issue
Block a user