Changeset 15096


Ignore:
Timestamp:
05/24/13 10:29:34 (12 years ago)
Author:
Eric.Larour
Message:

CHG: resolved cyclical dependency issue

Location:
issm/trunk-jpl/src/wrappers
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/matlab/Makefile.am

    r14889 r15096  
    2525                                ./io/MatlabMatrixToIssmMat.cpp\
    2626                                ./io/MatlabVectorToIssmVec.cpp
     27
    2728                               
    2829if PETSC
     
    3637if SHAREDLIBS
    3738libISSMMatlab_la_SOURCES = $(io_sources)
     39endif
     40#}}}
     41#api io{{{
     42lib_LIBRARIES += libISSMApi.a
     43if SHAREDLIBS
     44lib_LTLIBRARIES += libISSMApi.la
     45else
     46lib_LTLIBRARIES +=
     47endif
     48
     49api_sources= ./io/ApiPrintf.cpp
     50
     51libISSMApi_a_SOURCES = $(api_sources)
     52libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS)
     53if SHAREDLIBS
     54libISSMApi_la_SOURCES = $(api_sources)
    3855endif
    3956#}}}
     
    104121AM_LDFLAGS += -avoid-version
    105122endif
     123
    106124if SHAREDLIBS
    107125deps += ./libISSMMatlab.la
     
    121139endif
    122140endif
     141
     142if SHAREDLIBS
     143deps += ./libISSMApi.la
     144else
     145deps += ./libISSMApi.a
     146endif
     147
     148
    123149
    124150#MEXLIB needs to be the last (undefined references on larsen)
  • issm/trunk-jpl/src/wrappers/matlab/io/WriteMatlabData.cpp

    r15091 r15096  
    488488}
    489489/*}}}*/
    490 
    491 /*Matlab printf i/o: */
    492 /*FUNCTION ApiPrintf(char* format, const char* string){{{*/
    493 void ApiPrintf(char* format,const char* string){
    494 
    495         /*use mexPrintf in matlab: */
    496         mexPrintf(format,string);
    497        
    498         return;
    499 }
    500 /*}}}*/
  • issm/trunk-jpl/src/wrappers/python/Makefile.am

    r14889 r15096  
    88lib_LTLIBRARIES = libISSMPython.la
    99else
    10         lib_LTLIBRARIES =
     10lib_LTLIBRARIES =
    1111endif
    1212
     
    2222if SHAREDLIBS
    2323libISSMPython_la_SOURCES = $(io_sources)
     24endif
     25#}}}
     26#api io{{{
     27lib_LIBRARIES += libISSMApi.a
     28if SHAREDLIBS
     29lib_LTLIBRARIES += libISSMApi.la
     30else
     31lib_LTLIBRARIES +=
     32endif
     33
     34api_sources= ./io/ApiPrintf.cpp
     35
     36libISSMApi_a_SOURCES = $(api_sources)
     37libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS)
     38if SHAREDLIBS
     39libISSMApi_la_SOURCES = $(api_sources)
    2440endif
    2541#}}}
     
    7995deps += $(ADOLCLIB)
    8096endif
     97
     98if SHAREDLIBS
     99deps += ./libISSMApi.la
     100else
     101deps += ./libISSMApi.a
     102endif
     103
     104
    81105
    82106endif
Note: See TracChangeset for help on using the changeset viewer.