3 # This creates the file listing used by xgettext and friends based on the
4 # declared domain of the make file. It also arranges to set the DOMAIN
5 # CPPFLAG for the compilation.
7 MY_DOMAIN := $(PACKAGE)
9 $($(LOCAL)-OBJS): CPPFLAGS := $(CPPFLAGS) -DAPT_DOMAIN='"$(APT_DOMAIN)"'
10 MY_DOMAIN := $(APT_DOMAIN)
13 MKDIRS += $(PO_DOMAINS)/$(MY_DOMAIN)
14 $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list: $(addprefix $(BASE)/$(SUBDIR)/,$(SOURCE))
15 $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list: makefile dirs
16 (echo $(addprefix $(SUBDIR)/,$(SOURCE)) | xargs -n1 echo) > $@
17 startup binary program clean: $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list
19 veryclean: veryclean/$(LOCAL)
20 veryclean/po/$(LOCAL): LIST := $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list
21 veryclean/po/$(LOCAL):