[76] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 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 | Read_unit_LIBRARY = -lRead_unit \ |
---|
| 28 | $(Behavioural_LIBRARY) \ |
---|
| 29 | $(Read_queue_LIBRARY) \ |
---|
| 30 | $(Reservation_station_LIBRARY) |
---|
| 31 | |
---|
| 32 | Read_unit_DIR_LIBRARY = -L$(Read_unit_DIR)/lib \ |
---|
| 33 | $(Behavioural_DIR_LIBRARY) \ |
---|
| 34 | $(Read_queue_DIR_LIBRARY) \ |
---|
| 35 | $(Reservation_station_DIR_LIBRARY) |
---|
| 36 | |
---|
| 37 | Read_unit_DEPENDENCIES = Behavioural_library \ |
---|
| 38 | Read_queue_library \ |
---|
| 39 | Reservation_station_library |
---|
| 40 | |
---|
| 41 | Read_unit_CLEAN = Behavioural_library_clean \ |
---|
| 42 | Read_queue_library_clean \ |
---|
| 43 | Reservation_station_library_clean |
---|
| 44 | |
---|
| 45 | #-----[ Rules ]-------------------------------------------- |
---|
| 46 | |
---|
| 47 | .NOTPARALLEL : Read_unit_library |
---|
| 48 | .NOTPARALLEL : Read_unit_library_clean |
---|
| 49 | |
---|
| 50 | Read_unit_library : $(Read_unit_DEPENDENCIES) |
---|
| 51 | @\ |
---|
| 52 | $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile; |
---|
| 53 | |
---|
| 54 | Read_unit_library_clean : $(Read_unit_CLEAN) |
---|
| 55 | @\ |
---|
| 56 | $(MAKE) --directory=$(Read_unit_DIR) --makefile=Makefile clean; |
---|