3 include $(SRCDIR)/config/aros.cfg
5 #MM- tools-flexcat : tools-flexcat-bin tools-flexcat-sd tools-flexcat-locale
6 #MM tools-flexcat-bin : includes linklibs
28 EXEDIR := $(AROS_CONTRIB)/Development/FlexCat
29 NOWARN_FLAGS := $(NOWARN_FORMAT)
30 USER_CFLAGS := $(NOWARN_FLAGS) -DNO_INLINE_STDARG -D__BSD_VISIBLE=1 -DAMIGA
32 %build_prog mmake=tools-flexcat-bin files=$(FILES) \
33 progname=flexcat targetdir=$(EXEDIR)
35 %copy_dir_recursive mmake=tools-flexcat-sd src=sd dst=$(EXEDIR)/Lib
38 TARGETDIR := $(EXEDIR)/Catalogs
39 LANGUAGES := $(basename $(notdir $(call WILDCARD,$(SRCDIR)/$(CURDIR)/locale/*.po)))
40 CATALOGS := $(addprefix $(TARGETDIR)/,$(addsuffix /FlexCat.catalog,$(LANGUAGES)))
43 tools-flexcat-locale : $(CATALOGS)
45 $(TARGETDIR)/%/FlexCat.catalog: $(SRCDIR)/$(CURDIR)/locale/%.po
46 $(ECHO) "Building catalog $@"
48 $(FLEXCAT) POFILE $< CATALOG $@