[2] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
[53] | 10 | Two_Level_Branch_Predictor = yes |
---|
| 11 | |
---|
[2] | 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Branch_History_Table |
---|
[48] | 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/Makefile.deps |
---|
[2] | 17 | endif |
---|
| 18 | ifndef Pattern_History_Table |
---|
[48] | 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/Makefile.deps |
---|
[2] | 20 | endif |
---|
| 21 | ifndef Two_Level_Branch_Predictor_Glue |
---|
[48] | 22 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/Makefile.deps |
---|
[2] | 23 | endif |
---|
| 24 | |
---|
| 25 | #-----[ Library ]------------------------------------------ |
---|
| 26 | Two_Level_Branch_Predictor_LIBRARY = -lTwo_Level_Branch_Predictor \ |
---|
| 27 | $(Two_Level_Branch_Predictor_Glue_LIBRARY) \ |
---|
| 28 | $(Branch_History_Table_LIBRARY) \ |
---|
| 29 | $(Pattern_History_Table_LIBRARY) \ |
---|
| 30 | $(Behavioural_LIBRARY) |
---|
| 31 | |
---|
[48] | 32 | Two_Level_Branch_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/lib \ |
---|
[2] | 33 | $(Two_Level_Branch_Predictor_Glue_DIR_LIBRARY) \ |
---|
| 34 | $(Branch_History_Table_DIR_LIBRARY) \ |
---|
| 35 | $(Pattern_History_Table_DIR_LIBRARY) \ |
---|
| 36 | $(Behavioural_DIR_LIBRARY) |
---|
| 37 | |
---|
| 38 | #-----[ Rules ]-------------------------------------------- |
---|
| 39 | |
---|
| 40 | Two_Level_Branch_Predictor_library : |
---|
[48] | 41 | @\ |
---|
| 42 | $(MAKE) Behavioural_library;\ |
---|
| 43 | $(MAKE) Branch_History_Table_library;\ |
---|
| 44 | $(MAKE) Pattern_History_Table_library;\ |
---|
| 45 | $(MAKE) Two_Level_Branch_Predictor_Glue_library;\ |
---|
| 46 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile ; |
---|
[2] | 47 | |
---|
| 48 | Two_Level_Branch_Predictor_library_clean : |
---|
[48] | 49 | @\ |
---|
| 50 | $(MAKE) Behavioural_library_clean;\ |
---|
| 51 | $(MAKE) Branch_History_Table_library_clean;\ |
---|
| 52 | $(MAKE) Pattern_History_Table_library_clean;\ |
---|
| 53 | $(MAKE) Two_Level_Branch_Predictor_Glue_library_clean;\ |
---|
| 54 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor --makefile=Makefile clean; |
---|