source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/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
10Prediction_unit                 = yes
11
12ifndef Behavioural
13include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
14endif
15ifndef Branch_Target_Buffer
16include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Makefile.deps
17endif
18ifndef Direction
19include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Makefile.deps
20endif
21ifndef Return_Address_Stack
22include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/Makefile.deps
23endif
24ifndef Update_Prediction_Table
25include                         $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/Makefile.deps
26endif
27
28#-----[ Directory ]----------------------------------------
29
30Prediction_unit_DIR                     =       $(DIR_MORPHEO)/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit
31
32#-----[ Library ]------------------------------------------
33
34Prediction_unit_LIBRARY                 =       -lPrediction_unit                       \
35                                                $(Behavioural_LIBRARY)                  \
36                                                $(Branch_Target_Buffer_LIBRARY)         \
37                                                $(Direction_LIBRARY)                    \
38                                                $(Return_Address_Stack_LIBRARY)         \
39                                                $(Update_Prediction_Table_LIBRARY)     
40
41
42Prediction_unit_DIR_LIBRARY             =       -L$(Prediction_unit_DIR)/lib            \
43                                                $(Behavioural_DIR_LIBRARY)              \
44                                                $(Branch_Target_Buffer_DIR_LIBRARY)     \
45                                                $(Direction_DIR_LIBRARY)                \
46                                                $(Return_Address_Stack_DIR_LIBRARY)     \
47                                                $(Update_Prediction_Table_DIR_LIBRARY) 
48
49
50#-----[ Rules ]--------------------------------------------
51
52Prediction_unit_library         :
53                                @\
54                                $(MAKE) Behavioural_library;                    \
55                                $(MAKE) Branch_Target_Buffer_library;           \
56                                $(MAKE) Direction_library;                      \
57                                $(MAKE) Return_Address_Stack_library;           \
58                                $(MAKE) Update_Prediction_Table_library;        \
59                                $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile;
60
61Prediction_unit_library_clean   :
62                                @\
63                                $(MAKE) Behavioural_library_clean;              \
64                                $(MAKE) Branch_Target_Buffer_library_clean;     \
65                                $(MAKE) Direction_library_clean;                \
66                                $(MAKE) Return_Address_Stack_library_clean;     \
67                                $(MAKE) Update_Prediction_Table_library_clean;  \
68                                $(MAKE) --directory=$(Prediction_unit_DIR) --makefile=Makefile clean;
Note: See TracBrowser for help on using the repository browser.