Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Makefile.cell @ 308:2ac66db4dd11
remove SchedTaskImpl
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Jun 2009 19:36:48 +0900 |
parents | e679d401eab3 |
children | 7efc5ede2c03 |
rev | line source |
---|---|
58 | 1 include ./Makefile.def |
2 | |
80 | 3 TARGET = libCellManager.a |
74 | 4 SPETARGET = libspemanager.a |
5 | |
304 | 6 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe |
7 | |
302 | 8 CELL_SPE_SCHEDULE_SRC = $(CELL_SPE_DIR)/SchedExit.cc \ |
9 $(CELL_SPE_DIR)/SchedNop2Ready.cc \ | |
10 $(CELL_SPE_DIR)/SchedTaskList.cc \ | |
11 $(CELL_SPE_DIR)/SchedMail.cc \ | |
12 $(CELL_SPE_DIR)/SchedTask.cc \ | |
13 $(CELL_SPE_DIR)/Scheduler.cc\ | |
14 $(CELL_SPE_DIR)/SchedNop.cc \ | |
15 $(CELL_SPE_DIR)/TaskGroup.cc | |
303
a02e863dc69f
spu worked. Makefile warning remains.
kono@localhost.localdomain
parents:
302
diff
changeset
|
16 CELL_SPE_SCHEDULE_OBJ = $(CELL_SPE_SCHEDULE_SRC:.cc=.o) |
302 | 17 |
304 | 18 CELL_SPE_SRCS = \ |
19 $(CELL_SPE_DIR)/CellDmaManager.cc \ | |
20 $(CELL_SPE_DIR)/TaskList.cc \ | |
21 $(CELL_SPE_DIR)/CellScheduler.cc \ | |
22 $(CELL_SPE_DIR)/TaskQueue.cc \ | |
23 $(CELL_SPE_DIR)/Task.cc \ | |
24 $(CELL_SPE_DIR)/main.cc | |
25 | |
26 # $(wildcard $(CELL_SPE_DIR)/*.cc) | |
27 | |
302 | 28 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
|
29 |
59 | 30 SPUCC = spu-g++ |
74 | 31 |
109 | 32 EXTRA_CFLAGS = -D__CERIUM_CELL__ -fno-strict-aliasing |
33 | |
34 SPE_CFLAGS = -fno-exceptions -fno-rtti | |
58 | 35 |
59 | 36 all: default |
302 | 37 |
303
a02e863dc69f
spu worked. Makefile warning remains.
kono@localhost.localdomain
parents:
302
diff
changeset
|
38 default: $(CELL_SPE_SCHEDULE_SRC) $(TARGET) $(SPETARGET) |
59 | 39 |
109 | 40 PPE_ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_CELL_OBJS) |
41 | |
59 | 42 $(TARGET): $(PPE_ALL_OBJS) |
61 | 43 ar crus $@ $(PPE_ALL_OBJS) |
59 | 44 |
109 | 45 $(PPE_ALL_OBJS): %.o : %.cc |
74 | 46 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ |
58 | 47 |
302 | 48 $(SPETARGET): $(CELL_SPE_OBJS) |
49 ar crus $@ $(CELL_SPE_OBJS) | |
58 | 50 |
303
a02e863dc69f
spu worked. Makefile warning remains.
kono@localhost.localdomain
parents:
302
diff
changeset
|
51 $(CELL_SPE_SCHEDULE_SRC): kernel/schedule/*.cc |
a02e863dc69f
spu worked. Makefile warning remains.
kono@localhost.localdomain
parents:
302
diff
changeset
|
52 cp kernel/schedule/*.cc $(CELL_SPE_DIR)/ |
a02e863dc69f
spu worked. Makefile warning remains.
kono@localhost.localdomain
parents:
302
diff
changeset
|
53 |
109 | 54 $(CELL_SPE_OBJS): %.o : %.cc |
55 $(SPUCC) $(CFLAGS) $(SPE_CFLAGS) $(INCLUDE) -c $< -o $@ | |
74 | 56 |
80 | 57 celldistclean: cellclean |
58 rm -f $(TARGET) | |
59 rm -f $(SPETARGET) | |
60 | |
74 | 61 cellclean: |
302 | 62 rm -f $(CELL_SPE_OBJS) $(CELL_SPE_SCHEDULE_SRC) |
63 (cd $(CELL_SPE_DIR); rm -f *~ \#*) | |
64 | |
65 | |
66 |