Show
Ignore:
Timestamp:
2007-10-02 23:54:01 (4 years ago)
Author:
caedesv
Message:

adapted cel for bindingsplit merge into cs trunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cel/trunk/plugins/behaviourlayer/python/Jamfile

    r2655 r3012  
    3636    { 
    3737      SEARCH on $(blcelcpp) = $(SEARCH_SOURCE) ; 
    38       local frozenpy = $(blcelpy:G=frozenblcelpy) ; 
    39       SEARCH on $(frozenpy) = [ ConcatDirs $(TOP) scripts ] ; 
    40       Copy $(blcelpy) : $(frozenpy) ; 
    41       Depends $(blcelpy) : $(frozenpy) ; 
    4238    } 
    4339  } 
     
    7470  # blpython plugin. 
    7571  #-------- 
     72  local swigruntime = swigpyruntime.h ; 
     73  if $(CMD.SWIG) 
     74  { 
     75    SwigExternalRuntime $(swigruntime) : 
     76      python : 
     77      -c++ -shadow : 
     78      $(SEARCH_SOURCE) [ ConcatDirs $(TOP) scripts python ] : 
     79      blpython ; 
     80    Depends blpythonclean : blpythonswigclean ; 
     81  } 
     82  else 
     83  { 
     84    SEARCH on $(swigruntime) = $(SEARCH_SOURCE) ; 
     85  } 
     86 
     87  save_HDRS = $(HDRS) ; 
     88  HDRS = [ on $(swigruntime) GetVar LOCATE ] $(HDRS) ; 
    7689  Plugin blpython : blpython.cpp blpython.h pytocel.cpp PYCEL_py.cpp ; 
    7790  LinkWith blpython : cel_python ; 
    7891  ExternalLibs blpython : PYTHON CRYSTAL ;  
    7992  CFlags blpython : $(CELPYTHON.CFLAGS) ; 
    80    
     93  HDRS = $(save_HDRS) ; 
     94 
    8195  #-------- 
    8296  # blcelmod -- Pure Python module