SCM

SCM Repository

[matrix] Annotation of /pkg/Matrix/src/Makevars
ViewVC logotype

Annotation of /pkg/Matrix/src/Makevars

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2586 - (view) (download)

1 : mmaechler 2289 # -*- Makefile -*-
2 :    
3 :     PKG_CPPFLAGS = -I./UFconfig
4 :     ## we use the BLAS and the LAPACK library:
5 :     PKG_LIBS = $(SUBLIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
6 :    
7 :     MkInclude = $(R_HOME)/etc${R_ARCH}/Makeconf
8 :    
9 : mmaechler 2293 include scripts/SOURCES_C.mkf
10 : mmaechler 2289
11 :     OBJECTS = $(SOURCES_C:.c=.o)
12 : mmaechler 2583 SUBDIRS = CHOLMOD COLAMD AMD
13 : mmaechler 2289 SUBLIBS = $(SUBDIRS:=.a)
14 :    
15 : mmaechler 2297 all: $(SHLIB)
16 :     ## making src/*.o and in sublibs can be done simultaneously
17 : mmaechler 2379 # for development:
18 :     #$(SHLIB): $(OBJECTS)
19 :     # for real:
20 : mmaechler 2297 $(SHLIB): $(OBJECTS) sublibs
21 : mmaechler 2289
22 : mmaechler 2297 ## We have to clean here, to clean up between architectures:
23 :     ## INSTALL only cleans src/*.o src/*$(SHLIB_EXT) for each arch
24 :     sublibs: subclean
25 : mmaechler 2289 @for d in $(SUBDIRS); do \
26 :     (cd $${d} && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" MkInclude="$(MkInclude)" $(MAKE) library) || exit 1; \
27 :     done
28 :    
29 : mmaechler 2297 clean: subclean
30 : mmaechler 2289 @-rm -rf .libs _libs
31 : mmaechler 2297 @-rm -f *.o $(SHLIB)
32 :    
33 :     subclean:
34 :     @-rm -f *.a
35 : mmaechler 2289 @for d in $(SUBDIRS); do \
36 :     (cd $${d} && MkInclude="$(MkInclude)" $(MAKE) clean) || exit 1; \
37 :     done
38 :    
39 : mmaechler 2297
40 : mmaechler 2293 include scripts/DEPS.mkf

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