# # $Id: Makefile.deps 142 2010-08-04 20:09:03Z rosiere $ # # [ Description ] # # Makefile # # DIR_MORPHEO must be defined Core = yes ifndef Behavioural include $(DIR_MORPHEO)/Behavioural/Makefile.deps endif ifndef Icache_Access include $(DIR_MORPHEO)/Behavioural/Core/Icache_Access/Makefile.deps endif ifndef Dcache_Access include $(DIR_MORPHEO)/Behavioural/Core/Dcache_Access/Makefile.deps endif ifndef Front_end include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps endif ifndef OOO_Engine include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps endif ifndef Execute_loop include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Makefile.deps endif ifndef Core_Glue include $(DIR_MORPHEO)/Behavioural/Core/Core_Glue/Makefile.deps endif #-----[ Directory ]---------------------------------------- Core_DIR = $(DIR_MORPHEO)/Behavioural/Core #-----[ Library ]------------------------------------------ Core_LIBRARY = -lCore \ $(Icache_Access_LIBRARY) \ $(Dcache_Access_LIBRARY) \ $(Front_end_LIBRARY) \ $(OOO_Engine_LIBRARY) \ $(Execute_loop_LIBRARY) \ $(Core_Glue_LIBRARY) \ $(Behavioural_LIBRARY) #-----[ Rules ]-------------------------------------------- Core_library_only : @\ $(MAKE) --directory=$(Core_DIR) --makefile=Makefile; Core_library_clean_only : @\ $(MAKE) --directory=$(Core_DIR) --makefile=Makefile clean; Core_library : Core_library_only @\ $(MAKE) Behavioural_library; \ $(MAKE) Icache_Access_library; \ $(MAKE) Dcache_Access_library; \ $(MAKE) Front_end_library; \ $(MAKE) OOO_Engine_library; \ $(MAKE) Execute_loop_library; \ $(MAKE) Core_Glue_library; Core_library_clean : Core_library_clean_only @\ $(MAKE) Behavioural_library_clean; \ $(MAKE) Icache_Access_library_clean; \ $(MAKE) Dcache_Access_library_clean; \ $(MAKE) Front_end_library_clean; \ $(MAKE) OOO_Engine_library_clean; \ $(MAKE) Execute_loop_library_clean; \ $(MAKE) Core_Glue_library_clean;