Last change
on this file since 136 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 | |
---|
1 | include Makefile.defs |
---|
2 | |
---|
3 | #-----[ Rules ]-------------------------------------------- |
---|
4 | |
---|
5 | vpath %.h $(DIR_INC) |
---|
6 | vpath %.c $(DIR_SRC) |
---|
7 | vpath %.cpp $(DIR_SRC):$(DIR_TST) |
---|
8 | vpath %.o $(DIR_OBJ) |
---|
9 | |
---|
10 | .PRECIOUS : $(DIR_OBJ)/$(ENTITY)_%.o $(DIR_BIN)/%.x |
---|
11 | |
---|
12 | test_env : |
---|
13 | @\ |
---|
14 | $(ECHO) "-------------------| $(ENTITY)" |
---|
15 | |
---|
16 | $(DIR_OBJ)/$(ENTITY)_%.o : %.cpp $(HEADERS) |
---|
17 | @\ |
---|
18 | $(ECHO) "Compilation : $*";\ |
---|
19 | $(CXX) $(MORPHEO_CXX_FLAGS) -c -o $@ $<; |
---|
20 | |
---|
21 | $(DIR_OBJ)/$(ENTITY)_%.o : %.c $(HEADERS) |
---|
22 | @\ |
---|
23 | $(ECHO) "Compilation : $*";\ |
---|
24 | $(CC) $(MORPHEO_CC_FLAGS) -c -o $@ $<; |
---|
25 | |
---|
26 | $(DIR_BIN)/%.x : $($(ENTITY)_OBJECTS_DEPS) $(OBJECTS_BIN) |
---|
27 | @\ |
---|
28 | $(ECHO) "Compilation : $*";\ |
---|
29 | $(CXX) $(MORPHEO_L_FLAGS) -o $@ $^ $(LIBNAME); |
---|
30 | |
---|
31 | $(DIR_OBJ) $(DIR_BIN) : |
---|
32 | @\ |
---|
33 | $(ECHO) "Create directory : $@";\ |
---|
34 | $(MKDIR) $@ |
---|
35 | |
---|
36 | exe : all $(DIR_BIN) |
---|
37 | @\ |
---|
38 | $(MAKE) $(EXE); \ |
---|
39 | export SYSTEMC=$(SYSTEMC_$(SIMULATOR_SYSTEMC)) ; $(EXEC_PREFIX) $(EXE) $(SYSTEMC_EXEC_PARAMS_$(SIMULATOR_SYSTEMC)) |
---|
40 | |
---|
41 | |
---|
42 | all_environment : test_env $(DIR_OBJ) |
---|
43 | @\ |
---|
44 | $(MAKE) $($(ENTITY)_OBJECTS_DEPS) $(OBJECTS_BIN) |
---|
45 | |
---|
46 | environment_clean : |
---|
47 | @\ |
---|
48 | $(ECHO) "Delete temporary files in directory "$(PWD);\ |
---|
49 | $(RM) *~ \ |
---|
50 | $(DIR_OBJ) \ |
---|
51 | $(DIR_BIN) \ |
---|
52 | $(DIR_TST)/*~ \ |
---|
53 | $(DIR_SRC)/*~ \ |
---|
54 | $(DIR_INC)/*~ \ |
---|
55 | *.dot \ |
---|
56 | *.txt; |
---|
57 | |
---|
58 | environment_help : |
---|
59 | @\ |
---|
60 | $(ECHO) " -----[ Environment ]------------------------------";\ |
---|
61 | $(ECHO) "";\ |
---|
62 | $(ECHO) " * exe : execute testbench";\ |
---|
63 | $(ECHO) " * test_env : test if environnment's variable is set";\ |
---|
64 | $(ECHO) " * all_environment : generate object";\ |
---|
65 | $(ECHO) ""; |
---|
Note: See
TracBrowser
for help on using the repository browser.