Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / classes / gadgets / texteditor / mcp / mmakefile.src
blob2bcfd9c22ffd2443871d45f1575dcff108c287f5
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 #MM workbench-classes-zune-texteditor-mcp : includes \
5 #MM                                         linklibs \
6 #MM                                         workbench-classes-zune-texteditor-class \
7 #MM                                         workbench-classes-zune-texteditor-mcp-locale \
8 #MM                                         workbench-classes-zune-betterstring-class \
9 #MM                                         workbench-classes-zune-hotkeystring-class
11 #MM- clean :  texteditor-mcp-clean
13 USER_INCLUDES = -I$(SRCDIR)/$(CURDIR)/../../../zune/betterstring/includes -I$(SRCDIR)/$(CURDIR)/../mcc -I$(SRCDIR)/$(CURDIR)/..
15 FILES := locale \
16          CreatePrefsGroup \
17          Dispatcher \
18          Keybindings \
19          KeyStorage \
20          ObjectCreator \
21          Debug
22          
23 %build_module mmake=workbench-classes-zune-texteditor-mcp \
24   modname=TextEditor modtype=mcp \
25   files=$(FILES) conffile=texteditor.conf \
26   uselibs="amiga mui rom m"
29 #MM includes-copy
31 INCLUDE_FILES := TextEditor_mcp.h
32 %copy_includes path=mui
34 #MM workbench-classes-zune-texteditor-mcp-locale :
35 workbench-classes-zune-texteditor-mcp-locale : $(TOP)/$(CURDIR)/locale.c $(TOP)/$(CURDIR)/locale.h
37 $(TOP)/$(CURDIR)/locale.h : $(TOP)/$(CURDIR)/locale.c
38 $(TOP)/$(CURDIR)/locale.c : $(SRCDIR)/$(CURDIR)/locale/TextEditor_mcp.cd $(SRCDIR)/$(CURDIR)/C_h.sd $(SRCDIR)/$(CURDIR)/C_c.sd
39         @$(ECHO) "Generating locale file $@..."
40         @$(FLEXCAT) $(SRCDIR)/$(CURDIR)/locale/TextEditor_mcp.cd locale.h=$(SRCDIR)/$(CURDIR)/C_h.sd locale.c=$(SRCDIR)/$(CURDIR)/C_c.sd
42 #MM
43 texteditor-mcp-clean :
44         -$(RM) $(TOP)/$(CURDIR)/locale.h $(TOP)/$(CURDIR)/locale.c
46 %common