~logan/ubuntu/trusty/suitesparse/4.2.1-3ubuntu1

« back to all changes in this revision

Viewing changes to debian/patches/10-CXSparse_Lib_Makefile.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-02-24 11:08:12 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090224110812-hawvr3dh5kjbvlae
debian/control: Add an epoch to the version number of
libsuitesparse-3.0.2 in replaces/conflicts for libcolamd-3.2.0
(really, closes: #516725)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 RANLIB = ranlib
14
14
 
15
15
-all: libcxsparse.a
16
 
+all: libcxsparse.a libcxsparse.so.3.1.0
 
16
+all: libcxsparse.a libcxsparse.so.3.2.0
17
17
 
18
18
 CS_SOURCE = cs_add.c cs_amd.c cs_chol.c cs_cholsol.c cs_counts.c cs_cumsum.c \
19
19
        cs_droptol.c cs_dropzeros.c cs_dupl.c cs_entry.c \
81
81
        $(AR) libcxsparse.a $(CS)
82
82
        $(RANLIB) libcxsparse.a
83
83
 
84
 
+libcxsparse.so.3.1.0: $(CS_SL)
 
84
+libcxsparse.so.3.2.0: $(CS_SL)
85
85
+       $(CC) -shared $^ -lm -Wl,-soname -Wl,$@ -o $@
86
86
+       ln -s $@ libcxsparse.so
87
87
+