summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <baulig@suse.de>2000-11-21 16:56:48 +0000
committerMartin Baulig <martin@src.gnome.org>2000-11-21 16:56:48 +0000
commitc07a374161830c162186c296b2017a6550f6b2a2 (patch)
tree3527699f7079e384bc1f34bab6648e985b558c2d
parent9ffde11a5911f86986633acce99cd6a0f40af1a5 (diff)
downloadgnome-common-c07a374161830c162186c296b2017a6550f6b2a2.tar.gz
Install libgnomesupport.la, but call it libgnomesupport-1.3.la.
2000-11-21 Martin Baulig <baulig@suse.de> * Makefile.am: Install libgnomesupport.la, but call it libgnomesupport-1.3.la. * gnome-support-2.0.pc.in: Added pkg-config file. svn path=/trunk/; revision=1463
-rw-r--r--support/.cvsignore1
-rw-r--r--support/ChangeLog7
-rw-r--r--support/Makefile.am13
-rw-r--r--support/gnome-support-2.0.pc.in11
4 files changed, 27 insertions, 5 deletions
diff --git a/support/.cvsignore b/support/.cvsignore
index 9b6973f..e710523 100644
--- a/support/.cvsignore
+++ b/support/.cvsignore
@@ -6,3 +6,4 @@ Makefile
.libs
gnomesupport-h
gnomesupport.h
+gnome-support-2.0.pc
diff --git a/support/ChangeLog b/support/ChangeLog
index 13a97c4..67fa269 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,10 @@
+2000-11-21 Martin Baulig <baulig@suse.de>
+
+ * Makefile.am: Install libgnomesupport.la, but call it
+ libgnomesupport-1.3.la.
+
+ * gnome-support-2.0.pc.in: Added pkg-config file.
+
1999-05-27 Raja R Harinath <harinath@cs.umn.edu>
* gnomesupport.awk: Put c++ guards after #includes.
diff --git a/support/Makefile.am b/support/Makefile.am
index 6b4e715..627e1df 100644
--- a/support/Makefile.am
+++ b/support/Makefile.am
@@ -4,7 +4,7 @@ supportexecincludedir = $(includedir)/gnome/$(GNOME_INTERFACE_VERSION)
INCLUDES = -D_GNU_SOURCE
-noinst_LTLIBRARIES = libgnomesupport.la
+lib_LTLIBRARIES = libgnomesupport-1.3.la
# it is in _DATA since we don't want `gnomesupport.h' to be part of
# the distributed `.tar.gz' file
@@ -21,9 +21,9 @@ supportexecinclude_DATA = gnomesupport.h
#popt_sources = findme.c poptconfig.c poptparse.c popt.c popthelp.c
popt_sources=
-libgnomesupport_la_SOURCES = gnomesupport.h $(popt_sources) gnome-argp.c
-libgnomesupport_la_LIBADD = @LTLIBOBJS@
-libgnomesupport_la_LDFLAGS = -version-info 0:0:0
+libgnomesupport_1_3_la_SOURCES = gnomesupport.h $(popt_sources) gnome-argp.c
+libgnomesupport_1_3_la_LIBADD = @LTLIBOBJS@
+libgnomesupport_1_3_la_LDFLAGS = -version-info 0:0:0
BUILT_SOURCES = gnomesupport.h
@@ -42,4 +42,7 @@ EXTRA_DIST = gnomesupport.awk README-gnome \
memmove.c mkstemp.c popt-gnome.h popt.c poptconfig.c \
popthelp.c poptint.h poptparse.c scandir.c strcasecmp.c \
strerror.c strndup.c strnlen.c strtod.c strtok_r.c strtol.c \
- strtoul.c vasprintf.c vsnprintf.c
+ strtoul.c vasprintf.c vsnprintf.c gnome-support-2.0.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gnome-support-2.0.pc
diff --git a/support/gnome-support-2.0.pc.in b/support/gnome-support-2.0.pc.in
new file mode 100644
index 0000000..4741ef0
--- /dev/null
+++ b/support/gnome-support-2.0.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: gnome-support
+Description: GNOME support library
+Version: @VERSION@
+Requires: gnome-common-2.0
+Libs: -lgnomesupport-1.3
+Cflags: \ No newline at end of file