[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 | OOO_Engine = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Commit_unit |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/Makefile.deps |
---|
| 17 | endif |
---|
| 18 | ifndef Issue_queue |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Issue_queue/Makefile.deps |
---|
| 20 | endif |
---|
| 21 | ifndef Reexecute_unit |
---|
| 22 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Reexecute_unit/Makefile.deps |
---|
| 23 | endif |
---|
| 24 | ifndef Rename_unit |
---|
| 25 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Makefile.deps |
---|
| 26 | endif |
---|
| 27 | ifndef Special_Register_unit |
---|
| 28 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/Makefile.deps |
---|
| 29 | endif |
---|
| 30 | ifndef OOO_Engine_Glue |
---|
| 31 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/OOO_Engine_Glue/Makefile.deps |
---|
| 32 | endif |
---|
| 33 | |
---|
| 34 | #-----[ Directory ]---------------------------------------- |
---|
| 35 | |
---|
| 36 | OOO_Engine_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine |
---|
| 37 | |
---|
| 38 | #-----[ Library ]------------------------------------------ |
---|
| 39 | |
---|
| 40 | OOO_Engine_LIBRARY = -lOOO_Engine \ |
---|
| 41 | $(Commit_unit_LIBRARY) \ |
---|
| 42 | $(Issue_queue_LIBRARY) \ |
---|
| 43 | $(Reexecute_unit_LIBRARY) \ |
---|
| 44 | $(Rename_unit_LIBRARY) \ |
---|
| 45 | $(Special_Register_unit_LIBRARY) \ |
---|
| 46 | $(OOO_Engine_Glue_LIBRARY) \ |
---|
| 47 | $(Behavioural_LIBRARY) |
---|
| 48 | |
---|
| 49 | OOO_Engine_DIR_LIBRARY = -L$(OOO_Engine_DIR)/lib \ |
---|
| 50 | $(Commit_unit_DIR_LIBRARY) \ |
---|
| 51 | $(Issue_queue_DIR_LIBRARY) \ |
---|
| 52 | $(Reexecute_unit_DIR_LIBRARY) \ |
---|
| 53 | $(Rename_unit_DIR_LIBRARY) \ |
---|
| 54 | $(Special_Register_unit_DIR_LIBRARY) \ |
---|
| 55 | $(OOO_Engine_Glue_DIR_LIBRARY) \ |
---|
| 56 | $(Behavioural_DIR_LIBRARY) |
---|
| 57 | |
---|
| 58 | #-----[ Rules ]-------------------------------------------- |
---|
| 59 | |
---|
| 60 | OOO_Engine_library : |
---|
| 61 | @\ |
---|
| 62 | $(MAKE) Behavioural_library; \ |
---|
| 63 | $(MAKE) Commit_unit_library; \ |
---|
| 64 | $(MAKE) Issue_queue_library; \ |
---|
| 65 | $(MAKE) Reexecute_unit_library; \ |
---|
| 66 | $(MAKE) Rename_unit_library; \ |
---|
| 67 | $(MAKE) Special_Register_unit_library; \ |
---|
| 68 | $(MAKE) OOO_Engine_Glue_library; \ |
---|
| 69 | $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile; |
---|
| 70 | |
---|
| 71 | OOO_Engine_library_clean : |
---|
| 72 | @\ |
---|
| 73 | $(MAKE) Behavioural_library_clean; \ |
---|
| 74 | $(MAKE) Commit_unit_library_clean; \ |
---|
| 75 | $(MAKE) Issue_queue_library_clean; \ |
---|
| 76 | $(MAKE) Reexecute_unit_library_clean; \ |
---|
| 77 | $(MAKE) Rename_unit_library_clean; \ |
---|
| 78 | $(MAKE) Special_Register_unit_library_clean; \ |
---|
| 79 | $(MAKE) OOO_Engine_Glue_library_clean; \ |
---|
| 80 | $(MAKE) --directory=$(OOO_Engine_DIR) --makefile=Makefile clean; |
---|