1 chuck 1.1
2 #include $(ROOT)/mak/common.mak
3
4 ################################################################################
5 ##
6 ## Build list of bundle names.
7 ##
8 ################################################################################
9
10 # If we are using ICU resource bundles, then the compiled bundles are .res files
11 ifdef ICU_ROOT
12 TMP_MSG_BUNDLES = $(foreach i,$(MSG_SOURCES),$(MSG_DIR)/$i)
13 MSG_BUNDLES = $(TMP_MSG_BUNDLES:.txt=.res)
14 endif
15
16 ################################################################################
17 ##
18 ## Message compile rule:
19 ##
20 ################################################################################
21
22 chuck 1.1 # Rule for ICU resource bundles
23 ifdef ICU_ROOT
24 $(MSG_DIR)/%.res: %.txt $(ERROR)
25 $(MKDIRHIER) $(MSG_DIR)
26 $(MSG_COMPILE) -d $(MSG_DIR) $(MSG_FLAGS) -p $(MSG_PACKAGE) $*.txt
27 @ $(ECHO)
28 endif
29
30 ################################################################################
31 ##
32 ## Clean rules:
33 ##
34 ################################################################################
35
36 FILES_TO_CLEAN = $(MSG_BUNDLES)
37
38 include $(ROOT)/mak/clean.mak
39
|