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 chuck 1.4 ifdef ICU_ROOT
|
39 chuck 1.1 include $(ROOT)/mak/clean.mak
|
40 chuck 1.4 else
41 clean:
42 endif
|
43 chuck 1.1
|
44 mday 1.2 ################################################################################
45 ##
46 ## Build list of object names:
47 ##
48 ################################################################################
49
50 include $(ROOT)/mak/objects.mak
51
|
52 chuck 1.3 depend:
|
53 mday 1.2
54 include $(ROOT)/mak/build.mak
55
56 include $(ROOT)/mak/docxx.mak
57
58 include $(ROOT)/mak/sub.mak
59
60 include $(ROOT)/mak/misc.mak
61
|
62 chuck 1.1
63 tests: $(ERROR)
64
65 poststarttests: $(ERROR)
|