2 include $(TOP)/config/make.cfg
4 #MM workbench-classes-zune-texteditor-mcp : includes \
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)/..
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"
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
43 texteditor-mcp-clean :
44 -$(RM) $(TOP)/$(CURDIR)/locale.h $(TOP)/$(CURDIR)/locale.c