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