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