1179
|
1 include ./Makefile.def
|
1186
|
2 TARGET = libFifoManager.a
|
1179
|
3 CFLAGS += -DHAS_POSIX_MEMALIGN
|
1407
|
4
|
|
5 ifdef LINUX
|
1400
|
6 CFLAGS += -lrt
|
1407
|
7 endif
|
1400
|
8
|
1179
|
9
|
|
10 .SUFFIXES: .cc .o
|
|
11
|
1189
|
12 EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__
|
1179
|
13
|
|
14 .cc.o:
|
|
15 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
|
|
16
|
|
17
|
|
18 all: default
|
|
19 default: $(TARGET)
|
|
20
|
1182
|
21 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \
|
|
22 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \
|
1354
|
23 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o
|
1179
|
24
|
|
25 Makefile.dep:
|
|
26 make -f Makefile.parallel depend
|
|
27
|
|
28 depend:
|
|
29 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep
|
|
30
|
|
31 $(TARGET): $(ALL_OBJS)
|
|
32 ar crus $@ $(ALL_OBJS)
|
|
33
|
|
34 paralleldistclean: parallelclean
|
|
35 rm -f $(TARGET)
|
|
36
|
1310
|
37 parallelclean:
|