[svn] gpgme - r1131 - trunk/gpgme

svn author marcus cvs at cvs.gnupg.org
Thu Oct 20 21:21:30 CEST 2005


Author: marcus
Date: 2005-10-20 21:21:30 +0200 (Thu, 20 Oct 2005)
New Revision: 1131

Modified:
   trunk/gpgme/ChangeLog
   trunk/gpgme/Makefile.am
Log:
2005-10-20  Marcus Brinkmann  <marcus at g10code.de>

	* Makefile.am: Build versioninfo.lo, not versioninfo.o.  Also, fix
	the whole mess.


Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog	2005-10-20 13:32:48 UTC (rev 1130)
+++ trunk/gpgme/ChangeLog	2005-10-20 19:21:30 UTC (rev 1131)
@@ -1,3 +1,8 @@
+2005-10-20  Marcus Brinkmann  <marcus at g10code.de>
+
+	* Makefile.am: Build versioninfo.lo, not versioninfo.o.  Also, fix
+	the whole mess.
+
 2005-10-16  Marcus Brinkmann  <marcus at g10code.de>
 
 	* rungpg.c (gpg_edit): Don't add a key argument if in card edit

Modified: trunk/gpgme/Makefile.am
===================================================================
--- trunk/gpgme/Makefile.am	2005-10-20 13:32:48 UTC (rev 1130)
+++ trunk/gpgme/Makefile.am	2005-10-20 19:21:30 UTC (rev 1131)
@@ -96,21 +96,21 @@
      `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
      sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
 
-%.o : %.rc
+%.lo : %.rc
 	$(LTRCCOMPILE) -i $< -o $@
 
-gpgme_res = versioninfo.o
-gpgme_res_ldflag = -Wl,$(gpgme_res)
+gpgme_res = versioninfo.lo
+gpgme_res_ldflag = -Wl,.libs/versioninfo.o
 no_undefined = -no-undefined
 export_symbols = -export-symbols $(srcdir)/gpgme.def
 
 install-def-file:
-	$(INSTALL) gpg-error.def $(DESTDIR)$(libdir)/gpgme.def
+	$(INSTALL) $(srcdir)/gpgme.def $(DESTDIR)$(libdir)/gpgme.def
 
 uninstall-def-file:
 	-rm $(DESTDIR)$(libdir)/gpgme.def
 
-libgpgme_la_DEPENDENCIES = $(gpgme_res) gpgme.def
+gpgme_deps = $(gpgme_res) gpgme.def
 
 else
 gpgme_res =
@@ -120,13 +120,14 @@
 install-def-file:
 uninstall-def-file:
 
+gpgme_deps =
 endif
 
 libgpgme_la_LDFLAGS = $(gpgme_res_ldflag) $(no_undefined) $(export_symbols) \
 	$(libgpgme_version_script_cmd) -version-info \
 	@LIBGPGME_LT_CURRENT@:@LIBGPGME_LT_REVISION@:@LIBGPGME_LT_AGE@
 libgpgme_la_DEPENDENCIES = libgpgme-real.la $(assuan_libobjs) \
-	@LTLIBOBJS@ $(srcdir)/libgpgme.vers
+	@LTLIBOBJS@ $(srcdir)/libgpgme.vers $(gpgme_deps)
 libgpgme_la_LIBADD = libgpgme-real.la $(assuan_libobjs) @LTLIBOBJS@ \
 	@GPG_ERROR_LIBS@
 




More information about the Gnupg-commits mailing list