Changeset 137 for trunk/Softwares
- Timestamp:
- Feb 16, 2010, 1:35:48 PM (15 years ago)
- Location:
- trunk/Softwares
- Files:
-
- 1 added
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Basic_test/Makefile
r100 r137 15 15 DIR_LDSCRIPT = ../Common/ldscript/ 16 16 17 INCDIR = -I$(DIR_INC) -I$(DIR_COMMON_INC) $( NEWLIB_INCDIR)18 LIBDIR = $( NEWLIB_LIBDIR)19 LIBNAME = $( NEWLIB_LIBNAME)17 INCDIR = -I$(DIR_INC) -I$(DIR_COMMON_INC) $($(OS)_INCDIR) 18 LIBDIR = $($(OS)_LIBDIR) 19 LIBNAME = $($(OS)_LIBNAME) 20 20 21 21 #-----[ Files ]------------------------------------------------------------------- -
trunk/Softwares/Dhrystone/Makefile
r130 r137 17 17 DIR_SYS = $(DIR_SRC)/sys 18 18 DIR_INC = $(DIR_SRC)/include 19 DIR_LDSCRIPT = $( NEWLIB)/lib/19 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 20 20 21 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)22 LIBDIR = $( NEWLIB_LIBDIR)23 LIBNAME = $( NEWLIB_LIBNAME)21 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 22 LIBDIR = $($(OS)_LIBDIR) 23 LIBNAME = $($(OS)_LIBNAME) 24 24 25 25 FLAGS = -DDHRYSTONE_NB_RUNS=$(DHRYSTONE_NB_RUNS) 26 26 27 27 #-----[ Files ]------------------------------------------------------------------- 28 OBJECTS = $( NEWLIB)/lib/*.o\28 OBJECTS = $($(OS)_OBJECTS) \ 29 29 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 30 30 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Makefile.Software
r136 r137 13 13 endif 14 14 15 include $(MORPHEO_TOPLEVEL)/Softwares/Makefile.defs 16 15 17 #-----[ Directory ]--------------------------------------------------------------- 18 16 19 DIR_OBJ = obj 17 20 DIR_BIN = bin … … 19 22 EXE = soft 20 23 21 DIR_COMMON = $(MORPHEO_TOPLEVEL)/Softwares/Common22 DIR_COMMON_C = $(DIR_COMMON)/src/c23 DIR_COMMON_ASM = $(DIR_COMMON)/src/asm24 DIR_COMMON_SYS = $(DIR_COMMON)/src/sys25 DIR_COMMON_INC = $(DIR_COMMON)/include24 DIR_COMMON = $(MORPHEO_TOPLEVEL)/Softwares/Common 25 DIR_COMMON_C = $(DIR_COMMON)/src/c 26 DIR_COMMON_ASM = $(DIR_COMMON)/src/asm 27 DIR_COMMON_SYS = $(DIR_COMMON)/src/sys 28 DIR_COMMON_INC = $(DIR_COMMON)/include 26 29 27 OBJECTS_COMMON = $(patsubst $(DIR_COMMON_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_SYS)/*.s))\28 $(patsubst $(DIR_COMMON_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_ASM)/*.s))\29 $(patsubst $(DIR_COMMON_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_C)/*.c))30 OBJECTS_COMMON = $(patsubst $(DIR_COMMON_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_SYS)/*.s))\ 31 $(patsubst $(DIR_COMMON_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_ASM)/*.s))\ 32 $(patsubst $(DIR_COMMON_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_COMMON_C)/*.c)) 30 33 31 34 32 35 #-----[ To the compilation ]------------------------------------------------------ 33 OPTIMIZE = -O3 -std=c99 -fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float 36 37 #~~~~~[ OS : Newlib ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 NEWLIB_DIR_LDSCRIPT = $(NEWLIB)/lib/ 39 #NEWLIB_INCDIR 40 #NEWLIB_LIBDIR 41 #NEWLIB_LIBNAME 42 NEWLIB_OBJECTS = $(NEWLIB)/lib/*.o 43 44 #~~~~~[ OS : UNIX ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 UNIX_DIR_LDSCRIPT = 46 UNIX_INCDIR = 47 UNIX_LIBDIR = 48 UNIX_LIBNAME = -lm 49 UNIX_OBJECTS = 50 51 52 #~~~~~[ TARGET : MORPHEO ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 54 MORPHEO_OPTIMIZE = -O3 -std=c99 -fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float 34 55 35 56 #Option : … … 48 69 49 70 # Tools 50 OR32_CC= $(OR1K_BIN)/or32-elf-gcc51 OR32_AS= $(OR1K_BIN)/or32-elf-as52 OR32_LD= $(OR1K_BIN)/or32-elf-ld53 OR32_OBJDUMP = $(OR1K_BIN)/or32-elf-objdump54 OR32_NM = $(OR1K_BIN)/or32-elf-nm71 MORPHEO_CC = $(OR1K_BIN)/or32-elf-gcc 72 MORPHEO_AS = $(OR1K_BIN)/or32-elf-as 73 MORPHEO_LD = $(OR1K_BIN)/or32-elf-ld 74 MORPHEO_OBJDUMP = $(OR1K_BIN)/or32-elf-objdump 75 MORPHEO_NM = $(OR1K_BIN)/or32-elf-nm 55 76 56 77 # Tools's option 57 OR32_CC_OPT = -Wall $(INCDIR) $(OPTIMIZE) -Wlong-long -DMorpheo $(FLAGS)78 MORPHEO_CC_OPT = -Wall $(INCDIR) $(MORPHEO_OPTIMIZE) -Wlong-long -DMorpheo $(FLAGS) 58 79 # -DHAVE_LIBC 59 OR32_AS_OPT = 60 OR32_LD_OPT = -T$(DIR_LDSCRIPT)/or32.ld $(LIBDIR) $(LIBNAME) $(OR1K_LIBDIR) $(OR1K_LIBNAME) 61 OR32_OBJDUMP_OPT = -D 62 OR32_NM_OPT = -n 80 MORPHEO_AS_OPT = 81 MORPHEO_LD_OPT = -T$(DIR_LDSCRIPT)/or32.ld $(LIBDIR) $(LIBNAME) $(OR1K_LIBDIR) $(OR1K_LIBNAME) 82 MORPHEO_OBJDUMP_OPT = -D 83 MORPHEO_NM_OPT = -n 84 85 #~~~~~[ TARGET : x86 ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 87 x86_OPTIMIZE = -O3 -std=c99 88 89 x86_CC = gcc 90 x86_AS = as 91 x86_LD = gcc 92 x86_OBJDUMP = objdump 93 x86_NM = nm 94 95 x86_CC_OPT = -Wall $(INCDIR) $(x86_OPTIMIZE) -Wlong-long -DUNIX $(FLAGS) -g3 96 x86_AS_OPT = 97 x86_LD_OPT = $(LIBDIR) $(LIBNAME) -g3 98 x86_OBJDUMP_OPT = -D 99 x86_NM_OPT = -n 63 100 64 101 #-----[ Rules ]------------------------------------------------------------------- … … 77 114 $(MAKE) $(OBJECTS); \ 78 115 $(ECHO) "Linkage : $*.x"; \ 79 $( OR32_LD) -o $@ $(OBJECTS) $(OR32_LD_OPT); \116 $($(TARGET)_LD) -o $@ $(OBJECTS) $($(TARGET)_LD_OPT); \ 80 117 $(ECHO) "List symbols : $*.x.nm"; \ 81 $( OR32_NM) $(OR32_NM_OPT) $@ > $@.nm; \118 $($(TARGET)_NM) $($(TARGET)_NM_OPT) $@ > $@.nm; \ 82 119 $(ECHO) "Display info : $*.x.txt"; \ 83 $( OR32_OBJDUMP) $(OR32_OBJDUMP_OPT) $@ > $@.txt;\120 $($(TARGET)_OBJDUMP) $($(TARGET)_OBJDUMP_OPT) $@ > $@.txt;\ 84 121 echo $($(GREP) "l.jal 0" $@.txt); 85 122 … … 87 124 @\ 88 125 $(ECHO) "Compilation : $*.s"; \ 89 $( OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;90 # $( OR32_CC) $(OR32_CC_OPT) -S -o $@.s -c $^ ;126 $($(TARGET)_CC) $($(TARGET)_CC_OPT) -o $@ -c $^ ; 127 # $($(TARGET)_CC) $($(TARGET)_CC_OPT) -S -o $@.s -c $^ ; 91 128 92 129 $(DIR_OBJ)/%.o : %.c 93 130 @\ 94 131 $(ECHO) "Compilation : $*.c"; \ 95 $( OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;96 # $( OR32_CC) $(OR32_CC_OPT) -S -o $@.s -c $^ ;132 $($(TARGET)_CC) $($(TARGET)_CC_OPT) -o $@ -c $^ ; 133 # $($(TARGET)_CC) $($(TARGET)_CC_OPT) -S -o $@.s -c $^ ; 97 134 98 135 $(DIR_BIN) $(DIR_OBJ) : -
trunk/Softwares/MiBench/Makefile
r129 r137 17 17 DIR_SYS = $(DIR_SRC)/sys 18 18 DIR_INC = $(DIR_SRC)/include 19 DIR_LDSCRIPT = $( NEWLIB)/lib/19 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 20 20 21 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)22 LIBDIR = $( NEWLIB_LIBDIR)23 LIBNAME = $( NEWLIB_LIBNAME)21 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 22 LIBDIR = $($(OS)_LIBDIR) 23 LIBNAME = $($(OS)_LIBNAME) 24 24 25 25 MIBENCH_DATA_PATH = $(MORPHEO_TOPLEVEL)/Softwares/MiBench/data … … 28 28 29 29 #-----[ Files ]------------------------------------------------------------------- 30 OBJECTS = $( NEWLIB)/lib/*.o\30 OBJECTS = $($(OS)_OBJECTS) \ 31 31 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 32 32 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/MiBench/Makefile.defs
r130 r137 10 10 11 11 BENCHS = \ 12 automative.basicmath\ 13 automative.bitcount \ 14 automative.qsort \ 15 automative.susan \ 16 network.dijkstra \ 17 office.stringsearch \ 18 security.sha \ 12 automative.basicmath \ 13 automative.bitcount \ 14 automative.qsort \ 15 automative.susan \ 16 automative.susan_edges \ 17 automative.susan_corners \ 18 automative.susan_smoothing \ 19 network.dijkstra \ 20 office.stringsearch \ 21 security.sha \ 22 all \ 19 23 none 20 24 21 BENCHS_TYPE = -DMIBENCH_ LARGE25 BENCHS_TYPE = -DMIBENCH_SMALL 22 26 23 27 # MIBENCH_SMALL -
trunk/Softwares/MiBench/src/c/benchmark.c
r129 r137 148 148 free(argv[i]); 149 149 free(argv); 150 free(filename); 150 151 } 151 152 #endif … … 175 176 free(argv[i]); 176 177 free(argv); 178 free(filename); 177 179 } 178 180 #endif … … 193 195 194 196 //======================================================================================= 195 // [ run_automative_susan]196 //======================================================================================= 197 #ifdef MIBENCH_SMALL 198 void main_susan_ small (void)197 // [ run_automative_susan_egdes ] 198 //======================================================================================= 199 #ifdef MIBENCH_SMALL 200 void main_susan_edges_small (void) 199 201 { 200 202 int argc = 4; … … 205 207 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 206 208 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 209 char * filename_output = "output_small.edges.pgm"; 210 char * option = "-e"; 207 211 208 212 argv = (char **)malloc ((argc) * sizeof(char *)); … … 214 218 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 215 219 216 char * filename_output = "output_small.smoothing.pgm";217 char * option = "-s";218 219 220 argv[2] = (char *) malloc (strlen(filename_output)); 220 221 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); … … 225 226 main_susan(argc, argv); 226 227 227 for (int i=2; i<argc; ++i) 228 free(argv[i]); 229 230 filename_output = "output_small.edges.pgm"; 231 option = "-e"; 232 233 argv[2] = (char *) malloc (strlen(filename_output)); 234 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 235 236 argv[3] = (char *) malloc (strlen(option )); 237 argv[3] = memcpy(argv[3],option ,strlen(option )); 238 239 main_susan(argc, argv); 240 241 for (int i=2; i<argc; ++i) 242 free(argv[i]); 243 244 for (int i=2; i<argc; ++i) 245 free(argv[i]); 246 247 filename_output = "output_small.cornes.pgm"; 248 option = "-c"; 249 250 argv[2] = (char *) malloc (strlen(filename_output)); 251 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 252 253 argv[3] = (char *) malloc (strlen(option )); 254 argv[3] = memcpy(argv[3],option ,strlen(option )); 255 256 main_susan(argc, argv); 257 258 for (int i=0; i<argc; ++i) 259 free(argv[i]); 260 free(argv); 261 } 262 #endif 263 264 #ifdef MIBENCH_LARGE 265 void main_susan_large (void) 228 for (int i=0; i<argc; ++i) 229 free(argv[i]); 230 free(argv); 231 free(filename_input); 232 } 233 #endif 234 235 #ifdef MIBENCH_LARGE 236 void main_susan_edges_large (void) 266 237 { 267 238 int argc = 4; … … 272 243 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 273 244 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 245 char * filename_output = "output_large.edges.pgm"; 246 char * option = "-e"; 274 247 275 248 argv = (char **)malloc ((argc) * sizeof(char *)); … … 281 254 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 282 255 256 argv[2] = (char *) malloc (strlen(filename_output)); 257 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 258 259 argv[3] = (char *) malloc (strlen(option )); 260 argv[3] = memcpy(argv[3],option ,strlen(option )); 261 262 main_susan(argc, argv); 263 264 for (int i=0; i<argc; ++i) 265 free(argv[i]); 266 free(argv); 267 free(filename_input); 268 } 269 #endif 270 271 void run_automative_susan_edges (void) 272 { 273 printf("***** automative.susan.edges - Begin *****\n"); 274 275 #ifdef MIBENCH_SMALL 276 main_susan_edges_small (); 277 #endif 278 #ifdef MIBENCH_LARGE 279 main_susan_edges_large (); 280 #endif 281 282 printf("***** automative.susan.edges - End *****\n"); 283 } 284 285 //======================================================================================= 286 // [ run_automative_susan_corners ] 287 //======================================================================================= 288 #ifdef MIBENCH_SMALL 289 void main_susan_corners_small (void) 290 { 291 int argc = 4; 292 char ** argv; 293 294 char * execname = "./susan"; 295 char *_filename_input = "/susan-input_small.pgm"; 296 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 297 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 298 char * filename_output = "output_small.corners.pgm"; 299 char * option = "-c"; 300 301 argv = (char **)malloc ((argc) * sizeof(char *)); 302 303 argv[0] = (char *) malloc (strlen(execname )); 304 argv[0] = memcpy(argv[0],execname ,strlen(execname )); 305 306 argv[1] = (char *) malloc (strlen(filename_input )); 307 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 308 309 argv[2] = (char *) malloc (strlen(filename_output)); 310 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 311 312 argv[3] = (char *) malloc (strlen(option )); 313 argv[3] = memcpy(argv[3],option ,strlen(option )); 314 315 main_susan(argc, argv); 316 317 for (int i=0; i<argc; ++i) 318 free(argv[i]); 319 free(argv); 320 free(filename_input); 321 } 322 #endif 323 324 #ifdef MIBENCH_LARGE 325 void main_susan_corners_large (void) 326 { 327 int argc = 4; 328 char ** argv; 329 330 char * execname = "./susan"; 331 char *_filename_input = "/susan-input_large.pgm"; 332 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 333 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 334 char * filename_output = "output_small.corners.pgm"; 335 char * option = "-c"; 336 337 argv = (char **)malloc ((argc) * sizeof(char *)); 338 339 argv[0] = (char *) malloc (strlen(execname )); 340 argv[0] = memcpy(argv[0],execname ,strlen(execname )); 341 342 argv[1] = (char *) malloc (strlen(filename_input )); 343 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 344 345 argv[2] = (char *) malloc (strlen(filename_output)); 346 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 347 348 argv[3] = (char *) malloc (strlen(option )); 349 argv[3] = memcpy(argv[3],option ,strlen(option )); 350 351 main_susan(argc, argv); 352 353 for (int i=0; i<argc; ++i) 354 free(argv[i]); 355 free(argv); 356 free(filename_input); 357 } 358 #endif 359 360 void run_automative_susan_corners (void) 361 { 362 printf("***** automative.susan.corners - Begin *****\n"); 363 364 #ifdef MIBENCH_SMALL 365 main_susan_corners_small (); 366 #endif 367 #ifdef MIBENCH_LARGE 368 main_susan_corners_large (); 369 #endif 370 371 printf("***** automative.susan.corners - End *****\n"); 372 } 373 374 //======================================================================================= 375 // [ run_automative_susan_smoothing ] 376 //======================================================================================= 377 #ifdef MIBENCH_SMALL 378 void main_susan_smoothing_small (void) 379 { 380 int argc = 4; 381 char ** argv; 382 383 char * execname = "./susan"; 384 char *_filename_input = "/susan-input_small.pgm"; 385 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 386 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 387 char * filename_output = "output_small.smoothing.pgm"; 388 char * option = "-s"; 389 390 argv = (char **)malloc ((argc) * sizeof(char *)); 391 392 argv[0] = (char *) malloc (strlen(execname )); 393 argv[0] = memcpy(argv[0],execname ,strlen(execname )); 394 395 argv[1] = (char *) malloc (strlen(filename_input )); 396 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 397 398 argv[2] = (char *) malloc (strlen(filename_output)); 399 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 400 401 argv[3] = (char *) malloc (strlen(option )); 402 argv[3] = memcpy(argv[3],option ,strlen(option )); 403 404 main_susan(argc, argv); 405 406 for (int i=0; i<argc; ++i) 407 free(argv[i]); 408 free(argv); 409 free(filename_input); 410 } 411 #endif 412 413 #ifdef MIBENCH_LARGE 414 void main_susan_smoothing_large (void) 415 { 416 int argc = 4; 417 char ** argv; 418 419 char * execname = "./susan"; 420 char *_filename_input = "/susan-input_large.pgm"; 421 char * filename_input = (char *) malloc(strlen(MIBENCH_DATA_PATH)+strlen(_filename_input)); 422 strcpy(filename_input,MIBENCH_DATA_PATH); strcat(filename_input,_filename_input); 283 423 char * filename_output = "output_large.smoothing.pgm"; 284 424 char * option = "-s"; 285 425 426 argv = (char **)malloc ((argc) * sizeof(char *)); 427 428 argv[0] = (char *) malloc (strlen(execname )); 429 argv[0] = memcpy(argv[0],execname ,strlen(execname )); 430 431 argv[1] = (char *) malloc (strlen(filename_input )); 432 argv[1] = memcpy(argv[1],filename_input ,strlen(filename_input )); 286 433 argv[2] = (char *) malloc (strlen(filename_output)); 287 434 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); … … 291 438 292 439 main_susan(argc, argv); 293 294 for (int i=2; i<argc; ++i) 295 free(argv[i]); 296 297 filename_output = "output_large.edges.pgm"; 298 option = "-e"; 299 300 argv[2] = (char *) malloc (strlen(filename_output)); 301 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 302 303 argv[3] = (char *) malloc (strlen(option )); 304 argv[3] = memcpy(argv[3],option ,strlen(option )); 305 306 main_susan(argc, argv); 307 308 for (int i=2; i<argc; ++i) 309 free(argv[i]); 310 311 for (int i=2; i<argc; ++i) 312 free(argv[i]); 313 314 filename_output = "output_large.cornes.pgm"; 315 option = "-c"; 316 317 argv[2] = (char *) malloc (strlen(filename_output)); 318 argv[2] = memcpy(argv[2],filename_output,strlen(filename_output)); 319 320 argv[3] = (char *) malloc (strlen(option )); 321 argv[3] = memcpy(argv[3],option ,strlen(option )); 322 323 main_susan(argc, argv); 324 325 for (int i=0; i<argc; ++i) 326 free(argv[i]); 327 free(argv); 328 } 329 #endif 440 441 for (int i=0; i<argc; ++i) 442 free(argv[i]); 443 free(argv); 444 free(filename_input); 445 } 446 #endif 447 448 void run_automative_susan_smoothing (void) 449 { 450 printf("***** automative.susan.smoothing - Begin *****\n"); 451 452 #ifdef MIBENCH_SMALL 453 main_susan_smoothing_small (); 454 #endif 455 #ifdef MIBENCH_LARGE 456 main_susan_smoothing_large (); 457 #endif 458 459 printf("***** automative.susan.smoothing - End *****\n"); 460 } 461 462 //======================================================================================= 463 // [ run_automative_susan ] 464 //======================================================================================= 330 465 331 466 void run_automative_susan (void) … … 333 468 printf("***** automative.susan - Begin *****\n"); 334 469 335 #ifdef MIBENCH_SMALL 336 main_susan_small (); 337 #endif 338 #ifdef MIBENCH_LARGE 339 main_susan_large (); 340 #endif 470 run_automative_susan_edges (); 471 run_automative_susan_corners (); 472 run_automative_susan_smoothing (); 473 474 /* 475 #ifdef MIBENCH_SMALL 476 main_susan_edges_small (); 477 main_susan_corners_small (); 478 main_susan_smoothing_small (); 479 #endif 480 #ifdef MIBENCH_LARGE 481 main_susan_edges_large (); 482 main_susan_corners_large (); 483 main_susan_smoothing_large (); 484 #endif 485 */ 341 486 342 487 printf("***** automative.susan - End *****\n"); … … 376 521 free(argv[i]); 377 522 free(argv); 523 free(filename); 378 524 } 379 525 #endif … … 409 555 free(argv[i]); 410 556 free(argv); 557 free(filename); 411 558 } 412 559 #endif … … 470 617 free(argv[i]); 471 618 free(argv); 619 free(filename); 472 620 } 473 621 #endif … … 497 645 free(argv[i]); 498 646 free(argv); 647 free(filename); 499 648 } 500 649 #endif … … 513 662 printf("***** security.sha - End *****\n"); 514 663 } 664 665 666 //======================================================================================= 667 // [ run_all ] 668 //======================================================================================= 669 void run_all (void) 670 { 671 printf("***** all *****\n"); 672 673 run_automative_basicmath (); 674 run_automative_bitcount (); 675 run_automative_qsort (); 676 run_automative_susan_edges (); 677 run_automative_susan_corners (); 678 run_automative_susan_smoothing (); 679 680 run_network_dijkstra (); 681 682 run_office_stringsearch (); 683 684 run_security_sha (); 685 686 return; 687 } -
trunk/Softwares/MiBench/src/c/main.c
r117 r137 16 16 int main() 17 17 { 18 #ifdef Morpheo 18 19 int pid = (int)getpid(); 19 20 … … 25 26 else 26 27 printf("The number of function in the workload is %d. (maximum of thread is : %d)\n",(int)NB_WORKLOAD,NB_THREAD_MAX); 27 28 #endif 29 30 #ifdef UNIX 31 for (int i=0; i<(int)NB_WORKLOAD; ++i) 32 (*WorkLoad[i])(); 33 #endif 34 28 35 exit (0); 29 36 -
trunk/Softwares/MiBench/src/include/benchmark.h
r124 r137 4 4 #define benchmark_h 5 5 6 void run_none (void); 6 void run_none (void); 7 void run_all (void); 8 9 void run_automative_basicmath (void); 10 void run_automative_bitcount (void); 11 void run_automative_qsort (void); 12 void run_automative_susan (void); 13 void run_automative_susan_edges (void); 14 void run_automative_susan_corners (void); 15 void run_automative_susan_smoothing (void); 7 16 8 void run_automative_basicmath (void); 9 void run_automative_bitcount (void); 10 void run_automative_qsort (void); 11 void run_automative_susan (void); 12 13 void run_network_dijkstra (void); 14 15 void run_office_stringsearch (void); 16 17 void run_security_sha (void); 17 void run_network_dijkstra (void); 18 19 void run_office_stringsearch (void); 20 21 void run_security_sha (void); 18 22 19 23 #endif // benchmark_h -
trunk/Softwares/MiBench/src/include/workload.h
r124 r137 12 12 void (*WorkLoad[])() = 13 13 { 14 (void *) run_ security_sha14 (void *) run_automative_susan 15 15 }; 16 16 -
trunk/Softwares/MiBench/workload.sh
r124 r137 1 echo -e "1\n 1\n2\n3\n4\n5\n6\n7\n0\n" | make -s workload1 echo -e "1\n4\n0\n" | make -s workload -
trunk/Softwares/MiBench/workload.txt
r124 r137 1 soft_0.x : automative_basicmath 2 soft_1.x : automative_bitcount 3 soft_2.x : automative_qsort 4 soft_3.x : automative_susan 5 soft_4.x : network_dijkstra 6 soft_5.x : office_stringsearch 7 soft_6.x : security_sha 1 soft_0.x : automative_susan -
trunk/Softwares/SPECINT2000/Makefile
r124 r137 27 27 DIR_SYS = $(DIR_SRC)/sys 28 28 DIR_INC = $(DIR_SRC)/include 29 DIR_LDSCRIPT = $( NEWLIB)/lib/29 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 30 30 31 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)32 LIBDIR = $( NEWLIB_LIBDIR)33 LIBNAME = $( NEWLIB_LIBNAME)31 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 32 LIBDIR = $($(OS)_LIBDIR) 33 LIBNAME = $($(OS)_LIBNAME) 34 34 35 35 #-----[ Flags ]------------------------------------------------------------------- … … 51 51 52 52 #-----[ Files ]------------------------------------------------------------------- 53 OBJECTS = $( NEWLIB)/lib/*.o\53 OBJECTS = $($(OS)_OBJECTS) \ 54 54 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 55 55 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ … … 66 66 @\ 67 67 $(ECHO) "Compilation : $*.c"; \ 68 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_164.gzip) -o $@ -c $^ ;68 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_164.gzip) -o $@ -c $^ ; 69 69 70 70 $(DIR_OBJ)/175.vpr_%.o : $(SPECINT2000_PATH)/175.vpr/src/%.c 71 71 @\ 72 72 $(ECHO) "Compilation : $*.c"; \ 73 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_175.vpr) -o $@ -c $^ ;73 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_175.vpr) -o $@ -c $^ ; 74 74 75 75 $(DIR_OBJ)/176.gcc_%.o : $(SPECINT2000_PATH)/176.gcc/src/%.c 76 76 @\ 77 77 $(ECHO) "Compilation : $*.c"; \ 78 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_176.gcc) -o $@ -c $^ ;78 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_176.gcc) -o $@ -c $^ ; 79 79 80 80 $(DIR_OBJ)/181.mcf_%.o : $(SPECINT2000_PATH)/181.mcf/src/%.c 81 81 @\ 82 82 $(ECHO) "Compilation : $*.c"; \ 83 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_181.mcf) -o $@ -c $^ ;83 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_181.mcf) -o $@ -c $^ ; 84 84 85 85 $(DIR_OBJ)/186.crafty_%.o : $(SPECINT2000_PATH)/186.crafty/src/%.c 86 86 @\ 87 87 $(ECHO) "Compilation : $*.c"; \ 88 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_186.crafty) -o $@ -c $^ ;88 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_186.crafty) -o $@ -c $^ ; 89 89 90 90 $(DIR_OBJ)/255.vortex_%.o : $(SPECINT2000_PATH)/255.vortex/src/%.c 91 91 @\ 92 92 $(ECHO) "Compilation : $*.c"; \ 93 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_255.vortex) -o $@ -c $^ ;93 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_255.vortex) -o $@ -c $^ ; 94 94 95 95 $(DIR_OBJ)/197.parser_%.o : $(SPECINT2000_PATH)/197.parser/src/%.c 96 96 @\ 97 97 $(ECHO) "Compilation : $*.c"; \ 98 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_197.parser) -o $@ -c $^ ;98 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_197.parser) -o $@ -c $^ ; 99 99 100 100 $(DIR_OBJ)/252.eon_%.o : $(SPECINT2000_PATH)/252.eon/src/%.c 101 101 @\ 102 102 $(ECHO) "Compilation : $*.c"; \ 103 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_252.eon) -o $@ -c $^ ;103 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_252.eon) -o $@ -c $^ ; 104 104 105 105 $(DIR_OBJ)/253.perlbmk_%.o : $(SPECINT2000_PATH)/253.perlbmk/src/%.c 106 106 @\ 107 107 $(ECHO) "Compilation : $*.c"; \ 108 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_253.perlbmk) -o $@ -c $^ ;108 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_253.perlbmk) -o $@ -c $^ ; 109 109 110 110 $(DIR_OBJ)/254.gap_%.o : $(SPECINT2000_PATH)/254.gap/src/%.c 111 111 @\ 112 112 $(ECHO) "Compilation : $*.c"; \ 113 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_254.gap) -o $@ -c $^ ;113 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_254.gap) -o $@ -c $^ ; 114 114 115 115 $(DIR_OBJ)/256.bzip2_%.o : $(SPECINT2000_PATH)/256.bzip2/src/%.c 116 116 @\ 117 117 $(ECHO) "Compilation : $*.c"; \ 118 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_256.bzip2) -o $@ -c $^ ;118 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_256.bzip2) -o $@ -c $^ ; 119 119 120 120 $(DIR_OBJ)/300.twolf_%.o : $(SPECINT2000_PATH)/300.twolf/src/%.c 121 121 @\ 122 122 $(ECHO) "Compilation : $*.c"; \ 123 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_300.twolf) -o $@ -c $^ ;123 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_300.twolf) -o $@ -c $^ ; -
trunk/Softwares/Test/Test_065/Makefile
r111 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_066/Makefile
r111 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_067/Makefile
r112 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_068/Makefile
r114 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_069/Makefile
r114 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_070/Makefile
r114 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_073/Makefile
r119 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x000/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x001/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x002/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x003/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x004/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x005/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ -
trunk/Softwares/Test/Test_x006/Makefile
r117 r137 16 16 DIR_SYS = $(DIR_SRC)/sys 17 17 DIR_INC = $(DIR_SRC)/include 18 DIR_LDSCRIPT = $( NEWLIB)/lib/18 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 19 19 20 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)21 LIBDIR = $( NEWLIB_LIBDIR)22 LIBNAME = $( NEWLIB_LIBNAME)20 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 21 LIBDIR = $($(OS)_LIBDIR) 22 LIBNAME = $($(OS)_LIBNAME) 23 23 24 24 #-----[ Files ]------------------------------------------------------------------- 25 OBJECTS = $( NEWLIB)/lib/*.o\25 OBJECTS = $($(OS)_OBJECTS) \ 26 26 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 27 27 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \
Note: See TracChangeset
for help on using the changeset viewer.