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_unit = yes |
---|
11 | |
---|
12 | |
---|
13 | ifndef RegisterFile |
---|
14 | include $(DIR_MORPHEO)/Behavioural/Generic/RegisterFile/Makefile.deps |
---|
15 | endif |
---|
16 | ifndef Register_unit_Glue |
---|
17 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/Makefile.deps |
---|
18 | endif |
---|
19 | ifndef Behavioural |
---|
20 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
21 | endif |
---|
22 | |
---|
23 | #-----[ Library ]------------------------------------------ |
---|
24 | Register_unit_LIBRARY = -lRegister_unit \ |
---|
25 | $(RegisterFile_LIBRARY) \ |
---|
26 | $(Register_unit_Glue_LIBRARY) \ |
---|
27 | $(Behavioural_LIBRARY) |
---|
28 | |
---|
29 | Register_unit_DIR_LIBRARY = -L$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/lib \ |
---|
30 | $(RegisterFile_DIR_LIBRARY) \ |
---|
31 | $(Register_unit_Glue_DIR_LIBRARY) \ |
---|
32 | $(Behavioural_DIR_LIBRARY) |
---|
33 | |
---|
34 | Register_unit_DEPENDENCIES = RegisterFile_library \ |
---|
35 | Register_unit_Glue_library \ |
---|
36 | Behavioural_library |
---|
37 | |
---|
38 | Register_unit_CLEAN = RegisterFile_library_clean \ |
---|
39 | Register_unit_Glue_library_clean \ |
---|
40 | Behavioural_library_clean |
---|
41 | |
---|
42 | #-----[ Rules ]-------------------------------------------- |
---|
43 | |
---|
44 | .NOTPARALLEL : Register_unit_library Register_unit_library_clean |
---|
45 | |
---|
46 | Register_unit_library : $(Register_unit_DEPENDENCIES) |
---|
47 | @\ |
---|
48 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit --makefile=Makefile; |
---|
49 | |
---|
50 | Register_unit_library_clean : $(Register_unit_CLEAN) |
---|
51 | @\ |
---|
52 | $(MAKE) --directory=$(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit --makefile=Makefile clean; |
---|