[5] | 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 | Meta_Predictor = yes |
---|
| 11 | |
---|
[5] | 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Two_Level_Branch_Predictor |
---|
[48] | 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps |
---|
[5] | 17 | endif |
---|
| 18 | ifndef Meta_Predictor_Glue |
---|
[48] | 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps |
---|
[5] | 20 | endif |
---|
| 21 | |
---|
| 22 | #-----[ Library ]------------------------------------------ |
---|
| 23 | Meta_Predictor_LIBRARY = -lMeta_Predictor \ |
---|
| 24 | $(Meta_Predictor_Glue_LIBRARY) \ |
---|
| 25 | $(Two_Level_Branch_Predictor_LIBRARY) \ |
---|
| 26 | $(Behavioural_LIBRARY) |
---|
| 27 | |
---|
[48] | 28 | Meta_Predictor_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/lib \ |
---|
[5] | 29 | $(Meta_Predictor_Glue_DIR_LIBRARY) \ |
---|
| 30 | $(Two_Level_Branch_Predictor_DIR_LIBRARY) \ |
---|
| 31 | $(Behavioural_DIR_LIBRARY) |
---|
| 32 | |
---|
| 33 | #-----[ Rules ]-------------------------------------------- |
---|
| 34 | |
---|
| 35 | Meta_Predictor_library : |
---|
[48] | 36 | @\ |
---|
| 37 | $(MAKE) Behavioural_library;\ |
---|
| 38 | $(MAKE) Meta_Predictor_Glue_library;\ |
---|
| 39 | $(MAKE) Two_Level_Branch_Predictor_library;\ |
---|
| 40 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor --makefile=Makefile; |
---|
[5] | 41 | |
---|
| 42 | Meta_Predictor_library_clean : |
---|
[48] | 43 | @\ |
---|
| 44 | $(MAKE) Behavioural_library_clean;\ |
---|
| 45 | $(MAKE) Meta_Predictor_Glue_library_clean;\ |
---|
| 46 | $(MAKE) Two_Level_Branch_Predictor_library_clean;\ |
---|
| 47 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor --makefile=Makefile clean; |
---|