source: trunk/IPs/systemC/Environment/Makefile.defs @ 120

Last change on this file since 120 was 117, checked in by rosiere, 16 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: 1.6 KB
Line 
1ifeq ($(origin MORPHEO_TOPLEVEL), undefined)
2        $(error "variable MORPHEO_TOPLEVEL is undefined");
3else
4        include $(MORPHEO_TOPLEVEL)/Makefile.tools
5        include $(MORPHEO_TOPLEVEL)/Makefile.flags
6endif
7
8#-----[ Directory ]----------------------------------------
9DIR_TMP                         =       $(MORPHEO_TMP)
10DIR_TST                         =       selftest
11DIR_INC                         =       include
12DIR_SRC                         ?=      $(DIR_ENVIRONMENT)/$(ENTITY)/src
13DIR_OBJ                         =       $(MORPHEO_TMP)/obj
14DIR_BIN                         =       $(MORPHEO_TMP)/bin
15
16#-----[ Compilation ]--------------------------------------
17INCDIR                          = $(SYSTEMC_INCDIR_$(SIMULATOR_SYSTEMC))        \
18                                  -I$(DIR_INC)                          \
19                                  -I../processor/Morpheo
20
21LIBDIR                          = $(SYSTEMC_LIBDIR_$(SIMULATOR_SYSTEMC))
22
23LIBNAME                         = -lbfd                                 \
24                                  -liberty                              \
25                                  $(SYSTEMC_LIBNAME_$(SIMULATOR_SYSTEMC))
26
27FLAGS                           = $(SYSTEMC_CFLAGS_$(SIMULATOR_SYSTEMC))
28
29MORPHEO_CC_FLAGS                = $(MORPHEO_FLAGS) $(CC_FLAGS)           $(INCDIR)
30MORPHEO_CXX_FLAGS               = $(MORPHEO_FLAGS) $(CXX_FLAGS) $(FLAGS) $(INCDIR)
31MORPHEO_L_FLAGS                 = $(MORPHEO_FLAGS) $(CXX_FLAGS) $(FLAGS) $(LIBDIR)
32
33#-----[ Variable ]-----------------------------------------
34
35OBJECTS                         = $(addprefix $(DIR_OBJ)/$(ENTITY)_, $(addsuffix .o, $(basename $(notdir $(wildcard $(DIR_SRC)/*.cpp))))) \
36                                  $(addprefix $(DIR_OBJ)/$(ENTITY)_, $(addsuffix .o, $(basename $(notdir $(wildcard $(DIR_SRC)/*.c)))))
37OBJECTS_BIN                     = $(addprefix $(DIR_OBJ)/$(ENTITY)_, $(addsuffix .o, $(basename $(notdir $(wildcard $(DIR_TST)/*.cpp)))))
38
39HEADERS                         = $(wildcard $(DIR_INC)/*.h)
40
41EXE                             = $(DIR_BIN)/soft.x
42
43EXEC_PREFIX                     =
44#$(VALGRIND)
Note: See TracBrowser for help on using the repository browser.