/[ascend]/trunk/base/jam/Jamfile
ViewVC logotype

Diff of /trunk/base/jam/Jamfile

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

revision 60 by jds, Mon Oct 31 03:39:15 2005 UTC revision 61 by jds, Mon Nov 14 02:37:20 2005 UTC
# Line 518  TEST_SOURCES = Line 518  TEST_SOURCES =
518    test_set.c    test_set.c
519    test_register_solver.c    test_register_solver.c
520    test_slv_common.c    test_slv_common.c
521    #  test_slv.c
522    ;    ;
523    
524  CCFLAGS on $(TEST_SOURCES) +=  CCFLAGS on $(TEST_SOURCES) +=
# Line 527  CCFLAGS on $(TEST_SOURCES) += Line 528  CCFLAGS on $(TEST_SOURCES) +=
528    
529  Main $(TEST_PROG) : $(TEST_SOURCES) ;  Main $(TEST_PROG) : $(TEST_SOURCES) ;
530  MakeLocate $(TEST_PROG)$(SUFEXE) : $(BUILD_DIR) ;  MakeLocate $(TEST_PROG)$(SUFEXE) : $(BUILD_DIR) ;
531  LinkLibraries $(TEST_PROG) :  
532    $(ASC_BASE_LIBS)  CUNIT_LIB_NAME = libcunit ;
   $(ASC_BASE_LIBS)  
   ..$(SLASH)..$(SLASH)test$(SLASH)libcunit$(SUFLIB) ;  
533    
534  if $(NT)  if $(NT)
535  {  {
# Line 539  if $(NT) Line 538  if $(NT)
538      # need to fix Borland to include library location      # need to fix Borland to include library location
539      LINKFLAGS on $(TEST_PROG)$(SUFEXE) += -L$(STDLIBPATH) -tWC ;      LINKFLAGS on $(TEST_PROG)$(SUFEXE) += -L$(STDLIBPATH) -tWC ;
540    }    }
541      else if $(MINGW) || ( $(TOOLSET) = MINGW )
542      {
543        CUNIT_LIB_NAME = libcunit_mingw ;
544      }
545  }  }
546    
547  if $(UNIX) || $(OS) = LINUX  if $(UNIX) || $(OS) = LINUX
548  {  {
549      LINKFLAGS on $(TEST_PROG)$(SUFEXE) += $(DL_LIBS) $(MATH_LIBS) ;      LINKFLAGS on $(TEST_PROG)$(SUFEXE) += $(DL_LIBS) $(MATH_LIBS) ;
 }  
550    }
551    
552    LinkLibraries $(TEST_PROG) :
553      $(ASC_BASE_LIBS)
554      $(ASC_BASE_LIBS)
555      ..$(SLASH)..$(SLASH)test$(SLASH)$(CUNIT_LIB_NAME)$(SUFLIB)
556      ;
557    
558    #LINKLIBS on $(TEST_PROG)$(SUFEXE) +=
559    #    $(FOR_LIBS)
560    #    $(PC_LIBS)
561    #    $(MATH_LIBS)
562    #    $(DL_LIBS)
563    #    $(DEBUG_LIBS)
564    #    ;
565      

Legend:
Removed from v.60  
changed lines
  Added in v.61

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