[78] | 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 | |
---|
| 10 | Register_translation_unit = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef Dependency_checking_unit |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/Makefile.deps |
---|
| 17 | endif |
---|
| 18 | ifndef Free_List_unit |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Free_List_unit/Makefile.deps |
---|
| 20 | endif |
---|
| 21 | ifndef Register_Address_Translation_unit |
---|
| 22 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/Makefile.deps |
---|
| 23 | endif |
---|
| 24 | ifndef Stat_List_unit |
---|
| 25 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/Makefile.deps |
---|
| 26 | endif |
---|
| 27 | ifndef Register_translation_unit_Glue |
---|
| 28 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/Makefile.deps |
---|
| 29 | endif |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | #-----[ Directory ]---------------------------------------- |
---|
| 34 | |
---|
| 35 | Register_translation_unit_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit |
---|
| 36 | |
---|
| 37 | #-----[ Library ]------------------------------------------ |
---|
| 38 | |
---|
| 39 | Register_translation_unit_LIBRARY = -lRegister_translation_unit \ |
---|
| 40 | $(Behavioural_LIBRARY) \ |
---|
| 41 | $(Register_Address_Translation_unit_LIBRARY) \ |
---|
| 42 | $(Free_List_unit_LIBRARY) \ |
---|
| 43 | $(Stat_List_unit_LIBRARY) \ |
---|
| 44 | $(Dependency_checking_unit_LIBRARY) \ |
---|
| 45 | $(Register_translation_unit_Glue_LIBRARY) |
---|
| 46 | |
---|
| 47 | Register_translation_unit_DIR_LIBRARY = -L$(Register_translation_unit_DIR)/lib \ |
---|
| 48 | $(Behavioural_DIR_LIBRARY) \ |
---|
| 49 | $(Register_Address_Translation_unit_DIR_LIBRARY)\ |
---|
| 50 | $(Free_List_unit_DIR_LIBRARY) \ |
---|
| 51 | $(Stat_List_unit_DIR_LIBRARY) \ |
---|
| 52 | $(Dependency_checking_unit_DIR_LIBRARY) \ |
---|
| 53 | $(Register_translation_unit_Glue_DIR_LIBRARY) |
---|
| 54 | |
---|
| 55 | #-----[ Rules ]-------------------------------------------- |
---|
| 56 | |
---|
| 57 | Register_translation_unit_library : |
---|
| 58 | @\ |
---|
| 59 | $(MAKE) Behavioural_library; \ |
---|
| 60 | $(MAKE) Register_Address_Translation_unit_library; \ |
---|
| 61 | $(MAKE) Free_List_unit_library; \ |
---|
| 62 | $(MAKE) Stat_List_unit_library; \ |
---|
| 63 | $(MAKE) Dependency_checking_unit_library; \ |
---|
| 64 | $(MAKE) Register_translation_unit_Glue_library; \ |
---|
| 65 | $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile; |
---|
| 66 | |
---|
| 67 | Register_translation_unit_library_clean : |
---|
| 68 | @\ |
---|
| 69 | $(MAKE) Behavioural_library_clean; \ |
---|
| 70 | $(MAKE) Register_Address_Translation_unit_library_clean;\ |
---|
| 71 | $(MAKE) Free_List_unit_library_clean; \ |
---|
| 72 | $(MAKE) Stat_List_unit_library_clean; \ |
---|
| 73 | $(MAKE) Dependency_checking_unit_library_clean; \ |
---|
| 74 | $(MAKE) Register_translation_unit_Glue_library_clean; \ |
---|
| 75 | $(MAKE) --directory=$(Register_translation_unit_DIR) --makefile=Makefile clean; |
---|