From 6c4b989c187c46c1d14ae0beb598046c055e747c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 3 Dec 2012 17:05:08 +0100 Subject: Add crystfel.pc file for pkg-config --- libcrystfel/Makefile.am | 3 +++ libcrystfel/crystfel.pc.in | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 libcrystfel/crystfel.pc.in (limited to 'libcrystfel') diff --git a/libcrystfel/Makefile.am b/libcrystfel/Makefile.am index 2a02a20b..4c857152 100644 --- a/libcrystfel/Makefile.am +++ b/libcrystfel/Makefile.am @@ -29,3 +29,6 @@ libcrystfel_la_include_HEADERS = src/beam-parameters.h src/hdf5-file.h \ INCLUDES = "-I$(top_srcdir)/data" AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib -Wall AM_CPPFLAGS += -I$(top_srcdir)/lib @LIBCRYSTFEL_CFLAGS@ + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = crystfel.pc diff --git a/libcrystfel/crystfel.pc.in b/libcrystfel/crystfel.pc.in new file mode 100644 index 00000000..bb7ba2c3 --- /dev/null +++ b/libcrystfel/crystfel.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: CrystFEL +Description: Useful routines for crystallography using a free-electron laser +Version: @VERSION@ +Cflags: -I${includedir} +Libs: -L${libdir} -lcrystfel -- cgit v1.2.3