SCM

SCM Repository

[matrix] Diff of /pkg/src/Makefile
ViewVC logotype

Diff of /pkg/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 301, Sun Oct 17 05:06:04 2004 UTC revision 912, Thu Sep 15 14:53:55 2005 UTC
# Line 1  Line 1 
1  #  #
2  pkg = Matrix  pkg = Matrix
3    
4  PKG_CFLAGS = -I./Metis  #PKG_CFLAGS = -I./Metis
5  PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}  PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
6  SOURCES_C =  \  include SOURCES_C.mkf
7              LU.c \  OBJECTS = $(SOURCES_C:.c=.o)
             Mutils.c \  
             Metis_utils.c \  
             cscBlocked.c \  
             cscMatrix.c \  
             dense.c \  
             factorizations.c \  
             geMatrix.c \  
             init.c \  
             ldl.c \  
             lmeRep.c \  
             poMatrix.c \  
             sscCrosstab.c \  
             sscMatrix.c \  
             ssclme.c \  
             syMatrix.c \  
             trMatrix.c \  
             triplet.c \  
             triplet_to_col.c \  
             tscMatrix.c \  
             # flame.c  
 SOURCES_F = foo.f  
 OBJECTS = $(SOURCES_C:.c=.o) $(SOURCES_F:.f=.o)  
8  SHLIB = $(pkg)$(SHLIB_EXT)  SHLIB = $(pkg)$(SHLIB_EXT)
9  SUBDIRS = Metis  SUBDIRS = CHOLMOD UMFPACK Metis AMD COLAMD LDL CCOLAMD
10  SUBLIBS = $(SUBDIRS:=.a)  SUBLIBS = $(SUBDIRS:=.a)
11    SUBSTAMP = $(SUBDIRS:=.stamp)
12    
13  $(SHLIB): $(OBJECTS) $(SUBLIBS)  $(SHLIB): $(OBJECTS) $(SUBLIBS)
14          $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)          $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)
# Line 38  Line 17 
17    
18  mostlyclean: clean  mostlyclean: clean
19    
20  $(SUBLIBS):  $(SUBLIBS): $(SUBSTAMP)
21          @for d in $(SUBDIRS); do \          @for d in $(SUBDIRS); do \
22            (cd $${d} && $(MAKE) lib) || exit 1; \            (cd $${d} && $(MAKE) lib) || exit 1; \
23              touch $${d}.stamp; \
24          done          done
25    
26    $(SUBSTAMP):
27            touch $(SUBSTAMP)
28    
29  clean:  clean:
30          @-rm -rf .libs _libs          @-rm -rf .libs _libs
31          @-rm -f *.o          @-rm -f *.o *.so *.a
32            @for d in $(SUBDIRS); do \
33              (cd $${d} && $(MAKE) clean) || exit 1; \
34              rm -f $${d}.stamp; \
35            done
36    
37  LU.o: LU.c LU.h trMatrix.h Mutils.h  include DEPS.mkf
 Metis_utils.o: Metis_utils.c Metis_utils.h \  
   Metis/metis.h Metis/defs.h \  
   Metis/struct.h Metis/macros.h Metis/rename.h Metis/proto.h  
 Mutils.o: Mutils.c Mutils.h triplet_to_col.h  
 cscMatrix.o: cscMatrix.c cscMatrix.h Mutils.h  
 dense.o: dense.c dense.h  
 factorizations.o: factorizations.c factorizations.h Mutils.h  
 flame.o: flame.c flame.h  
 geMatrix.o: geMatrix.c geMatrix.h  
 geMutils.o: geMutils.c geMutils.h  
 ldl.o: ldl.c ldl.h  
 pdDiag.o: pdDiag.c Mutils.h  
 pdIdent.o: pdIdent.c Mutils.h  
 pdLogChol.o: pdLogChol.c Mutils.h  
 pdMat.o: pdMat.c Mutils.h  
 pdNatural.o: pdNatural.c Mutils.h  
 poMatrix.o: poMatrix.c poMatrix.h  
 sscChol.o: sscChol.c sscChol.h tscMatrix.h Mutils.h  
 sscCrosstab.o: sscCrosstab.c sscCrosstab.h Mutils.h  
 sscMatrix.o: sscMatrix.c sscMatrix.h  
 ssclme.o: ssclme.c ssclme.h sscCrosstab.h Mutils.h ldl.h  
 syMatrix.o: syMatrix.c syMatrix.h geMatrix.h  
 trMatrix.o: trMatrix.c trMatrix.h  
 triplet.o: triplet.c triplet.h Mutils.h  
 tscMatrix.o: tscMatrix.c tscMatrix.h Mutils.h  

Legend:
Removed from v.301  
changed lines
  Added in v.912

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge