From c7aa3c4f799dfd847ebfecb752ededa9d2f8ed1f Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 8 Jun 2009 10:32:39 +0000 Subject: pkg-config: Create and install a pkg-config file Let automake create the openbsc.pc and then install it into the pkg-config directory of ${libdir}. This is done in preparation for the public API that will be added soon. The advertised include directory will be ${incluedir}/openbsc-1.0 to follow userspace practive from glib/gtk/cairo/freetype2 and many more. --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1ba06046d..deaba0fa1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,5 +3,8 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 INCLUDES = $(all_includes) -I$(top_srcdir)/include SUBDIRS = include src tests +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = openbsc.pc + #dist-hook: # rm -rf `find $(distdir) -name .svn` -- cgit v1.2.3