annotate TaskManager/Makefile.cell @ 318:7efc5ede2c03

Document/Cerium_2009.mm
author aaa
date Tue, 09 Jun 2009 22:55:00 +0900
parents 2ac66db4dd11
children f64d75473f95
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
1 include ./Makefile.def
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
2
80
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
3 TARGET = libCellManager.a
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
4 SPETARGET = libspemanager.a
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
5
304
e679d401eab3 fix Makefile.cell
kono@localhost.localdomain
parents: 303
diff changeset
6 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe
318
7efc5ede2c03 Document/Cerium_2009.mm
aaa
parents: 308
diff changeset
7 CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cc)
7efc5ede2c03 Document/Cerium_2009.mm
aaa
parents: 308
diff changeset
8 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o)
301
bcb81858aa62 remove deprecated source. not work.
tkaito@localhost.localdomain
parents: 109
diff changeset
9
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
10 SPUCC = spu-g++
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
11
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
12 EXTRA_CFLAGS = -D__CERIUM_CELL__ -fno-strict-aliasing
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
13
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
14 SPE_CFLAGS = -fno-exceptions -fno-rtti
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
15
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
16 all: default
318
7efc5ede2c03 Document/Cerium_2009.mm
aaa
parents: 308
diff changeset
17 default: $(TARGET) $(SPETARGET)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
18
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
19 PPE_ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_CELL_OBJS)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
20
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
21 $(TARGET): $(PPE_ALL_OBJS)
61
6bc72fde6615 *** empty log message ***
gongo
parents: 60
diff changeset
22 ar crus $@ $(PPE_ALL_OBJS)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
23
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
24 $(PPE_ALL_OBJS): %.o : %.cc
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
25 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
26
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
27 $(SPETARGET): $(CELL_SPE_OBJS)
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
28 ar crus $@ $(CELL_SPE_OBJS)
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
29
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
30 $(CELL_SPE_OBJS): %.o : %.cc
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
31 $(SPUCC) $(CFLAGS) $(SPE_CFLAGS) $(INCLUDE) -c $< -o $@
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
32
80
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
33 celldistclean: cellclean
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
34 rm -f $(TARGET)
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
35 rm -f $(SPETARGET)
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
36
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
37 cellclean:
318
7efc5ede2c03 Document/Cerium_2009.mm
aaa
parents: 308
diff changeset
38 rm -f $(CELL_SPE_OBJS)
7efc5ede2c03 Document/Cerium_2009.mm
aaa
parents: 308
diff changeset
39 cd $(CELL_SPE_DIR); rm -f *~ \#*