annotate TaskManager/Makefile.cell @ 304:e679d401eab3

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