[53] | 1 | # |
---|
| 2 | # $Id: Makefile.deps 146 2011-02-01 20:57:54Z rosiere $ |
---|
| 3 | # |
---|
| 4 | # [ Description ] |
---|
| 5 | # |
---|
| 6 | # Makefile |
---|
| 7 | # |
---|
| 8 | # DIR_MORPHEO must be defined |
---|
| 9 | |
---|
| 10 | RegisterFile = yes |
---|
| 11 | |
---|
| 12 | ifndef Behavioural |
---|
| 13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
| 14 | endif |
---|
| 15 | ifndef RegisterFile_Monolithic |
---|
| 16 | include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps |
---|
| 17 | endif |
---|
| 18 | ifndef RegisterFile_Multi_Banked |
---|
| 19 | include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/Makefile.deps |
---|
| 20 | endif |
---|
[146] | 21 | ifndef RegisterFile_Internal_Banked |
---|
| 22 | include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/RegisterFile_Internal_Banked/Makefile.deps |
---|
| 23 | endif |
---|
[53] | 24 | |
---|
[142] | 25 | #-----[ Library ]------------------------------------------ |
---|
[53] | 26 | |
---|
| 27 | RegisterFile_LIBRARY = -lRegisterFile \ |
---|
| 28 | $(RegisterFile_Monolithic_LIBRARY) \ |
---|
| 29 | $(RegisterFile_Multi_Banked_LIBRARY) \ |
---|
[146] | 30 | $(RegisterFile_Internal_Banked_LIBRARY) \ |
---|
[53] | 31 | $(Behavioural_LIBRARY) |
---|
| 32 | |
---|
| 33 | #-----[ Rules ]-------------------------------------------- |
---|
| 34 | |
---|
[142] | 35 | RegisterFile_library_only : |
---|
[53] | 36 | @\ |
---|
[142] | 37 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile; |
---|
| 38 | |
---|
| 39 | RegisterFile_library_clean_only : |
---|
| 40 | @\ |
---|
| 41 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile clean; |
---|
| 42 | |
---|
| 43 | RegisterFile_library : RegisterFile_library_only |
---|
| 44 | @\ |
---|
[53] | 45 | $(MAKE) Behavioural_library; \ |
---|
| 46 | $(MAKE) RegisterFile_Monolithic_library;\ |
---|
[146] | 47 | $(MAKE) RegisterFile_Multi_Banked_library;\ |
---|
| 48 | $(MAKE) RegisterFile_Internal_Banked_library; |
---|
[53] | 49 | |
---|
[142] | 50 | RegisterFile_library_clean : RegisterFile_library_clean_only |
---|
[53] | 51 | @\ |
---|
| 52 | $(MAKE) Behavioural_library_clean; \ |
---|
| 53 | $(MAKE) RegisterFile_Monolithic_library_clean;\ |
---|
[146] | 54 | $(MAKE) RegisterFile_Multi_Banked_library_clean;\ |
---|
| 55 | $(MAKE) RegisterFile_Internal_Banked_library_clean; |
---|