/[ascend]/trunk/pygtk/interface/Makefile
ViewVC logotype

Diff of /trunk/pygtk/interface/Makefile

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

revision 142 by johnpye, Wed Dec 21 07:32:17 2005 UTC revision 143 by johnpye, Thu Dec 22 03:41:47 2005 UTC
# Line 19  HDRS = $(CLASSES:%=%.h) Line 19  HDRS = $(CLASSES:%=%.h)
19    
20  all:  all:
21    
22    
23    ASCEND_CPPFLAGS = -I../../base/generic -I../../base/generic/solver -I../../base/generic/compiler -I../../base/generic/utilities -I../../base/generic/general -I../../base/generic/packages
24    
25  #-------------------------  #-------------------------
26  # Linking with ASCEND  # Linking with ASCEND
27    
28  ASCEND_CPPFLAGS = -I../../base/generic -I../../base/generic/solver -I../../base/generic/compiler -I../../base/generic/utilities -I../../base/generic/general -I../../base/generic/packages  ASC_TOOLS = autotools
29    
30  BLAS = /usr/lib/libblas.so.3.0.3  ifeq ($(ASCTOOLS),jam)
31        # If you build with jam
32        ARDIR = $(SOURCE_ROOT)/jam/Release/linux    
33        ASC_BUILD_LIBS = cd $(SOURCE_ROOT)/jam; jam libs
34    else
35        ARDIR = $(SOURCE_ROOT)/base/autotools/archive
36        ASC_BUILD_LIBS = cd $(SOURCE_ROOT)/base/autotools; make libs
37    endif
38    
39  #BUILDDIR = $(SOURCE_ROOT)/base/unixAC213  # Libs now are named the same way on both autotools and jam builds...
 #ARDIR = $(BUILDDIR)/archive  
 #ASC_LIBS_STEM = asc packages solver utils general  
 #ASC_LIBS = $(ASC_LIBS_STEM:%=$(ARDIR)/lib%.a)  
 BUILDDIR = $(SOURCE_ROOT)/base/jam/Release/linux  
 ARDIR = $(BUILDDIR)  
40  ASC_LIBS_STEM = compiler packages solver utilities general  ASC_LIBS_STEM = compiler packages solver utilities general
41  ASC_LIBS = $(ASC_LIBS_STEM:%=$(ARDIR)/libasc_%.a)  ASC_LIBS = $(ASC_LIBS_STEM:%=$(ARDIR)/libasc%.a)
42    
43  $(ASC_LIBS): libs  $(ASC_LIBS): libs
44    
45  .PHONY: libs  .PHONY: libs
46    
47  libs:  libs:
48      cd $(SOURCE_ROOT)/base/jam; \      $(ASC_BUILD_LIBS)
     jam $(_smp_mflags) -f../../jam/Jambase libs;  
49    
50  #------------------  #------------------
51  # PYTHON STUFF  # PYTHON STUFF
# Line 84  clean: Line 88  clean:
88      -rmdir .libs      -rmdir .libs
89    
90  cleanall: clean  cleanall: clean
91      cd $(SOURCE_ROOT)/base/jam; \      cd $(SOURCE_ROOT)/jam; \
92      jam -f../../jam/Jambase clean;      jam clean;
93            
94  #--------------------------  #--------------------------
95  # Pure C++ testing  # Pure C++ testing

Legend:
Removed from v.142  
changed lines
  Added in v.143

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22