~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to patches/libtool-dso.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-18 13:07:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050318130752-j4i37zgqclj53b94
Tags: 2.15-5ubuntu2
debian/rules: Call pkgstriptranslations if present (the package does not
use debhelper, thus it does not happen automatically).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2003-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2
 
 
3
 
        * ltmain.sh: Make symlink for shared library if needed.
4
 
 
5
 
opcodes/
6
 
 
7
 
2003-09-03  H.J. Lu  <hongjiu.lu@intel.com>
8
 
 
9
 
        * Makefile.in: Regenerated.
10
 
 
11
 
2003-08-14  H.J. Lu  <hongjiu.lu@intel.com>
12
 
 
13
 
        * Makefile.in: Regenerated.
14
 
 
15
 
2003-07-14  H.J. Lu  <hongjiu.lu@intel.com>
16
 
 
17
 
        * Makefile.in: Regenerated.
18
 
 
19
 
2003-06-11  H.J. Lu  <hongjiu.lu@intel.com>
20
 
 
21
 
        * Makefile.in: Regenerated.
22
 
 
23
 
2003-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24
 
 
25
 
        * Makefile.am (libopcodes_la_LIBADD): Use "-L../bfd -lbfd"
26
 
        instead of "../bfd/libbfd.la".
27
 
        * Makefile.in: Regenerated.
28
 
 
29
 
--- binutils/ltmain.sh.dso      2002-03-22 00:16:20.000000000 -0800
30
 
+++ binutils/ltmain.sh  2003-09-03 11:12:48.000000000 -0700
31
 
@@ -4413,6 +4413,10 @@ relink_command=\"$relink_command\""
32
 
       # LD_LIBRARY_PATH before the program is installed.
33
 
       $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
34
 
       $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
35
 
+      if test -n "$linkname"; then
36
 
+        $show "(cd $output_objdir && $rm ../$linkname && $LN_S $output_objdir/$linkname ../$linkname)"
37
 
+        $run eval '(cd $output_objdir && $rm ../$linkname && $LN_S $output_objdir/$linkname ../$linkname)' || exit $?
38
 
+      fi
39
 
       ;;
40
 
     esac
41
 
     exit 0
42
 
--- binutils/opcodes/Makefile.am.dso    2003-09-03 11:05:45.000000000 -0700
43
 
+++ binutils/opcodes/Makefile.am        2003-09-03 11:12:48.000000000 -0700
44
 
@@ -283,7 +283,7 @@ disassemble.lo: disassemble.c $(INCDIR)/
45
 
 
46
 
 libopcodes_la_SOURCES =  dis-buf.c disassemble.c
47
 
 libopcodes_la_DEPENDENCIES = $(OFILES) ../bfd/libbfd.la
48
 
-libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ ../bfd/libbfd.la
49
 
+libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ -L../bfd -lbfd
50
 
 libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
51
 
 
52
 
 # libtool will build .libs/libopcodes.a.  We create libopcodes.a in
53
 
--- binutils/opcodes/Makefile.in.dso    2003-09-03 11:05:45.000000000 -0700
54
 
+++ binutils/opcodes/Makefile.in        2003-09-03 11:13:34.000000000 -0700
55
 
@@ -1,6 +1,6 @@
56
 
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
57
 
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
58
 
 
59
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
60
 
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
61
 
 # This Makefile.in is free software; the Free Software Foundation
62
 
 # gives unlimited permission to copy and/or distribute it,
63
 
 # with or without modifications, as long as this notice is preserved.
64
 
@@ -393,7 +393,7 @@ INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir)
65
 
 
66
 
 libopcodes_la_SOURCES = dis-buf.c disassemble.c
67
 
 libopcodes_la_DEPENDENCIES = $(OFILES) ../bfd/libbfd.la
68
 
-libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ ../bfd/libbfd.la
69
 
+libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@ -L../bfd -lbfd
70
 
 libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
71
 
 
72
 
 # libtool will build .libs/libopcodes.a.  We create libopcodes.a in
73
 
@@ -592,7 +592,7 @@ libopcodes.la: $(libopcodes_la_OBJECTS) 
74
 
 all-recursive install-data-recursive install-exec-recursive \
75
 
 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
76
 
 check-recursive installcheck-recursive info-recursive dvi-recursive:
77
 
-       @set fnord $(MAKEFLAGS); amf=$$2; \
78
 
+       @set fnord $$MAKEFLAGS; amf=$$2; \
79
 
        dot_seen=no; \
80
 
        target=`echo $@ | sed s/-recursive//`; \
81
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
82
 
@@ -612,11 +612,11 @@ check-recursive installcheck-recursive i
83
 
 
84
 
 mostlyclean-recursive clean-recursive distclean-recursive \
85
 
 maintainer-clean-recursive:
86
 
-       @set fnord $(MAKEFLAGS); amf=$$2; \
87
 
+       @set fnord $$MAKEFLAGS; amf=$$2; \
88
 
        dot_seen=no; \
89
 
        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
90
 
          rev="$$subdir $$rev"; \
91
 
-         test "$$subdir" = "." && dot_seen=yes; \
92
 
+         test "$$subdir" != "." || dot_seen=yes; \
93
 
        done; \
94
 
        test "$$dot_seen" = "no" && rev=". $$rev"; \
95
 
        target=`echo $@ | sed s/-recursive//`; \