source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
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
10Branch_Target_Buffer                    = yes
11
12ifndef Behavioural
13include                                 $(DIR_MORPHEO)/Behavioural/Makefile.deps
14endif
15ifndef Branch_Target_Buffer_Glue
16include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/Makefile.deps
17endif
18ifndef Branch_Target_Buffer_Register
19include                                 $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/Makefile.deps
20endif
21ifndef Sort
22include                                 $(DIR_MORPHEO)/Behavioural/Generic/Sort/Makefile.deps
23endif
24ifndef Victim
25include                                 $(DIR_MORPHEO)/Behavioural/Generic/Victim/Makefile.deps
26endif
27
28#-----[ Directory ]----------------------------------------
29
30Branch_Target_Buffer_DIR                =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer
31
32#-----[ Library ]------------------------------------------
33
34Branch_Target_Buffer_LIBRARY            =       -lBranch_Target_Buffer                          \
35                                                $(Branch_Target_Buffer_Glue_LIBRARY)            \
36                                                $(Branch_Target_Buffer_Register_LIBRARY)        \
37                                                $(Sort_LIBRARY)                                 \
38                                                $(Victim_LIBRARY)                               \
39                                                $(Behavioural_LIBRARY) 
40
41Branch_Target_Buffer_DIR_LIBRARY        =       -L$(Branch_Target_Buffer_DIR)/lib               \
42                                                $(Branch_Target_Buffer_Glue_DIR_LIBRARY)        \
43                                                $(Branch_Target_Buffer_Register_DIR_LIBRARY)    \
44                                                $(Sort_DIR_LIBRARY)                             \
45                                                $(Victim_DIR_LIBRARY)                           \
46                                                $(Behavioural_DIR_LIBRARY)
47
48#-----[ Rules ]--------------------------------------------
49
50Branch_Target_Buffer_library            :
51                                        @\
52                                        $(MAKE) Behavioural_library;                            \
53                                        $(MAKE) Branch_Target_Buffer_Glue_library;              \
54                                        $(MAKE) Branch_Target_Buffer_Register_library;          \
55                                        $(MAKE) Sort_library;                                   \
56                                        $(MAKE) Victim_library;                                 \
57                                        $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile;
58
59Branch_Target_Buffer_library_clean      :
60                                        @\
61                                        $(MAKE) Behavioural_library_clean;                      \
62                                        $(MAKE) Branch_Target_Buffer_Glue_library_clean;        \
63                                        $(MAKE) Branch_Target_Buffer_Register_library_clean;    \
64                                        $(MAKE) Sort_library_clean;                             \
65                                        $(MAKE) Victim_library_clean;                           \
66                                        $(MAKE) --directory=$(Branch_Target_Buffer_DIR) --makefile=Makefile clean;
Note: See TracBrowser for help on using the repository browser.