# # $Id: Makefile.deps 142 2010-08-04 20:09:03Z rosiere $ # # [ Description ] # # Makefile # # DIR_MORPHEO must be defined Front_end = yes ifndef Behavioural include $(DIR_MORPHEO)/Behavioural/Makefile.deps endif ifndef Ifetch_unit include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Makefile.deps endif ifndef Prediction_unit include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Makefile.deps endif ifndef Decod_unit include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Makefile.deps endif ifndef Context_State include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Context_State/Makefile.deps endif ifndef Front_end_Glue include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/Makefile.deps endif #-----[ Directory ]---------------------------------------- Front_end_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end #-----[ Library ]------------------------------------------ Front_end_LIBRARY = -lFront_end \ $(Ifetch_unit_LIBRARY) \ $(Prediction_unit_LIBRARY) \ $(Decod_unit_LIBRARY) \ $(Context_State_LIBRARY) \ $(Front_end_Glue_LIBRARY) \ $(Behavioural_LIBRARY) #-----[ Rules ]-------------------------------------------- Front_end_library_only : @\ $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile; Front_end_library_clean_only : @\ $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile clean; Front_end_library : Front_end_library_only @\ $(MAKE) Behavioural_library; \ $(MAKE) Ifetch_unit_library; \ $(MAKE) Prediction_unit_library; \ $(MAKE) Decod_unit_library; \ $(MAKE) Context_State_library; \ $(MAKE) Front_end_Glue_library; Front_end_library_clean : Front_end_library_clean_only @\ $(MAKE) Behavioural_library_clean; \ $(MAKE) Ifetch_unit_library_clean; \ $(MAKE) Prediction_unit_library_clean; \ $(MAKE) Decod_unit_library_clean; \ $(MAKE) Context_State_library_clean; \ $(MAKE) Front_end_Glue_library_clean;