3
|
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 cell: FORCE
|
|
13 @$(MAKE) -f Makefile.cell
|
|
14
|
|
15 FORCE:
|
367
|
16 -mkdir -p ../include/TaskManager
|
|
17 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager
|
3
|
18
|
|
19 distclean: clean
|
|
20 rm -f $(TAGSFILE)
|
80
|
21 $(MAKE) -f Makefile.cell celldistclean
|
|
22 $(MAKE) -f Makefile.fifo fifodistclean
|
3
|
23
|
|
24 clean:
|
|
25 rm -f *~ \#*
|
|
26 rm -f $(TARGET)
|
109
|
27 cd $(KERN_DIR); rm -f *~ \#*
|
|
28 cd $(KERN_PPE_DIR); rm -f *~ \#*
|
|
29 cd $(KERN_SPE_DIR); rm -f *~ \#*
|
|
30 cd $(KERN_SCHED_DIR); rm -f *~ \#*
|
|
31 cd $(KERN_SYSTASK_DIR); rm -f *~ \#*
|
|
32 cd $(IMPL_FIFO_DIR); rm -f *~ \#*
|
|
33 cd $(IMPL_CELL_DIR); rm -f *~ \#*
|
|
34 rm -f $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SPE_OBJS) \
|
|
35 $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS)
|
3
|
36 rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS)
|
74
|
37 $(MAKE) -f Makefile.cell cellclean
|
80
|
38 $(MAKE) -f Makefile.fifo fifoclean
|
367
|
39 rm -rf *.a ../include
|
3
|
40
|
|
41 tags:
|
109
|
42 $(TAGS) $(TAGSOPTION)
|