source: trunk/IPs/systemC/processor/Morpheo/Makefile @ 88

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1#
2# $Id: Makefile 88 2008-12-10 18:31:39Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
8
9#----------------------------------------------------------------------
10#----------------------------------------------------------------------
11#-----[ Variables ]----------------------------------------------------
12#----------------------------------------------------------------------
13#----------------------------------------------------------------------
14
15#-----[ Directory ]----------------------------------------------------
16DIR_DOC                 = ./Documentation/Source
17DIR_LOCALE              = ./locale
18
19#----------------------------------------------------------------------
20#----------------------------------------------------------------------
21#-----[ Rules ]--------------------------------------------------------
22#----------------------------------------------------------------------
23#----------------------------------------------------------------------
24.PHONY                  : all help lib translate clean clean_all
25
26all                     : doc translate lib
27
28doc                     :
29                        @\
30                        $(MAKE) -C $(DIR_DOC) doc;
31
32lib                     : Morpheo_library
33
34translate               :
35                        @\
36                        for i in $(DIR_LOCALE)/*/*/*.po; do             \
37                                dir=$$($(DIRNAME) $$i);                 \
38                                file=$$($(BASENAME) $$i .po);           \
39                                $(ECHO) "Translate          : $$i";     \
40                                $(MSGFMT) $$i -o $$dir/$$file.mo;       \
41                        done
42
43#~~~~~[ Clean ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44
45clean                   :
46                        @\
47                        $(RM) *~;\
48                        $(MAKE) -C $(DIR_DOC) clean;
49
50
51clean_all               :
52                        @\
53                        $(RM) *~ $(DIR_LOCALE)/*/*/*.mo;\
54                        $(MAKE) -C $(DIR_DOC) clean_all;\
55                        $(MAKE)  Morpheo_library_clean
56
57
58#~~~~~[ Help ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
60help                    :
61                        @\
62                        $(ECHO) "";\
63                        $(ECHO) "=====[ help ]====================================";\
64                        $(ECHO) "";\
65                        $(ECHO) " Rules              Description";\
66                        $(ECHO) "";\
67                        $(ECHO) " * all              cf rule \"help\"";\
68                        $(ECHO) " * clean            Delete temporary files";\
69                        $(ECHO) " * clean_all        Delete all generated files";\
70                        $(ECHO) " * doc              View documentation files";\
71                        $(ECHO) " * help             Print this message";\
72                        $(ECHO) " * lib              Generate the library to include";\
73                        $(ECHO) " * translate        Generate the traduction";\
74                        $(ECHO) "";
75
76include Makefile.deps
Note: See TracBrowser for help on using the repository browser.