[78] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 142 2010-08-04 20:09:03Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
| 10 | Execute_loop = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
[88] | 15 | ifndef Execute_loop_Glue |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Execute_loop_Glue/Makefile.deps |
---|
| 17 | endif |
---|
[78] | 18 | ifndef Read_unit |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Makefile.deps |
---|
| 20 | endif |
---|
| 21 | ifndef Functionnal_unit |
---|
| 22 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/Makefile.deps |
---|
| 23 | endif |
---|
| 24 | ifndef Load_store_unit |
---|
| 25 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/Makefile.deps |
---|
| 26 | endif |
---|
| 27 | ifndef Write_unit |
---|
| 28 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Makefile.deps |
---|
| 29 | endif |
---|
| 30 | ifndef Register_unit |
---|
| 31 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Makefile.deps |
---|
| 32 | endif |
---|
| 33 | ifndef Read_unit_to_Execution_unit |
---|
| 34 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/Makefile.deps |
---|
| 35 | endif |
---|
| 36 | ifndef Execution_unit_to_Write_unit |
---|
| 37 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Execution_unit_to_Write_unit/Makefile.deps |
---|
| 38 | endif |
---|
| 39 | |
---|
| 40 | #-----[ Directory ]---------------------------------------- |
---|
| 41 | |
---|
| 42 | Execute_loop_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop |
---|
| 43 | |
---|
| 44 | #-----[ Library ]------------------------------------------ |
---|
| 45 | |
---|
| 46 | Execute_loop_LIBRARY = -lExecute_loop \ |
---|
| 47 | $(Behavioural_LIBRARY) \ |
---|
[88] | 48 | $(Execute_loop_Glue_LIBRARY) \ |
---|
[78] | 49 | $(Read_unit_LIBRARY) \ |
---|
| 50 | $(Functionnal_unit_LIBRARY) \ |
---|
| 51 | $(Load_store_unit_LIBRARY) \ |
---|
| 52 | $(Write_unit_LIBRARY) \ |
---|
| 53 | $(Register_unit_LIBRARY) \ |
---|
| 54 | $(Read_unit_to_Execution_unit_LIBRARY) \ |
---|
| 55 | $(Execution_unit_to_Write_unit_LIBRARY) |
---|
| 56 | |
---|
[142] | 57 | #-----[ Rules ]-------------------------------------------- |
---|
[78] | 58 | |
---|
[142] | 59 | Execute_loop_library_only : |
---|
| 60 | @\ |
---|
| 61 | $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile; |
---|
[78] | 62 | |
---|
[142] | 63 | Execute_loop_library_clean_only : |
---|
| 64 | @\ |
---|
| 65 | $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile clean; |
---|
[78] | 66 | |
---|
[142] | 67 | Execute_loop_library : Execute_loop_library_only |
---|
[78] | 68 | @\ |
---|
| 69 | $(MAKE) Behavioural_library; \ |
---|
[88] | 70 | $(MAKE) Execute_loop_Glue_library; \ |
---|
[78] | 71 | $(MAKE) Read_unit_library; \ |
---|
| 72 | $(MAKE) Functionnal_unit_library; \ |
---|
| 73 | $(MAKE) Load_store_unit_library; \ |
---|
| 74 | $(MAKE) Write_unit_library; \ |
---|
| 75 | $(MAKE) Register_unit_library; \ |
---|
| 76 | $(MAKE) Read_unit_to_Execution_unit_library; \ |
---|
[142] | 77 | $(MAKE) Execution_unit_to_Write_unit_library; |
---|
[78] | 78 | |
---|
[142] | 79 | Execute_loop_library_clean : Execute_loop_library_clean_only |
---|
[78] | 80 | @\ |
---|
| 81 | $(MAKE) Behavioural_library_clean; \ |
---|
[88] | 82 | $(MAKE) Execute_loop_Glue_library_clean; \ |
---|
[78] | 83 | $(MAKE) Read_unit_library_clean; \ |
---|
| 84 | $(MAKE) Functionnal_unit_library_clean; \ |
---|
| 85 | $(MAKE) Load_store_unit_library_clean; \ |
---|
| 86 | $(MAKE) Write_unit_library_clean; \ |
---|
| 87 | $(MAKE) Register_unit_library_clean; \ |
---|
| 88 | $(MAKE) Read_unit_to_Execution_unit_library_clean; \ |
---|
[142] | 89 | $(MAKE) Execution_unit_to_Write_unit_library_clean; |
---|