source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Makefile.Component

Last change on this file was 117, checked in by rosiere, 17 years ago

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1#-----[ Directory ]----------------------------------------
2DIR_DOC = doc
3DIR_TEST = SelfTest
4
5#-----[ Variable ]-----------------------------------------
6OBJECTS = $(OBJECTS_COMMON)
7
8#-----[ Rules ]--------------------------------------------
9.PRECIOUS : $(DIR_LIB)/%.a
10#.NOTPARALLEL : clean help
11
12all_component : test_env $(DIR_OBJ) $(DIR_LIB)
13 @\
14 $(MAKE) $(LIBRARY);
15
16# if simulator is modelsim, libComponent.a is a directory, else is normal library generated by g++
17
18$(DIR_LIB)/%.a : $(SOURCES) $(HEADERS)
19 @\
20 case "${SIMULATOR_SYSTEMC}" in \
21 "modelsim") \
22 $(MODELTECH_VLIB) $@; \
23 $(MODELTECH_SCCOM) $(CFLAGS) $(SOURCES) -work $@; \
24 ;; \
25 *) \
26 $(MAKE) $(OBJECTS); \
27 if $(TEST) $$? -eq 0; then \
28 $(ECHO) "Archive : $*"; \
29 $(AR) -r $@ $(OBJECTS); \
30 $(RANLIB) $@; \
31 fi; \
32 ;; \
33 esac;
34
35$(DIR_LIB) :
36 @\
37 $(ECHO) "Create directory : $@";\
38 $(MKDIR) $@;
39
40document :
41 @$(MAKE) --directory=$(DIR_DOC) --makefile=Makefile
42
43component_clean :
44 @$(RM) $(LIBRARY)
45# if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean; fi;
46
47component_clean_all : component_clean
48 @$(RM) $(DIR_LIB)
49# if $(TEST) -d $(DIR_DOC); then $(MAKE) --directory=$(DIR_DOC) --makefile=Makefile clean_all; fi;
50
51component_help :
52 @\
53 $(ECHO) " -----[ Component ]----------------------------------";\
54 $(ECHO) "";\
55 $(ECHO) " * all_component : compile all c++ file and generate library";\
56 $(ECHO) " * document : Generate documantation";\
57 $(ECHO) " * clean : Erase all generate files";\
58 $(ECHO) " * help : print this text";\
59 $(ECHO) "";
60
61help :
62 @\
63 $(MAKE) common_help;\
64 $(MAKE) component_help;
65
66clean :
67 @\
68 $(MAKE) common_clean ;\
69 $(MAKE) component_clean;
70
71clean_all :
72 @\
73 $(MAKE) common_clean_all ;\
74 $(MAKE) component_clean_all;
Note: See TracBrowser for help on using the repository browser.