version 1.12, 2006/01/30 16:16:23
|
version 1.13, 2008/03/11 19:39:49
|
|
|
| |
# If we are using ICU resource bundles, then the compiled bundles are .res files | # If we are using ICU resource bundles, then the compiled bundles are .res files |
# since the individual makefiles do not specify a root package file, one is appended to the target list | # since the individual makefiles do not specify a root package file, one is appended to the target list |
ifdef ICU_ROOT |
ifeq ($(PEGASUS_HAS_ICU), true) |
TMP_MSG_BUNDLES = $(foreach i,$(MSG_SOURCES),$(MSG_DIR)/$i) | TMP_MSG_BUNDLES = $(foreach i,$(MSG_SOURCES),$(MSG_DIR)/$i) |
MSG_BUNDLES = $(TMP_MSG_BUNDLES:.txt=.res) | MSG_BUNDLES = $(TMP_MSG_BUNDLES:.txt=.res) |
MSG_BUNDLES += $(MSG_DIR)/$(MSG_PACKAGE)_root.res | MSG_BUNDLES += $(MSG_DIR)/$(MSG_PACKAGE)_root.res |
|
|
################################################################################ | ################################################################################ |
| |
# Rule for ICU resource bundles | # Rule for ICU resource bundles |
ifdef ICU_ROOT |
ifeq ($(PEGASUS_HAS_ICU), true) |
messages: $(MSG_BUNDLES) | messages: $(MSG_BUNDLES) |
| |
$(MSG_DIR)/$(MSG_PACKAGE)_root.res: $(MSG_PACKAGE)_root.rb $(ERROR) | $(MSG_DIR)/$(MSG_PACKAGE)_root.res: $(MSG_PACKAGE)_root.rb $(ERROR) |
|
|
FILES_TO_CLEAN = $(MSG_BUNDLES) | FILES_TO_CLEAN = $(MSG_BUNDLES) |
FILES_TO_CLEAN += $(ROOT)/src/$(DIR)/*.rb | FILES_TO_CLEAN += $(ROOT)/src/$(DIR)/*.rb |
| |
ifdef ICU_ROOT |
ifeq ($(PEGASUS_HAS_ICU), true) |
include $(ROOT)/mak/clean.mak | include $(ROOT)/mak/clean.mak |
else | else |
clean: | clean: |