annotate TaskManager/Makefile.cell @ 303:a02e863dc69f

spu worked. Makefile warning remains.
author kono@localhost.localdomain
date Mon, 08 Jun 2009 18:21:01 +0900
parents b0d37afab06a
children e679d401eab3
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
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
6 CELL_SPE_SCHEDULE_SRC = $(CELL_SPE_DIR)/SchedExit.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
7 $(CELL_SPE_DIR)/SchedNop2Ready.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
8 $(CELL_SPE_DIR)/SchedTaskList.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
9 $(CELL_SPE_DIR)/SchedMail.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
10 $(CELL_SPE_DIR)/SchedTask.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
11 $(CELL_SPE_DIR)/Scheduler.cc\
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
12 $(CELL_SPE_DIR)/SchedNop.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
13 $(CELL_SPE_DIR)/SchedTaskImpl.cc \
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
14 $(CELL_SPE_DIR)/TaskGroup.cc
303
a02e863dc69f spu worked. Makefile warning remains.
kono@localhost.localdomain
parents: 302
diff changeset
15 CELL_SPE_SCHEDULE_OBJ = $(CELL_SPE_SCHEDULE_SRC:.cc=.o)
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
16
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
17 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
18 CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cc)
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
19 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o) $(CELL_SPE_SCHEDULE_OBJ)
301
bcb81858aa62 remove deprecated source. not work.
tkaito@localhost.localdomain
parents: 109
diff changeset
20
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
21 SPUCC = spu-g++
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
22
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
23 EXTRA_CFLAGS = -D__CERIUM_CELL__ -fno-strict-aliasing
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
24
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
25 SPE_CFLAGS = -fno-exceptions -fno-rtti
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
26
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
27 all: default
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
28
303
a02e863dc69f spu worked. Makefile warning remains.
kono@localhost.localdomain
parents: 302
diff changeset
29 default: $(CELL_SPE_SCHEDULE_SRC) $(TARGET) $(SPETARGET)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
30
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
31 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
32
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
33 $(TARGET): $(PPE_ALL_OBJS)
61
6bc72fde6615 *** empty log message ***
gongo
parents: 60
diff changeset
34 ar crus $@ $(PPE_ALL_OBJS)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
35
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
36 $(PPE_ALL_OBJS): %.o : %.cc
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
37 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
38
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
39 $(SPETARGET): $(CELL_SPE_OBJS)
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
40 ar crus $@ $(CELL_SPE_OBJS)
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
41
303
a02e863dc69f spu worked. Makefile warning remains.
kono@localhost.localdomain
parents: 302
diff changeset
42 $(CELL_SPE_SCHEDULE_SRC): kernel/schedule/*.cc
a02e863dc69f spu worked. Makefile warning remains.
kono@localhost.localdomain
parents: 302
diff changeset
43 cp kernel/schedule/*.cc $(CELL_SPE_DIR)/
a02e863dc69f spu worked. Makefile warning remains.
kono@localhost.localdomain
parents: 302
diff changeset
44
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
45 $(CELL_SPE_OBJS): %.o : %.cc
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 80
diff changeset
46 $(SPUCC) $(CFLAGS) $(SPE_CFLAGS) $(INCLUDE) -c $< -o $@
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
47
80
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
48 celldistclean: cellclean
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
49 rm -f $(TARGET)
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
50 rm -f $(SPETARGET)
1c648675c2bd *** empty log message ***
gongo
parents: 76
diff changeset
51
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
52 cellclean:
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
53 rm -f $(CELL_SPE_OBJS) $(CELL_SPE_SCHEDULE_SRC)
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
54 (cd $(CELL_SPE_DIR); rm -f *~ \#*)
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
55
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
56
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
57