From 543b3b9160d0b5a8d5a873b6bea3d187181f8a42 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 20 Apr 2001 15:57:50 +0000 Subject: [PATCH] Added pkg-config file. 2001-04-20 Martin Baulig * libgtop.pc.in: Added pkg-config file. --- .cvsignore | 1 + ChangeLog | 4 ++++ Makefile.am | 4 +++- configure.in | 3 ++- libgtop.pc.in | 11 +++++++++++ 5 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 libgtop.pc.in diff --git a/.cvsignore b/.cvsignore index 89ab1a08..5acb0f83 100644 --- a/.cvsignore +++ b/.cvsignore @@ -41,3 +41,4 @@ glibtop-config.h stamp-gc-h build-debstamp install-debstamp +libgtop.pc diff --git a/ChangeLog b/ChangeLog index 5c4530ab..647935a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-20 Martin Baulig + + * libgtop.pc.in: Added pkg-config file. + 2001-04-20 Martin Baulig * acinclude.m4 (GNOME_FILEUTILS_CHECKS): Put this here. diff --git a/Makefile.am b/Makefile.am index 0ca00dc2..0a5282cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ noinst_HEADERS = glibtop-server-private.h EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt libgtopConf.sh.in \ LIBGTOP-VERSION features.def structures.def libgtop-config.in \ RELNOTES-0.25 RELNOTES-1.0 RELNOTES-1.1.x libgtop-sysdeps.m4 README \ - libgtop-mirror.sh + libgtop-mirror.sh libgtop.pc.in configinclude_DATA = \ glibtop-config.h @@ -82,3 +82,5 @@ libgtop-features.def: features.def libgtop-structures.def: structures.def @LN_S@ $< $@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libgtop.pc diff --git a/configure.in b/configure.in index e79d739f..68edb970 100644 --- a/configure.in +++ b/configure.in @@ -534,4 +534,5 @@ backends/sysdeps/Makefile backends/common/Makefile lib/Makefile doc/Makefile -dtd/Makefile]) +dtd/Makefile +libgtop.pc]) diff --git a/libgtop.pc.in b/libgtop.pc.in new file mode 100644 index 00000000..aed1b3a7 --- /dev/null +++ b/libgtop.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libgtop +Description: Portable System Access Library +Requires: glib-2.0 libxml-2.0 +Version: @VERSION@ +Libs: -L${libdir} -lgtop +Cflags: -I${includedir}