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 | Victim = yes |
---|
11 | |
---|
12 | ifndef Behavioural |
---|
13 | include $(DIR_MORPHEO)/Behavioural/Makefile.deps |
---|
14 | endif |
---|
15 | #ifndef Victim_Random |
---|
16 | #include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Random/Makefile.deps |
---|
17 | #endif |
---|
18 | #ifndef Victim_Round_Robin |
---|
19 | #include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Round_Robin/Makefile.deps |
---|
20 | #endif |
---|
21 | #ifndef Victim_NLU |
---|
22 | #include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_NLU/Makefile.deps |
---|
23 | #endif |
---|
24 | ifndef Victim_Pseudo_LRU |
---|
25 | include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps |
---|
26 | endif |
---|
27 | #ifndef Victim_LRU |
---|
28 | #include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_LRU/Makefile.deps |
---|
29 | #endif |
---|
30 | #ifndef Victim_FIFO |
---|
31 | #include $(DIR_MORPHEO)/Behavioural/Generic/Victim/Victim_FIFO/Makefile.deps |
---|
32 | #endif |
---|
33 | |
---|
34 | #-----[ Directory ]---------------------------------------- |
---|
35 | |
---|
36 | Victim_DIR = $(DIR_MORPHEO)/Behavioural/Generic/Victim |
---|
37 | |
---|
38 | #-----[ Library ]------------------------------------------ |
---|
39 | |
---|
40 | Victim_LIBRARY = -lVictim \ |
---|
41 | $(Victim_Pseudo_LRU_LIBRARY) \ |
---|
42 | $(Behavioural_LIBRARY) |
---|
43 | |
---|
44 | # $(Victim_Random_LIBRARY) \ |
---|
45 | # $(Victim_Round_Robin_LIBRARY) \ |
---|
46 | # $(Victim_NLU_LIBRARY) \ |
---|
47 | # $(Victim_LRU_LIBRARY) \ |
---|
48 | # $(Victim_FIFO_LIBRARY) \ |
---|
49 | |
---|
50 | #-----[ Rules ]-------------------------------------------- |
---|
51 | |
---|
52 | Victim_library_only : |
---|
53 | @\ |
---|
54 | $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile; |
---|
55 | |
---|
56 | Victim_library_clean_only : |
---|
57 | @\ |
---|
58 | $(MAKE) --directory=$(Victim_DIR) --makefile=Makefile clean; |
---|
59 | |
---|
60 | Victim_library : Victim_library_only |
---|
61 | @\ |
---|
62 | $(MAKE) Behavioural_library; \ |
---|
63 | $(MAKE) Victim_Pseudo_LRU_library; |
---|
64 | |
---|
65 | # $(MAKE) Victim_Random_library; \ |
---|
66 | # $(MAKE) Victim_Round_Robin_library; \ |
---|
67 | # $(MAKE) Victim_NLU_library; \ |
---|
68 | # $(MAKE) Victim_LRU_library; \ |
---|
69 | # $(MAKE) Victim_FIFO_library; \ |
---|
70 | |
---|
71 | Victim_library_clean : Victim_library_clean_only |
---|
72 | @\ |
---|
73 | $(MAKE) Behavioural_library_clean; \ |
---|
74 | $(MAKE) Victim_Pseudo_LRU_library_clean; |
---|
75 | |
---|
76 | # $(MAKE) Victim_Random_library_clean; \ |
---|
77 | # $(MAKE) Victim_Round_Robin_library_clean; \ |
---|
78 | # $(MAKE) Victim_NLU_library_clean; \ |
---|
79 | # $(MAKE) Victim_LRU_library_clean; \ |
---|
80 | # $(MAKE) Victim_FIFO_library_clean; \ |
---|