/[ascend]/trunk/pygtk/SConscript
ViewVC logotype

Diff of /trunk/pygtk/SConscript

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

revision 1677 by jpye, Sun Jun 3 06:19:35 2007 UTC revision 1678 by jpye, Wed Dec 19 00:29:48 2007 UTC
# Line 52  def get_new_swig_flags(env): Line 52  def get_new_swig_flags(env):
52      sep = ":"      sep = ":"
53      if platform.system=="Windows": sep=";"      if platform.system=="Windows": sep=";"
54    
55      print "FLAGS=%s" % env.get('MFGRAPH_CPPPATH')      print "FLAGS=%s" % env.get('GRAPHVIZ_CPPPATH')
56      if env.get('WITH_MFGRAPH') and env.get('MFGRAPH_CPPPATH'):      if env.get('WITH_GRAPHVIZ') and env.get('GRAPHVIZ_CPPPATH'):
57          flags += ['-I%s' % i for i in env.get('MFGRAPH_CPPPATH').split(sep)]          flags += ['-I%s' % i for i in env.get('GRAPHVIZ_CPPPATH').split(sep)]
58      return flags      return flags
59    
60  swig_env = python_env.Copy()  swig_env = python_env.Copy()
# Line 91  if env.get('WITH_DMALLOC'): Line 91  if env.get('WITH_DMALLOC'):
91      swig_env.Append(LIBS = ['dmalloc'])      swig_env.Append(LIBS = ['dmalloc'])
92      swig_env.AppendUnique(LIBPATH = [env.get('DMALLOC_LIBPATH')])      swig_env.AppendUnique(LIBPATH = [env.get('DMALLOC_LIBPATH')])
93    
94  if env.get('WITH_MFGRAPH'):  if env.get('WITH_GRAPHVIZ'):
95      swig_env.Append(LIBS = ['mfgraph'])      swig_env.Append(LIBS = env['GRAPHVIZ_LIBS'])
96      swig_env.AppendUnique(LIBPATH = [env.get('MFGRAPH_LIBPATH')])      swig_env.AppendUnique(LIBPATH = [env.get('GRAPHVIZ_LIBPATH')])
97    
98  swiglib = swig_env.SharedLibrary("ascpy",objs + swigobjs  swiglib = swig_env.SharedLibrary("ascpy",objs + swigobjs
99      , SHLIBPREFIX = '_'      , SHLIBPREFIX = '_'

Legend:
Removed from v.1677  
changed lines
  Added in v.1678

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