annotate TaskManager/Makefile.parallel @ 1407:976f7b77f0bf draft

fix Makefile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Feb 2012 17:42:50 +0900
parents 3152bb4429da
children f40558ec00a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
1 include ./Makefile.def
1186
4c209dd223cd fix MailManager and Semaphore
Daichi TOMA
parents: 1182
diff changeset
2 TARGET = libFifoManager.a
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
3 CFLAGS += -DHAS_POSIX_MEMALIGN
1407
976f7b77f0bf fix Makefile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1400
diff changeset
4
976f7b77f0bf fix Makefile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1400
diff changeset
5 ifdef LINUX
1400
3152bb4429da add gettime
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1354
diff changeset
6 CFLAGS += -lrt
1407
976f7b77f0bf fix Makefile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1400
diff changeset
7 endif
1400
3152bb4429da add gettime
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1354
diff changeset
8
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
9
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
10 .SUFFIXES: .cc .o
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
11
1189
898fdcf53c31 add SemMailManager
Daichi TOMA
parents: 1186
diff changeset
12 EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
13
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
14 .cc.o:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
15 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
16
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
17
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
18 all: default
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
19 default: $(TARGET)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
20
1182
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
21 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
22 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \
1354
652fce805fde fix Makefile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1310
diff changeset
23 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
24
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
25 Makefile.dep:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
26 make -f Makefile.parallel depend
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
27
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
28 depend:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
29 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
30
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
31 $(TARGET): $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
32 ar crus $@ $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
33
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
34 paralleldistclean: parallelclean
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
35 rm -f $(TARGET)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
36
1310
26c155523861 add start_profile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1189
diff changeset
37 parallelclean: