From: Luca Padovani Date: Tue, 15 Jul 2003 17:45:16 +0000 (+0000) Subject: * added .pc file X-Git-Tag: LucaOK~79 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=f00748237babf53171228e9a50716a81424d4ab7 * added .pc file * IDL interface version computed from package version --- diff --git a/helm/gtkmathview-bonobo/configure.ac b/helm/gtkmathview-bonobo/configure.ac index 6f3c1596f..db0e236ff 100644 --- a/helm/gtkmathview-bonobo/configure.ac +++ b/helm/gtkmathview-bonobo/configure.ac @@ -11,6 +11,9 @@ AC_SUBST(VERSION) GTKMATHVIEW_BONOBO_VERSION_INFO=`echo $VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` AC_SUBST(GTKMATHVIEW_BONOBO_VERSION_INFO) +GTKMATHVIEW_BONOBO_IDL_INTERFACE_VERSION=`echo $VERSION | awk -F. '{ printf "%d.%d", $1, $2 }'` +AC_SUBST(GTKMATHVIEW_BONOBO_IDL_INTERFACE_VERSION) + AC_ARG_ENABLE( profile, [ --enable-profile[=ARG] include profiling information [default=no]], @@ -91,6 +94,7 @@ AC_SUBST(BONOBOUI_LIBS) AC_CONFIG_FILES([ Makefile + gtkmathview-bonobo.pc src/Makefile src/GNOME_GtkMathView.server ]) diff --git a/helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in b/helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in new file mode 100644 index 000000000..aa9499612 --- /dev/null +++ b/helm/gtkmathview-bonobo/gtkmathview-bonobo.pc.in @@ -0,0 +1,14 @@ +# This is a comment +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ +datadir=@datadir@ + +Name: GtkMathView-Bonobo +Description: Bonobo interfaces for GtkMathView +Version: @VERSION@ +Requires: gtkmathview libbonoboui-2.0 +Libs: @DOM_LIBS@ -L${libdir} -lgtkmathview-bonobo +Cflags: @DOM_CFLAGS@ -I${includedir}/@PACKAGE@ + diff --git a/helm/gtkmathview-bonobo/src/.cvsignore b/helm/gtkmathview-bonobo/src/.cvsignore index 9cabbbc5a..c150801c5 100644 --- a/helm/gtkmathview-bonobo/src/.cvsignore +++ b/helm/gtkmathview-bonobo/src/.cvsignore @@ -4,3 +4,4 @@ GNOME_GtkMathView.server Makefile Makefile.in gtkmathview-bonobo.lo +libgtkmathview-bonobo.la diff --git a/helm/gtkmathview-bonobo/src/GNOME_GtkMathView.server.in b/helm/gtkmathview-bonobo/src/GNOME_GtkMathView.server.in index 766d135b2..b867a3d02 100644 --- a/helm/gtkmathview-bonobo/src/GNOME_GtkMathView.server.in +++ b/helm/gtkmathview-bonobo/src/GNOME_GtkMathView.server.in @@ -1,6 +1,6 @@ -