Added pkg-config support.
This commit is contained in:
parent
5b8410f98b
commit
ab5a3ffa55
@ -1 +1,6 @@
|
|||||||
SUBDIRS = src examples
|
SUBDIRS = src examples
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libdivecomputer.pc
|
||||||
|
|
||||||
|
EXTRA_DIST = libdivecomputer.pc.in
|
||||||
|
|||||||
@ -38,6 +38,7 @@ AM_CONDITIONAL([IRDA_LINUX], [test "$irda_linux" = "yes"])
|
|||||||
|
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
libdivecomputer.pc
|
||||||
Makefile
|
Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
|
|||||||
10
libdivecomputer.pc.in
Normal file
10
libdivecomputer.pc.in
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libdivecomputer
|
||||||
|
Description: A library for communication with various dive computers.
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -ldivecomputer
|
||||||
|
Cflags: -I${includedir}/libdivecomputer
|
||||||
Loading…
x
Reference in New Issue
Block a user