[88] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
| 10 | Front_end = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Ifetch_unit |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Makefile.deps |
---|
| 17 | endif |
---|
| 18 | ifndef Prediction_unit |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Makefile.deps |
---|
| 20 | endif |
---|
| 21 | ifndef Decod_unit |
---|
| 22 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Makefile.deps |
---|
| 23 | endif |
---|
| 24 | ifndef Context_State |
---|
| 25 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Context_State/Makefile.deps |
---|
| 26 | endif |
---|
| 27 | ifndef Front_end_Glue |
---|
| 28 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/Makefile.deps |
---|
| 29 | endif |
---|
| 30 | |
---|
| 31 | #-----[ Directory ]---------------------------------------- |
---|
| 32 | |
---|
| 33 | Front_end_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end |
---|
| 34 | |
---|
| 35 | #-----[ Library ]------------------------------------------ |
---|
| 36 | |
---|
| 37 | Front_end_LIBRARY = -lFront_end \ |
---|
| 38 | $(Ifetch_unit_LIBRARY) \ |
---|
| 39 | $(Prediction_unit_LIBRARY) \ |
---|
| 40 | $(Decod_unit_LIBRARY) \ |
---|
| 41 | $(Context_State_LIBRARY) \ |
---|
| 42 | $(Front_end_Glue_LIBRARY) \ |
---|
| 43 | $(Behavioural_LIBRARY) |
---|
| 44 | |
---|
| 45 | Front_end_DIR_LIBRARY = -L$(Front_end_DIR)/lib \ |
---|
| 46 | $(Ifetch_unit_DIR_LIBRARY) \ |
---|
| 47 | $(Prediction_unit_DIR_LIBRARY) \ |
---|
| 48 | $(Decod_unit_DIR_LIBRARY) \ |
---|
| 49 | $(Context_State_DIR_LIBRARY) \ |
---|
| 50 | $(Front_end_Glue_DIR_LIBRARY) \ |
---|
| 51 | $(Behavioural_DIR_LIBRARY) |
---|
| 52 | |
---|
| 53 | #-----[ Rules ]-------------------------------------------- |
---|
| 54 | |
---|
| 55 | Front_end_library : |
---|
| 56 | @\ |
---|
| 57 | $(MAKE) Behavioural_library; \ |
---|
| 58 | $(MAKE) Ifetch_unit_library; \ |
---|
| 59 | $(MAKE) Prediction_unit_library; \ |
---|
| 60 | $(MAKE) Decod_unit_library; \ |
---|
| 61 | $(MAKE) Context_State_library; \ |
---|
| 62 | $(MAKE) Front_end_Glue_library; \ |
---|
| 63 | $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile; |
---|
| 64 | |
---|
| 65 | Front_end_library_clean : |
---|
| 66 | @\ |
---|
| 67 | $(MAKE) Behavioural_library_clean; \ |
---|
| 68 | $(MAKE) Ifetch_unit_library_clean; \ |
---|
| 69 | $(MAKE) Prediction_unit_library_clean; \ |
---|
| 70 | $(MAKE) Decod_unit_library_clean; \ |
---|
| 71 | $(MAKE) Context_State_library_clean; \ |
---|
| 72 | $(MAKE) Front_end_Glue_library_clean; \ |
---|
| 73 | $(MAKE) --directory=$(Front_end_DIR) --makefile=Makefile clean; |
---|