more lower case changes for Makefile -> makefile
[reactos.git] / reactos / tools / unicode / makefile
1 UNICODE_BASE = tools$(SEP)unicode
2
3 UNICODE_TARGET = \
4 $(ROS_INTERMEDIATE)$(UNICODE_BASE)$(SEP)libunicode.a
5
6 UNICODE_CODEPAGES = \
7 037 \
8 424 \
9 437 \
10 500 \
11 737 \
12 775 \
13 850 \
14 852 \
15 855 \
16 856 \
17 857 \
18 860 \
19 861 \
20 862 \
21 863 \
22 864 \
23 865 \
24 866 \
25 869 \
26 874 \
27 875 \
28 878 \
29 932 \
30 936 \
31 949 \
32 950 \
33 1006 \
34 1026 \
35 1250 \
36 1251 \
37 1252 \
38 1253 \
39 1254 \
40 1255 \
41 1256 \
42 1257 \
43 1258 \
44 10000 \
45 10006 \
46 10007 \
47 10029 \
48 10079 \
49 10081 \
50 20866 \
51 20932 \
52 21866 \
53 28591 \
54 28592 \
55 28593 \
56 28594 \
57 28595 \
58 28596 \
59 28597 \
60 28598 \
61 28599 \
62 28600 \
63 28603 \
64 28604 \
65 28605 \
66 28606
67
68 UNICODE_SOURCES = \
69 $(UNICODE_BASE)$(SEP)casemap.c \
70 $(UNICODE_BASE)$(SEP)compose.c \
71 $(UNICODE_BASE)$(SEP)cptable.c \
72 $(UNICODE_BASE)$(SEP)mbtowc.c \
73 $(UNICODE_BASE)$(SEP)string.c \
74 $(UNICODE_BASE)$(SEP)wctomb.c \
75 $(UNICODE_BASE)$(SEP)wctype.c \
76 $(addprefix $(UNICODE_BASE)$(SEP), $(UNICODE_CODEPAGES:%=c_%.o))
77
78 UNICODE_OBJECTS = \
79 $(UNICODE_SOURCES:.c=.o)
80
81 UNICODE_HOST_CFLAGS = \
82 -D__USE_W32API -DWINVER=0x501 -DWINE_UNICODE_API= \
83 -Dwchar_t="unsigned short" -D_WCHAR_T_DEFINED \
84 -I$(UNICODE_BASE) -Iinclude/wine -Iw32api/include
85
86 $(UNICODE_TARGET): $(UNICODE_OBJECTS)
87 ${host_ar} -rc $(UNICODE_TARGET) $(UNICODE_OBJECTS)
88
89 $(UNICODE_OBJECTS): %.o : %.c
90 ${host_gcc} $(UNICODE_HOST_CFLAGS) -c $< -o $@
91
92 .PHONY: unicode_clean
93 unicode_clean:
94 -@$(rm) $(UNICODE_TARGET) $(UNICODE_OBJECTS) 2>$(NUL)
95 clean: unicode_clean