# # $Id: Makefile.deps 88 2008-12-10 18:31:39Z 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 Multi_Front_end include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Makefile.deps endif ifndef Multi_OOO_Engine include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Makefile.deps endif ifndef Multi_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) Core_DIR_LIBRARY = -L$(Core_DIR)/lib \ $(Icache_Access_DIR_LIBRARY) \ $(Dcache_Access_DIR_LIBRARY) \ $(Front_end_DIR_LIBRARY) \ $(OOO_Engine_DIR_LIBRARY) \ $(Execute_loop_DIR_LIBRARY) \ $(Core_Glue_DIR_LIBRARY) \ $(Behavioural_DIR_LIBRARY) #-----[ Rules ]-------------------------------------------- Core_library : @\ $(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; \ $(MAKE) --directory=$(Core_DIR) --makefile=Makefile; Core_library_clean : @\ $(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; \ $(MAKE) --directory=$(Core_DIR) --makefile=Makefile clean;