]> git.pld-linux.org Git - packages/CHOLMOD.git/blob - CHOLMOD-shared.patch
- updated to 1.7.4
[packages/CHOLMOD.git] / CHOLMOD-shared.patch
1 --- CHOLMOD/Demo/Makefile.orig  2012-01-01 17:10:50.000000000 +0100
2 +++ CHOLMOD/Demo/Makefile       2012-01-01 17:13:20.706633471 +0100
3 @@ -15,9 +15,8 @@
4  CONFIG =
5  ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
6      # check if METIS is available
7 -    ifeq (../../metis-4.0, $(wildcard ../../metis-4.0))
8 -        LIB_WITH_PARTITION = $(METIS) ../../CCOLAMD/Lib/libccolamd.a \
9 -            ../../CAMD/Lib/libcamd.a
10 +    ifeq ($(WITH_METIS), 1)
11 +        LIB_WITH_PARTITION = $(METIS) -lccolamd -lcamd
12      else
13          # METIS is not available, but CHOLMOD_CONFIG does not specify
14          # -DNPARTITION.  Add it here so we can still compile CHOLMOD.
15 @@ -26,7 +25,7 @@
16  endif
17  #-------------------------------------------------------------------------------
18  
19 -LIB2 = ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a \
20 +LIB2 = -lcholmod -lamd -lcolamd \
21         $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) $(XERBLA) $(LIB)
22  
23  #-------------------------------------------------------------------------------
24 @@ -63,27 +62,19 @@
25  #-------------------------------------------------------------------------------
26  # See below if you compile with -DNPARTITION
27  library:
28 -       ( cd ../../UFconfig/xerbla ; $(MAKE) )
29         ( cd ../Lib ; $(MAKE) )
30 -       ( cd ../../AMD ; $(MAKE) library )
31 -       ( cd ../../COLAMD ; $(MAKE) library )
32 -ifneq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
33 -else
34 -       ( cd ../../CCOLAMD ; $(MAKE) library )
35 -       ( cd ../../CAMD ; $(MAKE) library )
36 -endif
37  #-------------------------------------------------------------------------------
38  
39  I = -I../Include
40  
41  cholmod_demo: library cholmod_demo.c cholmod_demo.h
42 -       $(C) -o cholmod_demo $(I) cholmod_demo.c $(LIB2)
43 +       libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_demo $(I) cholmod_demo.c $(LIB2)
44  
45  cholmod_simple: library cholmod_simple.c
46 -       $(C) -o cholmod_simple $(I) cholmod_simple.c $(LIB2)
47 +       libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_simple $(I) cholmod_simple.c $(LIB2)
48  
49  cholmod_l_demo: library cholmod_l_demo.c cholmod_demo.h
50 -       $(C) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2)
51 +       libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2)
52  
53  readhb: readhb.f
54         $(F77) $(FFLAGS) -o readhb readhb.f
55 --- CHOLMOD/Lib/Makefile.orig   2012-01-01 17:10:50.673295114 +0100
56 +++ CHOLMOD/Lib/Makefile        2012-01-01 17:16:30.863306505 +0100
57 @@ -11,12 +11,14 @@
58  #-------------------------------------------------------------------------------
59  # the optional Partition module requires METIS, CAMD, and CCOLAMD
60  I_WITH_PARTITION =
61 +LIB_WITH_PARTITION =
62  CONFIG =
63  ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
64      # METIS is check if METIS is available
65      ifeq ($(WITH_METIS), 1)
66          I_WITH_PARTITION = -I/usr/include/metis \
67              -I/usr/include/ccolamd -I/usr/include/camd
68 +       LIB_WITH_PARTITION = $(METIS) -lccolamd -lcamd
69      else
70          # METIS is not available, but CHOLMOD_CONFIG does not specify
71          # -DNPARTITION.  Add it here so we can still compile CHOLMOD.
72 @@ -31,14 +33,14 @@
73  
74  C = $(CC) $(CF) $(CHOLMOD_CONFIG) $(CONFIG)
75  
76 -all: libcholmod.a
77 +all: libcholmod.la
78  
79 -library: libcholmod.a
80 +library: libcholmod.la
81  
82  purge: distclean
83  
84  distclean: clean
85 -       - $(RM) libcholmod.a
86 +       - $(RM) libcholmod.la
87  
88  clean:
89         - $(RM) $(CLEAN)
90 @@ -130,9 +132,13 @@
91  # to compile just the double/int version, use OBJ = $(DI)
92  OBJ = $(DI) $(DL)
93  
94 -libcholmod.a: $(OBJ)
95 -       $(ARCHIVE)  libcholmod.a $(OBJ)
96 -       - $(RANLIB) libcholmod.a
97 +libcholmod.la: $(OBJ)
98 +       libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcholmod.la -rpath $(libdir) $(OBJ:.o=.lo) -lm \
99 +               -lamd -lcolamd $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS)
100 +
101 +install: libcholmod.la
102 +       install -d $(DESTDIR)$(libdir)
103 +       libtool --mode=install cp libcholmod.la $(DESTDIR)$(libdir)/libcholmod.la
104  
105  $(OBJ): $(INC)
106  
107 @@ -141,24 +147,24 @@
108  #-------------------------------------------------------------------------------
109  
110  cholmod_check.o: ../Check/cholmod_check.c
111 -       $(C) -c $(I) $<
112 +       libtool --tag=CC --mode=compile $(C) -c $(I) $<
113  
114  cholmod_read.o: ../Check/cholmod_read.c
115 -       $(C) -c $(I) $<
116 +       libtool --tag=CC --mode=compile $(C) -c $(I) $<
117  
118  cholmod_write.o: ../Check/cholmod_write.c
119 -       $(C) -c $(I) $<
120 +       libtool --tag=CC --mode=compile $(C) -c $(I) $<
121  
122  #-------------------------------------------------------------------------------
123  
124  cholmod_l_check.o: ../Check/cholmod_check.c
125 -       $(C) -DDLONG -c $(I) $< -o $@
126 +       libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
127  
128  cholmod_l_read.o: ../Check/cholmod_read.c
129 -       $(C) -DDLONG -c $(I) $< -o $@
130 +       libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
131  
132  cholmod_l_write.o: ../Check/cholmod_write.c
133 -       $(C) -DDLONG -c $(I) $< -o $@
134 +       libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
135  
136  
137  #-------------------------------------------------------------------------------
138 @@ -166,92 +172,92 @@
139  #-------------------------------------------------------------------------------
140  
141  cholmod_common.o: ../Core/cholmod_common.c
142 -       $(C) -c $(I) $<
143 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
144  
145  cholmod_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c
146 -       $(C) -c $(I) $<
147 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
148  
149  cholmod_factor.o: ../Core/cholmod_factor.c
150 -       $(C) -c $(I) $<
151 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
152  
153  cholmod_change_factor.o: ../Core/cholmod_change_factor.c \
154         ../Core/t_cholmod_change_factor.c
155 -       $(C) -c $(I) $<
156 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
157  
158  cholmod_memory.o: ../Core/cholmod_memory.c
159 -       $(C) -c $(I) $<
160 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
161  
162  cholmod_sparse.o: ../Core/cholmod_sparse.c
163 -       $(C) -c $(I) $<
164 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
165  
166  cholmod_complex.o: ../Core/cholmod_complex.c
167 -       $(C) -c $(I) $<
168 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
169  
170  cholmod_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c
171 -       $(C) -c $(I) $<
172 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
173  
174  cholmod_band.o: ../Core/cholmod_band.c
175 -       $(C) -c $(I) $<
176 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
177  
178  cholmod_copy.o: ../Core/cholmod_copy.c
179 -       $(C) -c $(I) $<
180 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
181  
182  cholmod_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c
183 -       $(C) -c $(I) $<
184 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
185  
186  cholmod_error.o: ../Core/cholmod_error.c
187 -       $(C) -c $(I) $<
188 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
189  
190  cholmod_aat.o: ../Core/cholmod_aat.c
191 -       $(C) -c $(I) $<
192 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
193  
194  cholmod_add.o: ../Core/cholmod_add.c
195 -       $(C) -c $(I) $<
196 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
197  
198  #-------------------------------------------------------------------------------
199  
200  cholmod_l_common.o: ../Core/cholmod_common.c
201 -       $(C) -DDLONG -c $(I) $< -o $@
202 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
203  
204  cholmod_l_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c
205 -       $(C) -DDLONG -c $(I) $< -o $@
206 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
207  
208  cholmod_l_factor.o: ../Core/cholmod_factor.c
209 -       $(C) -DDLONG -c $(I) $< -o $@
210 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
211  
212  cholmod_l_change_factor.o: ../Core/cholmod_change_factor.c \
213         ../Core/t_cholmod_change_factor.c
214 -       $(C) -DDLONG -c $(I) $< -o $@
215 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
216  
217  cholmod_l_memory.o: ../Core/cholmod_memory.c
218 -       $(C) -DDLONG -c $(I) $< -o $@
219 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
220  
221  cholmod_l_sparse.o: ../Core/cholmod_sparse.c
222 -       $(C) -DDLONG -c $(I) $< -o $@
223 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
224  
225  cholmod_l_complex.o: ../Core/cholmod_complex.c
226 -       $(C) -DDLONG -c $(I) $< -o $@
227 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
228  
229  cholmod_l_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c
230 -       $(C) -DDLONG -c $(I) $< -o $@
231 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
232  
233  cholmod_l_band.o: ../Core/cholmod_band.c
234 -       $(C) -DDLONG -c $(I) $< -o $@
235 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
236  
237  cholmod_l_copy.o: ../Core/cholmod_copy.c
238 -       $(C) -DDLONG -c $(I) $< -o $@
239 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
240  
241  cholmod_l_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c
242 -       $(C) -DDLONG -c $(I) $< -o $@
243 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
244  
245  cholmod_l_error.o: ../Core/cholmod_error.c
246 -       $(C) -DDLONG -c $(I) $< -o $@
247 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
248  
249  cholmod_l_aat.o: ../Core/cholmod_aat.c
250 -       $(C) -DDLONG -c $(I) $< -o $@
251 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
252  
253  cholmod_l_add.o: ../Core/cholmod_add.c
254 -       $(C) -DDLONG -c $(I) $< -o $@
255 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
256  
257  
258  #-------------------------------------------------------------------------------
259 @@ -259,116 +265,116 @@
260  #-------------------------------------------------------------------------------
261  
262  cholmod_amd.o: ../Cholesky/cholmod_amd.c
263 -       $(C) -c $(I) $<
264 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
265  
266  cholmod_analyze.o: ../Cholesky/cholmod_analyze.c
267 -       $(C) -c $(I) $<
268 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
269  
270  cholmod_colamd.o: ../Cholesky/cholmod_colamd.c
271 -       $(C) -c $(I) $<
272 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
273  
274  cholmod_etree.o: ../Cholesky/cholmod_etree.c
275 -       $(C) -c $(I) $<
276 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
277  
278  cholmod_factorize.o: ../Cholesky/cholmod_factorize.c
279 -       $(C) -c $(I) $<
280 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
281  
282  cholmod_postorder.o: ../Cholesky/cholmod_postorder.c
283 -       $(C) -c $(I) $<
284 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
285  
286  cholmod_rcond.o: ../Cholesky/cholmod_rcond.c
287 -       $(C) -c $(I) $<
288 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
289  
290  cholmod_resymbol.o: ../Cholesky/cholmod_resymbol.c
291 -       $(C) -c $(I) $<
292 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
293  
294  cholmod_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c
295 -       $(C) -c $(I) $<
296 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
297  
298  cholmod_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \
299         ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c
300 -       $(C) -c $(I) $<
301 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
302  
303  cholmod_spsolve.o: ../Cholesky/cholmod_spsolve.c
304 -       $(C) -c $(I) $<
305 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
306  
307  cholmod_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c
308 -       $(C) -c $(I) $<
309 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
310  
311  #-------------------------------------------------------------------------------
312  
313  cholmod_l_amd.o: ../Cholesky/cholmod_amd.c
314 -       $(C) -DDLONG -c $(I) $< -o $@
315 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
316  
317  cholmod_l_analyze.o: ../Cholesky/cholmod_analyze.c
318 -       $(C) -DDLONG -c $(I) $< -o $@
319 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
320  
321  cholmod_l_colamd.o: ../Cholesky/cholmod_colamd.c
322 -       $(C) -DDLONG -c $(I) $< -o $@
323 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
324  
325  cholmod_l_etree.o: ../Cholesky/cholmod_etree.c
326 -       $(C) -DDLONG -c $(I) $< -o $@
327 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
328  
329  cholmod_l_factorize.o: ../Cholesky/cholmod_factorize.c
330 -       $(C) -DDLONG -c $(I) $< -o $@
331 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
332  
333  cholmod_l_postorder.o: ../Cholesky/cholmod_postorder.c
334 -       $(C) -DDLONG -c $(I) $< -o $@
335 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
336  
337  cholmod_l_rcond.o: ../Cholesky/cholmod_rcond.c
338 -       $(C) -DDLONG -c $(I) $< -o $@
339 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
340  
341  cholmod_l_resymbol.o: ../Cholesky/cholmod_resymbol.c
342 -       $(C) -DDLONG -c $(I) $< -o $@
343 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
344  
345  cholmod_l_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c
346 -       $(C) -DDLONG -c $(I) $< -o $@
347 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
348  
349  cholmod_l_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \
350         ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c
351 -       $(C) -DDLONG -c $(I) $< -o $@
352 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
353  
354  cholmod_l_spsolve.o: ../Cholesky/cholmod_spsolve.c
355 -       $(C) -DDLONG -c $(I) $< -o $@
356 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
357  
358  cholmod_l_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c
359 -       $(C) -DDLONG -c $(I) $< -o $@
360 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
361  
362  #-------------------------------------------------------------------------------
363  # Partition Module:
364  #-------------------------------------------------------------------------------
365  
366  cholmod_ccolamd.o: ../Partition/cholmod_ccolamd.c
367 -       $(C) -c $(I) $<
368 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
369  
370  cholmod_csymamd.o: ../Partition/cholmod_csymamd.c
371 -       $(C) -c $(I) $<
372 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
373  
374  cholmod_camd.o: ../Partition/cholmod_camd.c
375 -       $(C) -c $(I) $<
376 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
377  
378  cholmod_metis.o: ../Partition/cholmod_metis.c
379 -       $(C) -c $(I) $<
380 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
381  
382  cholmod_nesdis.o: ../Partition/cholmod_nesdis.c
383 -       $(C) -c $(I) $<
384 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
385  
386  #-------------------------------------------------------------------------------
387  
388  cholmod_l_ccolamd.o: ../Partition/cholmod_ccolamd.c
389 -       $(C) -DDLONG -c $(I) $< -o $@
390 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
391  
392  cholmod_l_csymamd.o: ../Partition/cholmod_csymamd.c
393 -       $(C) -DDLONG -c $(I) $< -o $@
394 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
395  
396  cholmod_l_camd.o: ../Partition/cholmod_camd.c
397 -       $(C) -DDLONG -c $(I) $< -o $@
398 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
399  
400  cholmod_l_metis.o: ../Partition/cholmod_metis.c
401 -       $(C) -DDLONG -c $(I) $< -o $@
402 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
403  
404  cholmod_l_nesdis.o: ../Partition/cholmod_nesdis.c
405 -       $(C) -DDLONG -c $(I) $< -o $@
406 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
407  
408  
409  #-------------------------------------------------------------------------------
410 @@ -376,88 +382,88 @@
411  #-------------------------------------------------------------------------------
412  
413  cholmod_horzcat.o: ../MatrixOps/cholmod_horzcat.c
414 -       $(C) -c $(I) $<
415 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
416  
417  cholmod_norm.o: ../MatrixOps/cholmod_norm.c
418 -       $(C) -c $(I) $<
419 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
420  
421  cholmod_scale.o: ../MatrixOps/cholmod_scale.c
422 -       $(C) -c $(I) $<
423 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
424  
425  cholmod_drop.o: ../MatrixOps/cholmod_drop.c
426 -       $(C) -c $(I) $<
427 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
428  
429  cholmod_sdmult.o: ../MatrixOps/cholmod_sdmult.c \
430         ../MatrixOps/t_cholmod_sdmult.c
431 -       $(C) -c $(I) $<
432 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
433  
434  cholmod_ssmult.o: ../MatrixOps/cholmod_ssmult.c
435 -       $(C) -c $(I) $<
436 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
437  
438  cholmod_submatrix.o: ../MatrixOps/cholmod_submatrix.c
439 -       $(C) -c $(I) $<
440 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
441  
442  cholmod_vertcat.o: ../MatrixOps/cholmod_vertcat.c
443 -       $(C) -c $(I) $<
444 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
445  
446  cholmod_symmetry.o: ../MatrixOps/cholmod_symmetry.c
447 -       $(C) -c $(I) $<
448 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
449  
450  #-------------------------------------------------------------------------------
451  
452  cholmod_l_horzcat.o: ../MatrixOps/cholmod_horzcat.c
453 -       $(C) -DDLONG -c $(I) $< -o $@
454 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
455  
456  cholmod_l_norm.o: ../MatrixOps/cholmod_norm.c
457 -       $(C) -DDLONG -c $(I) $< -o $@
458 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
459  
460  cholmod_l_scale.o: ../MatrixOps/cholmod_scale.c
461 -       $(C) -DDLONG -c $(I) $< -o $@
462 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
463  
464  cholmod_l_drop.o: ../MatrixOps/cholmod_drop.c
465 -       $(C) -DDLONG -c $(I) $< -o $@
466 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
467  
468  cholmod_l_sdmult.o: ../MatrixOps/cholmod_sdmult.c \
469         ../MatrixOps/t_cholmod_sdmult.c
470 -       $(C) -DDLONG -c $(I) $< -o $@
471 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
472  
473  cholmod_l_ssmult.o: ../MatrixOps/cholmod_ssmult.c
474 -       $(C) -DDLONG -c $(I) $< -o $@
475 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
476  
477  cholmod_l_submatrix.o: ../MatrixOps/cholmod_submatrix.c
478 -       $(C) -DDLONG -c $(I) $< -o $@
479 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
480  
481  cholmod_l_vertcat.o: ../MatrixOps/cholmod_vertcat.c
482 -       $(C) -DDLONG -c $(I) $< -o $@
483 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
484  
485  cholmod_l_symmetry.o: ../MatrixOps/cholmod_symmetry.c
486 -       $(C) -DDLONG -c $(I) $< -o $@
487 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
488  
489  #-------------------------------------------------------------------------------
490  # Modify Module:
491  #-------------------------------------------------------------------------------
492  
493  cholmod_rowadd.o: ../Modify/cholmod_rowadd.c
494 -       $(C) -c $(I) $<
495 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
496  
497  cholmod_rowdel.o: ../Modify/cholmod_rowdel.c
498 -       $(C) -c $(I) $<
499 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
500  
501  cholmod_updown.o: ../Modify/cholmod_updown.c \
502         ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c
503 -       $(C) -c $(I) $<
504 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
505  
506  #-------------------------------------------------------------------------------
507  
508  cholmod_l_rowadd.o: ../Modify/cholmod_rowadd.c
509 -       $(C) -DDLONG -c $(I) $< -o $@
510 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
511  
512  cholmod_l_rowdel.o: ../Modify/cholmod_rowdel.c
513 -       $(C) -DDLONG -c $(I) $< -o $@
514 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
515  
516  cholmod_l_updown.o: ../Modify/cholmod_updown.c \
517         ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c
518 -       $(C) -DDLONG -c $(I) $< -o $@
519 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
520  
521  
522  #-------------------------------------------------------------------------------
523 @@ -466,24 +472,24 @@
524  
525  cholmod_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \
526         ../Supernodal/t_cholmod_super_numeric.c
527 -       $(C) -c $(I) $<
528 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
529  
530  cholmod_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c
531 -       $(C) -c $(I) $<
532 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
533  
534  cholmod_super_solve.o: ../Supernodal/cholmod_super_solve.c \
535         ../Supernodal/t_cholmod_super_solve.c
536 -       $(C) -c $(I) $<
537 +       libtool --tag=CC --mode=compile $(C) $(I) -c $<
538  
539  #-------------------------------------------------------------------------------
540  
541  cholmod_l_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \
542         ../Supernodal/t_cholmod_super_numeric.c
543 -       $(C) -DDLONG -c $(I) $< -o $@
544 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
545  
546  cholmod_l_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c
547 -       $(C) -DDLONG -c $(I) $< -o $@
548 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
549  
550  cholmod_l_super_solve.o: ../Supernodal/cholmod_super_solve.c \
551         ../Supernodal/t_cholmod_super_solve.c
552 -       $(C) -DDLONG -c $(I) $< -o $@
553 +       libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
This page took 0.183497 seconds and 3 git commands to generate.