user: Added helper functions for A<->W conversion of single characters.
[wine] / dlls / user / Makefile.in
1 EXTRADEFS = -D_USER32_ -D_WINABLE_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = user32.dll
7 IMPORTLIB = libuser32.$(IMPLIBEXT)
8 IMPORTS   = gdi32 advapi32 kernel32 ntdll
9 DELAYIMPORTS = imm32
10 EXTRALIBS = $(LIBUNICODE)
11
12 SPEC_SRCS16 = \
13         ddeml.spec \
14         display.drv.spec \
15         keyboard.drv.spec \
16         mouse.drv.spec \
17         user.exe.spec
18
19 C_SRCS = \
20         button.c \
21         caret.c \
22         class.c \
23         clipboard.c \
24         combo.c \
25         cursoricon.c \
26         dde_client.c \
27         dde_misc.c \
28         dde_server.c \
29         ddeml16.c \
30         defdlg.c \
31         defwnd.c \
32         desktop.c \
33         dialog.c \
34         dialog16.c \
35         driver.c \
36         driver16.c \
37         edit.c \
38         exticon.c \
39         focus.c \
40         hook.c \
41         icontitle.c \
42         input.c \
43         listbox.c \
44         lstr.c \
45         mdi.c \
46         menu.c \
47         message.c \
48         misc.c \
49         msg16.c \
50         msgbox.c \
51         nonclient.c \
52         painting.c \
53         property.c \
54         resource.c \
55         scroll.c \
56         spy.c \
57         static.c \
58         sysparams.c \
59         text.c \
60         uitools.c \
61         user_main.c \
62         win.c \
63         winhelp.c \
64         winpos.c \
65         winproc.c \
66         winstation.c \
67         wsprintf.c
68
69 C_SRCS16 = \
70         bidi16.c \
71         comm16.c \
72         display.c \
73         hook16.c \
74         kbd16.c \
75         mouse16.c \
76         network.c \
77         user16.c \
78         wnd16.c
79
80 RC_SRCS = resources/user32.rc
81
82 RC_BINSRC = resources/user32_bin.rc
83 RC_BINARIES = \
84         resources/obm_btncorners.bmp \
85         resources/obm_btsize.bmp \
86         resources/obm_check.bmp \
87         resources/obm_checkboxes.bmp \
88         resources/obm_close.bmp \
89         resources/obm_combo.bmp \
90         resources/obm_dnarrow.bmp \
91         resources/obm_dnarrowd.bmp \
92         resources/obm_dnarrowi.bmp \
93         resources/obm_lfarrow.bmp \
94         resources/obm_lfarrowd.bmp \
95         resources/obm_lfarrowi.bmp \
96         resources/obm_mnarrow.bmp \
97         resources/obm_old_close.bmp \
98         resources/obm_old_dnarrow.bmp \
99         resources/obm_old_lfarrow.bmp \
100         resources/obm_old_reduce.bmp \
101         resources/obm_old_restore.bmp \
102         resources/obm_old_rgarrow.bmp \
103         resources/obm_old_uparrow.bmp \
104         resources/obm_old_zoom.bmp \
105         resources/obm_reduce.bmp \
106         resources/obm_reduced.bmp \
107         resources/obm_restore.bmp \
108         resources/obm_restored.bmp \
109         resources/obm_rgarrow.bmp \
110         resources/obm_rgarrowd.bmp \
111         resources/obm_rgarrowi.bmp \
112         resources/obm_size.bmp \
113         resources/obm_trtype.bmp \
114         resources/obm_uparrow.bmp \
115         resources/obm_uparrowd.bmp \
116         resources/obm_uparrowi.bmp \
117         resources/obm_zoom.bmp \
118         resources/obm_zoomd.bmp \
119         resources/ocr_appstarting.cur \
120         resources/ocr_cross.cur \
121         resources/ocr_dragobject.cur \
122         resources/ocr_hand.cur \
123         resources/ocr_help.cur \
124         resources/ocr_ibeam.cur \
125         resources/ocr_icon.cur \
126         resources/ocr_no.cur \
127         resources/ocr_normal.cur \
128         resources/ocr_size.cur \
129         resources/ocr_sizeall.cur \
130         resources/ocr_sizenesw.cur \
131         resources/ocr_sizens.cur \
132         resources/ocr_sizenwse.cur \
133         resources/ocr_sizewe.cur \
134         resources/ocr_up.cur \
135         resources/ocr_wait.cur \
136         resources/oic_bang.ico \
137         resources/oic_hand.ico \
138         resources/oic_note.ico \
139         resources/oic_ques.ico \
140         resources/oic_sample.ico \
141         resources/oic_winlogo.ico
142
143 RC_SRCS16 = \
144         resources/display.rc \
145         resources/mouse.rc \
146         resources/version16.rc
147
148 SUBDIRS = tests
149
150 EXTRASUBDIRS = resources
151
152 @MAKE_DLL_RULES@
153
154 # Special rules for 16-bit resource and spec files
155
156 user.exe.spec.o: user.exe.spec resources/version16.res
157         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
158
159 display.drv.spec.o: display.drv.spec resources/display.res
160         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
161
162 mouse.drv.spec.o: mouse.drv.spec resources/mouse.res
163         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
164
165 resources/display.res: resources/display.rc
166         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
167
168 resources/mouse.res: resources/mouse.rc
169         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
170
171 resources/version16.res: resources/version16.rc
172         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
173
174 ### Dependencies: