Install libgnomesupport.la, but call it libgnomesupport-1.3.la.
authorMartin Baulig <baulig@suse.de>
Tue, 21 Nov 2000 16:56:48 +0000 (16:56 +0000)
committerMartin Baulig <martin@src.gnome.org>
Tue, 21 Nov 2000 16:56:48 +0000 (16:56 +0000)
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

support/.cvsignore
support/ChangeLog
support/Makefile.am
support/gnome-support-2.0.pc.in [new file with mode: 0644]

index 9b6973f..e710523 100644 (file)
@@ -6,3 +6,4 @@ Makefile
 .libs
 gnomesupport-h
 gnomesupport.h
+gnome-support-2.0.pc
index 13a97c4..67fa269 100644 (file)
@@ -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.
index 6b4e715..627e1df 100644 (file)
@@ -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 (file)
index 0000000..4741ef0
--- /dev/null
@@ -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