# # $Id: Makefile.deps 142 2010-08-04 20:09:03Z rosiere $ # # [ Description ] # # Makefile # # DIR_MORPHEO must be defined Branch_Target_Buffer = yes ifndef Behavioural include $(DIR_MORPHEO)/Behavioural/Makefile.deps endif ifndef Branch_Target_Buffer_Glue include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/Makefile.deps endif ifndef Branch_Target_Buffer_Register include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/Makefile.deps endif ifndef Sort include $(DIR_MORPHEO)/Behavioural/Generic/Sort/Makefile.deps endif ifndef Victim include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Makefile.deps endif #-----[ Directory ]---------------------------------------- Branch_Target_Buffer_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer #-----[ Library ]------------------------------------------ Branch_Target_Buffer_LIBRARY = -lBranch_Target_Buffer \ $(Branch_Target_Buffer_Glue_LIBRARY) \ $(Branch_Target_Buffer_Register_LIBRARY) \ $(Sort_LIBRARY) \ $(Victim_LIBRARY) \ $(Behavioural_LIBRARY) #-----[ Rules ]-------------------------------------------- Branch_Target_Buffer_library_only : @\ $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile; Branch_Target_Buffer_library_clean_only : @\ $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile clean; Branch_Target_Buffer_library : Branch_Target_Buffer_library_only @\ $(MAKE) Behavioural_library; \ $(MAKE) Branch_Target_Buffer_Glue_library; \ $(MAKE) Branch_Target_Buffer_Register_library; \ $(MAKE) Sort_library; \ $(MAKE) Victim_library; Branch_Target_Buffer_library_clean : Branch_Target_Buffer_library_clean_only @\ $(MAKE) Behavioural_library_clean; \ $(MAKE) Branch_Target_Buffer_Glue_library_clean; \ $(MAKE) Branch_Target_Buffer_Register_library_clean; \ $(MAKE) Sort_library_clean; \ $(MAKE) Victim_library_clean;