# # $Id: Makefile.deps 88 2008-12-10 18:31:39Z 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) Front_end_DIR_LIBRARY = -L$(Front_end_DIR)/lib \ $(Ifetch_unit_DIR_LIBRARY) \ $(Prediction_unit_DIR_LIBRARY) \ $(Decod_unit_DIR_LIBRARY) \ $(Context_State_DIR_LIBRARY) \ $(Front_end_Glue_DIR_LIBRARY) \ $(Behavioural_DIR_LIBRARY) #-----[ Rules ]-------------------------------------------- Front_end_library : @\ $(MAKE) Behavioural_library; \ $(MAKE) Ifetch_unit_library; \ $(MAKE) Prediction_unit_library; \ $(MAKE) Decod_unit_library; \ $(MAKE) Context_State_library; \ $(MAKE) Front_end_Glue_library; \ $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile; Front_end_library_clean : @\ $(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; \ $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile clean;