[110] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 110 2009-02-19 16:31:47Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
| 10 | Meta_Predictor = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Meta_Predictor_Glue |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/Makefile.deps |
---|
| 17 | endif |
---|
| 18 | ifndef Two_Level_Branch_Predictor |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Makefile.deps |
---|
| 20 | endif |
---|
| 21 | |
---|
| 22 | #-----[ Directory ]---------------------------------------- |
---|
| 23 | |
---|
| 24 | Meta_Predictor_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor |
---|
| 25 | |
---|
| 26 | #-----[ Library ]------------------------------------------ |
---|
| 27 | |
---|
| 28 | Meta_Predictor_LIBRARY = -lMeta_Predictor \ |
---|
| 29 | $(Meta_Predictor_Glue_LIBRARY) \ |
---|
| 30 | $(Two_Level_Branch_Predictor_LIBRARY) \ |
---|
| 31 | $(Behavioural_LIBRARY) |
---|
| 32 | |
---|
| 33 | Meta_Predictor_DIR_LIBRARY = -L$(Meta_Predictor_DIR)/lib \ |
---|
| 34 | $(Meta_Predictor_Glue_DIR_LIBRARY) \ |
---|
| 35 | $(Two_Level_Branch_Predictor_DIR_LIBRARY) \ |
---|
| 36 | $(Behavioural_DIR_LIBRARY) |
---|
| 37 | |
---|
| 38 | #-----[ Rules ]-------------------------------------------- |
---|
| 39 | |
---|
| 40 | Meta_Predictor_library : |
---|
| 41 | @\ |
---|
| 42 | $(MAKE) Behavioural_library; \ |
---|
| 43 | $(MAKE) Meta_Predictor_Glue_library; \ |
---|
| 44 | $(MAKE) Two_Level_Branch_Predictor_library; \ |
---|
| 45 | $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile; |
---|
| 46 | |
---|
| 47 | Meta_Predictor_library_clean : |
---|
| 48 | @\ |
---|
| 49 | $(MAKE) Behavioural_library_clean; \ |
---|
| 50 | $(MAKE) Meta_Predictor_Glue_library_clean; \ |
---|
| 51 | $(MAKE) Two_Level_Branch_Predictor_library_clean; \ |
---|
| 52 | $(MAKE) --directory=$(Meta_Predictor_DIR) --makefile=Makefile clean; |
---|