[53] | 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 | 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 |
---|
| 21 | |
---|
[142] | 22 | #-----[ Library ]------------------------------------------ |
---|
[53] | 23 | |
---|
| 24 | RegisterFile_LIBRARY = -lRegisterFile \ |
---|
| 25 | $(RegisterFile_Monolithic_LIBRARY) \ |
---|
| 26 | $(RegisterFile_Multi_Banked_LIBRARY) \ |
---|
| 27 | $(Behavioural_LIBRARY) |
---|
| 28 | |
---|
| 29 | #-----[ Rules ]-------------------------------------------- |
---|
| 30 | |
---|
[142] | 31 | RegisterFile_library_only : |
---|
[53] | 32 | @\ |
---|
[142] | 33 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile; |
---|
| 34 | |
---|
| 35 | RegisterFile_library_clean_only : |
---|
| 36 | @\ |
---|
| 37 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Generic/RegisterFile --makefile=Makefile clean; |
---|
| 38 | |
---|
| 39 | RegisterFile_library : RegisterFile_library_only |
---|
| 40 | @\ |
---|
[53] | 41 | $(MAKE) Behavioural_library; \ |
---|
| 42 | $(MAKE) RegisterFile_Monolithic_library;\ |
---|
[142] | 43 | $(MAKE) RegisterFile_Multi_Banked_library; |
---|
[53] | 44 | |
---|
[142] | 45 | RegisterFile_library_clean : RegisterFile_library_clean_only |
---|
[53] | 46 | @\ |
---|
| 47 | $(MAKE) Behavioural_library_clean; \ |
---|
| 48 | $(MAKE) RegisterFile_Monolithic_library_clean;\ |
---|
[142] | 49 | $(MAKE) RegisterFile_Multi_Banked_library_clean; |
---|