arch/cpu.resource: remove dead code
[AROS.git] / workbench / classes / zune / betterstring / mcp / mmakefile.src
blob205393947719310d7b1194e745fcb27b3755c163
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM workbench-classes-zune-betterstring-mcp : includes \
6 #MM                                         linklibs \
7 #MM                                         workbench-classes-zune-betterstring-class \
8 #MM                                         workbench-classes-zune-betterstring-mcp-locale
10 USER_INCLUDES := -I$(TOP)/$(CURDIR) -idirafter $(SRCDIR)/$(CURDIR)/../include -I$(SRCDIR)/$(CURDIR)/../mcc
11 USER_CFLAGS := -DAROS_ABI_V1
12 USER_LDFLAGS := -static
14 FILES := library \
15         locale \
16         CreatePrefsGroup \
17         Dispatcher \
18         icon \
19         Debug
20          
21 %build_module_simple mmake=workbench-classes-zune-betterstring-mcp \
22   modname=BetterString modtype=mcp \
23   files=$(FILES)
26 #MM includes-copy
28 INCLUDE_FILES := ../include/mui/BetterString_mcc.h
29 %copy_includes path=mui dir=../include/mui
32 TARGETDIR := $(AROS_CATALOGS)
33 LANGUAGES := $(basename $(notdir $(call WILDCARD,$(SRCDIR)/$(CURDIR)/locale/*.po)))
34 CATALOGS := $(addprefix $(TARGETDIR)/,$(addsuffix /BetterString_mcp.catalog,$(LANGUAGES)))
36 #MM
37 workbench-classes-zune-betterstring-mcp-locale : locale.h locale.c $(CATALOGS)
39 locale.h: locale.c
40 locale.c: $(SRCDIR)/$(CURDIR)/locale/BetterString_mcp.pot $(SRCDIR)/$(CURDIR)/C_h.sd $(SRCDIR)/$(CURDIR)/C_c.sd
41         $(FLEXCAT) $(SRCDIR)/$(CURDIR)/locale/BetterString_mcp.pot locale.h=$(SRCDIR)/$(CURDIR)/C_h.sd locale.c=$(SRCDIR)/$(CURDIR)/C_c.sd
43 $(TARGETDIR)/%/BetterString_mcp.catalog: $(SRCDIR)/$(CURDIR)/locale/%.po
44         $(ECHO) "Building catalog $@"
45         $(MKDIR) $(dir $@)
46         $(FLEXCAT) POFILE $< CATALOG $@
48 %common