[78] | 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 | 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 | |
---|
| 57 | |
---|
| 58 | Execute_loop_DIR_LIBRARY = -L$(Execute_loop_DIR)/lib \ |
---|
| 59 | $(Behavioural_DIR_LIBRARY) \ |
---|
[88] | 60 | $(Execute_loop_Glue_DIR_LIBRARY) \ |
---|
[78] | 61 | $(Read_unit_DIR_LIBRARY) \ |
---|
| 62 | $(Functionnal_unit_DIR_LIBRARY) \ |
---|
| 63 | $(Load_store_unit_DIR_LIBRARY) \ |
---|
| 64 | $(Write_unit_DIR_LIBRARY) \ |
---|
| 65 | $(Register_unit_DIR_LIBRARY) \ |
---|
| 66 | $(Read_unit_to_Execution_unit_DIR_LIBRARY) \ |
---|
| 67 | $(Execution_unit_to_Write_unit_DIR_LIBRARY) |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | #-----[ Rules ]-------------------------------------------- |
---|
| 71 | |
---|
| 72 | Execute_loop_library : |
---|
| 73 | @\ |
---|
| 74 | $(MAKE) Behavioural_library; \ |
---|
[88] | 75 | $(MAKE) Execute_loop_Glue_library; \ |
---|
[78] | 76 | $(MAKE) Read_unit_library; \ |
---|
| 77 | $(MAKE) Functionnal_unit_library; \ |
---|
| 78 | $(MAKE) Load_store_unit_library; \ |
---|
| 79 | $(MAKE) Write_unit_library; \ |
---|
| 80 | $(MAKE) Register_unit_library; \ |
---|
| 81 | $(MAKE) Read_unit_to_Execution_unit_library; \ |
---|
| 82 | $(MAKE) Execution_unit_to_Write_unit_library; \ |
---|
| 83 | $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile; |
---|
| 84 | |
---|
| 85 | Execute_loop_library_clean : |
---|
| 86 | @\ |
---|
| 87 | $(MAKE) Behavioural_library_clean; \ |
---|
[88] | 88 | $(MAKE) Execute_loop_Glue_library_clean; \ |
---|
[78] | 89 | $(MAKE) Read_unit_library_clean; \ |
---|
| 90 | $(MAKE) Functionnal_unit_library_clean; \ |
---|
| 91 | $(MAKE) Load_store_unit_library_clean; \ |
---|
| 92 | $(MAKE) Write_unit_library_clean; \ |
---|
| 93 | $(MAKE) Register_unit_library_clean; \ |
---|
| 94 | $(MAKE) Read_unit_to_Execution_unit_library_clean; \ |
---|
| 95 | $(MAKE) Execution_unit_to_Write_unit_library_clean; \ |
---|
| 96 | $(MAKE) --directory=$(Execute_loop_DIR) --makefile=Makefile clean; |
---|