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