diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libcrystfel/Makefile.am | 3 | ||||
-rw-r--r-- | libcrystfel/crystfel.pc.in | 10 |
4 files changed, 15 insertions, 0 deletions
@@ -48,3 +48,4 @@ build-aux/ltmain.sh lib/.libs/ lib/dummy.lo lib/libgnu.la +libcrystfel/crystfel.pc diff --git a/configure.ac b/configure.ac index 1a1bc848..a148942a 100644 --- a/configure.ac +++ b/configure.ac @@ -305,4 +305,5 @@ HTML_DIR=${docdir}/reference AC_CONFIG_FILES(Makefile lib/Makefile doc/reference/Makefile libcrystfel/Makefile) +AC_CONFIG_FILES(libcrystfel/crystfel.pc) AC_OUTPUT 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 |