annotate TaskManager/Makefile.parallel @ 2022:fac44ad2867d draft

make a sound
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Wed, 16 Jul 2014 02:50:32 +0900
parents ef52a2b07344
children
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
1412
f40558ec00a8 remove duplicated spe task code source
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1407
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) \
1891
e0d465efc57e directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1888
diff changeset
22 $(KERN_SYSTASK_OBJS) $(IMPL_MANYCORE_OBJS) $(KERN_MEM_OBJS) \
1898
9c7faab0181c Make.parallel fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1893
diff changeset
23 Cell/CellTaskManagerImpl.o Cell/spe/SpeTaskManagerImpl.o ManyCore/ManyCoreTaskManagerFactory.o \
9c7faab0181c Make.parallel fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1893
diff changeset
24 Fifo/FifoDmaManager.o Fifo/FifoTaskManagerImpl.o \
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
25
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
26 Makefile.dep:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
27 make -f Makefile.parallel depend
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
28
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
29 depend:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
30 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
31
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
32 $(TARGET): $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
33 ar crus $@ $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
34
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
35 paralleldistclean: parallelclean
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
36 rm -f $(TARGET)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
37
1310
26c155523861 add start_profile
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1189
diff changeset
38 parallelclean: