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