[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 | Pattern_History_Table = yes |
---|
| 11 | |
---|
[2] | 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Counter |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Generic/Counter/Makefile.deps |
---|
| 17 | endif |
---|
[15] | 18 | ifndef RegisterFile_Monolithic |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps |
---|
[2] | 20 | endif |
---|
| 21 | |
---|
| 22 | #-----[ Library ]------------------------------------------ |
---|
| 23 | Pattern_History_Table_LIBRARY = -lPattern_History_Table \ |
---|
[15] | 24 | $(RegisterFile_Monolithic_LIBRARY) \ |
---|
[2] | 25 | $(Counter_LIBRARY) \ |
---|
| 26 | $(Behavioural_LIBRARY) |
---|
| 27 | |
---|
[48] | 28 | Pattern_History_Table_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/lib \ |
---|
[15] | 29 | $(RegisterFile_Monolithic_DIR_LIBRARY) \ |
---|
[2] | 30 | $(Counter_DIR_LIBRARY) \ |
---|
| 31 | $(Behavioural_DIR_LIBRARY) |
---|
| 32 | |
---|
| 33 | #-----[ Rules ]-------------------------------------------- |
---|
| 34 | |
---|
| 35 | Pattern_History_Table_library : |
---|
[48] | 36 | @\ |
---|
| 37 | $(MAKE) Behavioural_library;\ |
---|
| 38 | $(MAKE) Counter_library;\ |
---|
| 39 | $(MAKE) RegisterFile_Monolithic_library;\ |
---|
| 40 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile; |
---|
[2] | 41 | |
---|
| 42 | Pattern_History_Table_library_clean : |
---|
[48] | 43 | @\ |
---|
| 44 | $(MAKE) Behavioural_library_clean;\ |
---|
| 45 | $(MAKE) Counter_library_clean;\ |
---|
| 46 | $(MAKE) RegisterFile_Monolithic_library_clean;\ |
---|
| 47 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table --makefile=Makefile clean; |
---|