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
RevLine 
[88]1#
2# $Id: Makefile 88 2008-12-10 18:31:39Z rosiere $
3#
4# [ Description ]
5#
6# Makefile
7#
[15]8
[88]9#----------------------------------------------------------------------
10#----------------------------------------------------------------------
11#-----[ Variables ]----------------------------------------------------
12#----------------------------------------------------------------------
13#----------------------------------------------------------------------
14
[2]15#-----[ Directory ]----------------------------------------------------
[88]16DIR_DOC                 = ./Documentation/Source
17DIR_LOCALE              = ./locale
[2]18
[88]19#----------------------------------------------------------------------
20#----------------------------------------------------------------------
[2]21#-----[ Rules ]--------------------------------------------------------
[88]22#----------------------------------------------------------------------
23#----------------------------------------------------------------------
24.PHONY                  : all help lib translate clean clean_all
[2]25
[88]26all                     : doc translate lib
[2]27
28doc                     :
[48]29                        @\
[88]30                        $(MAKE) -C $(DIR_DOC) doc;
[2]31
[88]32lib                     : Morpheo_library
[2]33
[88]34translate               :
[48]35                        @\
[88]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
[2]42
[88]43#~~~~~[ Clean ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2]44
[88]45clean                   :
[48]46                        @\
[88]47                        $(RM) *~;\
48                        $(MAKE) -C $(DIR_DOC) clean;
[48]49
[2]50
[88]51clean_all               :
[48]52                        @\
[88]53                        $(RM) *~ $(DIR_LOCALE)/*/*/*.mo;\
54                        $(MAKE) -C $(DIR_DOC) clean_all;\
55                        $(MAKE)  Morpheo_library_clean
[2]56
57
58#~~~~~[ Help ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
60help                    :
[48]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";\
[88]69                        $(ECHO) " * clean_all        Delete all generated files";\
[48]70                        $(ECHO) " * doc              View documentation files";\
[88]71                        $(ECHO) " * help             Print this message";\
[48]72                        $(ECHO) " * lib              Generate the library to include";\
[88]73                        $(ECHO) " * translate        Generate the traduction";\
[48]74                        $(ECHO) "";
[2]75
[88]76include Makefile.deps
Note: See TracBrowser for help on using the repository browser.