source: trunk/Softwares/SPECINT2000/Makefile @ 117

Last change on this file since 117 was 117, checked in by rosiere, 15 years ago

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:keywords set to Id
File size: 4.2 KB
Line 
1#
2# $Id: Makefile 117 2009-05-16 14:42:39Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
8
9# common definition
10SPECINT2000_PATH                = /users/cao/kane/Project/SPEC_CPU2000/benchspec/CINT2000
11SPECINT2000_PATHS               =       $(SPECINT2000_PATH)/164.gzip  \
12                                        $(SPECINT2000_PATH)/175.vpr   \
13                                        $(SPECINT2000_PATH)/176.gcc   \
14                                        $(SPECINT2000_PATH)/181.mcf   \
15                                        $(SPECINT2000_PATH)/255.vortex\
16                                        $(SPECINT2000_PATH)/256.bzip2 \
17                                        $(SPECINT2000_PATH)/300.twolf
18
19#                                       $(SPECINT2000_PATH)/164.gzip
20#                                       $(SPECINT2000_PATH)/175.vpr
21#                                       $(SPECINT2000_PATH)/176.gcc
22#                                       $(SPECINT2000_PATH)/181.mcf
23#                                       $(SPECINT2000_PATH)/186.crafty
24#                                       $(SPECINT2000_PATH)/197.parser
25#                                       $(SPECINT2000_PATH)/252.eon
26#                                       $(SPECINT2000_PATH)/253.perlbmk
27#                                       $(SPECINT2000_PATH)/254.gap
28#                                       $(SPECINT2000_PATH)/255.vortex
29#                                       $(SPECINT2000_PATH)/256.bzip2
30#                                       $(SPECINT2000_PATH)/300.twolf
31
32SPECINT2000_PATH_INC            = $(addprefix -I, $(addsuffix /src, $(SPECINT2000_PATHS)))
33SPECINT2000_PATH_SRC            = $(wildcard $(addsuffix /src    , $(SPECINT2000_PATHS)))
34SPECINT2000_OBJECTS             =       $(addprefix $(DIR_OBJ)/164.gzip_,   $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/164.gzip/src/*.c)))))
35
36#                                       $(addprefix $(DIR_OBJ)/175.vpr_,    $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/175.vpr/src/*.c))))) \
37#                                       $(addprefix $(DIR_OBJ)/176.gcc_,    $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/176.gcc/src/*.c))))) \
38#                                       $(addprefix $(DIR_OBJ)/181.mcf_,    $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/181.mcf/src/*.c))))) \
39#                                       $(addprefix $(DIR_OBJ)/255.vortex_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/255.vortex/src/*.c))))) \
40#                                       $(addprefix $(DIR_OBJ)/256.bzip2_,  $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/256.bzip2/src/*.c))))) \
41#                                       $(addprefix $(DIR_OBJ)/300.twolf_,  $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/300.twolf/src/*.c)))))   
42
43DIR_SOFT                        = ..
44
45DIR_SRC                         = ./src
46DIR_C                           = $(DIR_SRC)/c
47DIR_ASM                         = $(DIR_SRC)/asm
48DIR_SYS                         = $(DIR_SRC)/sys
49DIR_INC                         = $(DIR_SRC)/include
50DIR_LDSCRIPT                    = $(NEWLIB)/lib/
51
52INCDIR                          = $(NEWLIB_INCDIR) -I$(DIR_INC) $(SPECINT2000_PATH_INC)
53LIBDIR                          = $(NEWLIB_LIBDIR)
54LIBNAME                         = $(NEWLIB_LIBNAME)
55
56FLAGS                           = -DSPECINT2000_PATH=\"$(SPECINT2000_PATH)\" \
57                                  -DSPEC_CPU2000 \
58                                  -DWANT_STDC_PROTO
59
60#-----[ Files ]-------------------------------------------------------------------
61OBJECTS                         =       $(NEWLIB)/lib/*.o \
62                                        $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s))    \
63                                        $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s))    \
64                                        $(patsubst $(DIR_C)/%.c,$(DIR_OBJ)/%.o,$(wildcard $(DIR_C)/*.c))        \
65                                        $(SPECINT2000_OBJECTS)
66
67vpath   %.h     $(SPECINT2000_PATH_INC)
68# vpath %.c     $(SPECINT2000_PATH_SRC)
69
70include                         $(DIR_SOFT)/Makefile.Software
71
72$(DIR_OBJ)/164.gzip_%.o         : $(SPECINT2000_PATH)/164.gzip/src/%.c
73                                @\
74                                $(ECHO) "Compilation        : $*.c";            \
75                                $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
76
77# $(DIR_OBJ)/175.vpr_%.o                : $(SPECINT2000_PATH)/175.vpr/src/%.c
78#                               @\
79#                                 $(ECHO) "Compilation        : $*.c";          \
80#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
81
82# $(DIR_OBJ)/176.gcc_%.o                : $(SPECINT2000_PATH)/176.gcc/src/%.c
83#                               @\
84#                                 $(ECHO) "Compilation        : $*.c";          \
85#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
86
87# $(DIR_OBJ)/181.mcf_%.o                : $(SPECINT2000_PATH)/181.mcf/src/%.c
88#                               @\
89#                                 $(ECHO) "Compilation        : $*.c";          \
90#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
91
92# $(DIR_OBJ)/255.vortex_%.o     : $(SPECINT2000_PATH)/255.vortex/src/%.c
93#                               @\
94#                                 $(ECHO) "Compilation        : $*.c";          \
95#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
96
97# $(DIR_OBJ)/256.bzip2_%.o      : $(SPECINT2000_PATH)/256.bzip2/src/%.c
98#                               @\
99#                                 $(ECHO) "Compilation        : $*.c";          \
100#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
101
102# $(DIR_OBJ)/300.twolf_%.o      : $(SPECINT2000_PATH)/300.twolf/src/%.c
103#                               @\
104#                                 $(ECHO) "Compilation        : $*.c";          \
105#                               $(OR32_CC) $(OR32_CC_OPT)     -o $@   -c $^ ;
Note: See TracBrowser for help on using the repository browser.