pkg-config support from Kristian Hogsberg.

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@126 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
bencollins 2003-07-17 17:28:56 +00:00
parent 441945b498
commit 531c6b405c
3 changed files with 15 additions and 1 deletions

View File

@ -5,7 +5,10 @@ SUBDIRS = src tools doc debian
aclocaldir = @datadir@/aclocal aclocaldir = @datadir@/aclocal
aclocal_DATA = libraw1394.m4 aclocal_DATA = libraw1394.m4
EXTRA_DIST = libraw1394.m4 pkgconfigdir = @libdir@/pkgconfig
pkgconfig_DATA = libraw1394.pc
EXTRA_DIST = libraw1394.m4 libraw1394.pc
doc: psdoc pdfdoc htmldoc doc: psdoc pdfdoc htmldoc

View File

@ -25,6 +25,7 @@ AC_SUBST(lt_age)
CFLAGS=${CFLAGS:-"-Wall -O2"} CFLAGS=${CFLAGS:-"-Wall -O2"}
AC_OUTPUT([ AC_OUTPUT([
Makefile Makefile
libraw1394.pc
src/Makefile src/Makefile
tools/Makefile tools/Makefile
doc/Makefile doc/Makefile

10
libraw1394.pc.in Normal file
View File

@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libraw1394
Description: Interface library for the Linux IEEE1394 drivers.
Version: @VERSION@
Libs: -L${libdir} -lraw1394
Cflags: -I${includedir}/libraw1394