1180
|
1 include ./Makefile.def
|
|
2
|
|
3 TAGS = gtags
|
|
4 TAGSOPTION =
|
|
5 TAGSFILE = GPATH GRTAGS GSYMS GTAGS
|
|
6
|
|
7 default: fifo
|
|
8
|
|
9 fifo: FORCE
|
|
10 @$(MAKE) -f Makefile.fifo
|
|
11
|
|
12 fifo64: FORCE
|
|
13 @$(MAKE) -f Makefile.fifo ABIBIT=64
|
|
14
|
|
15 depend: FORCE
|
|
16 @$(MAKE) -f Makefile.fifo depend
|
|
17
|
|
18 cell: FORCE
|
|
19 @$(MAKE) -f Makefile.cell
|
|
20
|
|
21 parallel: FORCE
|
|
22 @$(MAKE) -f Makefile.parallel
|
|
23
|
|
24 FORCE:
|
|
25 -mkdir -p ../include/TaskManager
|
|
26 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager
|
|
27
|
|
28 distclean: clean
|
|
29 rm -f $(TAGSFILE)
|
|
30 $(MAKE) -f Makefile.cell celldistclean
|
|
31 $(MAKE) -f Makefile.fifo fifodistclean
|
|
32
|
|
33 clean:
|
|
34 rm -f *~ \#*
|
|
35 rm -f $(TARGET)
|
|
36 cd $(KERN_DIR); rm -f *~ \#*
|
|
37 cd $(KERN_PPE_DIR); rm -f *~ \#*
|
|
38 cd $(KERN_SPE_DIR); rm -f *~ \#*
|
|
39 cd $(KERN_SCHED_DIR); rm -f *~ \#*
|
|
40 cd $(KERN_MEM_DIR); rm -f *~ \#*
|
|
41 cd $(KERN_SYSTASK_DIR); rm -f *~ \#*
|
|
42 cd $(KERN_MEM_DIR); rm -f *~ \#*
|
|
43 cd $(IMPL_FIFO_DIR); rm -f *~ \#*
|
|
44 cd $(IMPL_CELL_DIR); rm -f *~ \#*
|
|
45 rm -f $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SPE_OBJS) \
|
|
46 $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(KERN_MEM_OBJS)
|
|
47 rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS)
|
|
48 $(MAKE) -f Makefile.cell cellclean
|
|
49 $(MAKE) -f Makefile.fifo fifoclean
|
|
50 rm -rf *.a ../include
|
|
51
|
|
52 tags:
|
|
53 $(TAGS) $(TAGSOPTION)
|
|
54
|
|
55 -include ./Makefile.dep
|