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 | Read_unit = yes |
---|
11 | |
---|
12 | ifndef Behavioural |
---|
13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
14 | endif |
---|
15 | ifndef Read_queue |
---|
16 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/Makefile.deps |
---|
17 | endif |
---|
18 | ifndef Reservation_station |
---|
19 | include $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/Makefile.deps |
---|
20 | endif |
---|
21 | |
---|
22 | #-----[ Directory ]---------------------------------------- |
---|
23 | |
---|
24 | Read_unit_DIR = $(DIR_MORPHEO)/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit |
---|
25 | |
---|
26 | #-----[ Library ]------------------------------------------ |
---|
27 | |
---|
28 | Read_unit_LIBRARY = -lRead_unit \ |
---|
29 | $(Behavioural_LIBRARY) \ |
---|
30 | $(Read_queue_LIBRARY) \ |
---|
31 | $(Reservation_station_LIBRARY) |
---|
32 | |
---|
33 | #-----[ Rules ]-------------------------------------------- |
---|
34 | |
---|
35 | Read_unit_library_only : |
---|
36 | @\ |
---|
37 | $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile; |
---|
38 | |
---|
39 | Read_unit_library_clean_only : |
---|
40 | @\ |
---|
41 | $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile clean; |
---|
42 | |
---|
43 | Read_unit_library : Read_unit_library_only |
---|
44 | @\ |
---|
45 | $(MAKE) Behavioural_library; \ |
---|
46 | $(MAKE) Read_queue_library; \ |
---|
47 | $(MAKE) Reservation_station_library; |
---|
48 | |
---|
49 | Read_unit_library_clean : Read_unit_library_clean_only |
---|
50 | @\ |
---|
51 | $(MAKE) Behavioural_library_clean; \ |
---|
52 | $(MAKE) Read_queue_library_clean; \ |
---|
53 | $(MAKE) Reservation_station_library_clean; |
---|