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