3 include $(SRCDIR)/config/aros.cfg
5 #MM classes-zune-nlistviews-mcp : includes linklibs classes-zune-nlistviews-mcp-catalogs
6 #MM classes-zune-nlistviews-mcp-test : includes linklibs
8 USER_INCLUDES := -idirafter $(SRCDIR)/$(CURDIR)/../include -I$(SRCDIR)/$(CURDIR)/../nlistview_mcc
9 USER_CPPFLAGS := -DNO_INLINE_STDARG -DAROS_ABI_V1
10 USER_CFLAGS += $(PARANOIA_CFLAGS)
11 USER_LDFLAGS := -static
13 FILES := locale NListviews icon Debug
15 %build_module_simple mmake=classes-zune-nlistviews-mcp \
16 modname=NListviews modtype=mcp \
17 files="library $(FILES)"
20 %build_prog mmake=classes-zune-nlistviews-mcp-test progname=NListviews-Prefs \
21 files="NListviews-Prefs $(FILES)" targetdir=$(AROS_TESTS)/NList
26 INCLUDE_FILES := NListviews_mcp.h
27 %copy_includes path=mui
30 TARGETDIR := $(AROS_CATALOGS)
31 LANGUAGES := $(basename $(notdir $(call WILDCARD,$(SRCDIR)/$(CURDIR)/locale/*.po)))
32 CATALOGS := $(addprefix $(TARGETDIR)/,$(addsuffix /NListviews_mcp.catalog,$(LANGUAGES)))
35 classes-zune-nlistviews-mcp-catalogs : locale.h locale.c $(CATALOGS)
38 locale.c: $(SRCDIR)/$(CURDIR)/locale/NListviews_mcp.pot $(SRCDIR)/$(CURDIR)/C_h.sd $(SRCDIR)/$(CURDIR)/C_c.sd
39 $(FLEXCAT) $(SRCDIR)/$(CURDIR)/locale/NListviews_mcp.pot locale.h=$(SRCDIR)/$(CURDIR)/C_h.sd locale.c=$(SRCDIR)/$(CURDIR)/C_c.sd
41 $(TARGETDIR)/%/NListviews_mcp.catalog: $(SRCDIR)/$(CURDIR)/locale/%.po
42 $(ECHO) "Building catalog $@"
44 $(FLEXCAT) POFILE $< CATALOG $@