3 include $(SRCDIR)/config/aros.cfg
5 #MM workbench-classes-zune-betterstring-mcp : includes \
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
21 %build_module_simple mmake=workbench-classes-zune-betterstring-mcp \
22 modname=BetterString modtype=mcp \
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)))
37 workbench-classes-zune-betterstring-mcp-locale : locale.h locale.c $(CATALOGS)
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 $@"
46 $(FLEXCAT) POFILE $< CATALOG $@