Add 16<->32 bit message mappings for WM_COPYDATA messages.
[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/driver.c \
19         $(TOPOBJDIR)/windows/multimon.c \
20         $(TOPOBJDIR)/windows/syscolor.c \
21         $(TOPOBJDIR)/windows/user.c \
22         button.c \
23         caret.c \
24         class.c \
25         clipboard.c \
26         combo.c \
27         cursoricon.c \
28         dde/client.c \
29         dde/ddeml16.c \
30         dde/misc.c \
31         dde/server.c \
32         defdlg.c \
33         defwnd.c \
34         desktop.c \
35         dialog.c \
36         dialog16.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         wsprintf.c
67
68 C_SRCS16 = \
69         bidi16.c \
70         comm16.c \
71         display.c \
72         hook16.c \
73         kbd16.c \
74         mouse16.c \
75         network.c \
76         user16.c \
77         wnd16.c
78
79 RC_SRCS = resources/user32.rc
80
81 RC_BINSRC = resources/user32_bin.rc
82 RC_BINARIES = \
83         resources/obm_btncorners.bmp \
84         resources/obm_btsize.bmp \
85         resources/obm_check.bmp \
86         resources/obm_checkboxes.bmp \
87         resources/obm_close.bmp \
88         resources/obm_combo.bmp \
89         resources/obm_dnarrow.bmp \
90         resources/obm_dnarrowd.bmp \
91         resources/obm_dnarrowi.bmp \
92         resources/obm_lfarrow.bmp \
93         resources/obm_lfarrowd.bmp \
94         resources/obm_lfarrowi.bmp \
95         resources/obm_mnarrow.bmp \
96         resources/obm_old_close.bmp \
97         resources/obm_old_dnarrow.bmp \
98         resources/obm_old_lfarrow.bmp \
99         resources/obm_old_reduce.bmp \
100         resources/obm_old_restore.bmp \
101         resources/obm_old_rgarrow.bmp \
102         resources/obm_old_uparrow.bmp \
103         resources/obm_old_zoom.bmp \
104         resources/obm_reduce.bmp \
105         resources/obm_reduced.bmp \
106         resources/obm_restore.bmp \
107         resources/obm_restored.bmp \
108         resources/obm_rgarrow.bmp \
109         resources/obm_rgarrowd.bmp \
110         resources/obm_rgarrowi.bmp \
111         resources/obm_size.bmp \
112         resources/obm_trtype.bmp \
113         resources/obm_uparrow.bmp \
114         resources/obm_uparrowd.bmp \
115         resources/obm_uparrowi.bmp \
116         resources/obm_zoom.bmp \
117         resources/obm_zoomd.bmp \
118         resources/ocr_appstarting.cur \
119         resources/ocr_cross.cur \
120         resources/ocr_dragobject.cur \
121         resources/ocr_hand.cur \
122         resources/ocr_help.cur \
123         resources/ocr_ibeam.cur \
124         resources/ocr_icon.cur \
125         resources/ocr_no.cur \
126         resources/ocr_normal.cur \
127         resources/ocr_size.cur \
128         resources/ocr_sizeall.cur \
129         resources/ocr_sizenesw.cur \
130         resources/ocr_sizens.cur \
131         resources/ocr_sizenwse.cur \
132         resources/ocr_sizewe.cur \
133         resources/ocr_up.cur \
134         resources/ocr_wait.cur \
135         resources/oic_bang.ico \
136         resources/oic_hand.ico \
137         resources/oic_note.ico \
138         resources/oic_ques.ico \
139         resources/oic_sample.ico \
140         resources/oic_winlogo.ico
141
142 RC_SRCS16 = \
143         resources/display.rc \
144         resources/mouse.rc \
145         resources/version16.rc
146
147 SUBDIRS = tests
148
149 EXTRASUBDIRS = \
150         $(TOPOBJDIR)/windows \
151         dde \
152         resources
153
154 @MAKE_DLL_RULES@
155
156 # Special rules for 16-bit resource and spec files
157
158 user.exe.spec.c: user.exe.spec resources/version16.res
159         $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
160
161 display.drv.spec.c: display.drv.spec resources/display.res
162         $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
163
164 mouse.drv.spec.c: mouse.drv.spec resources/mouse.res
165         $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
166
167 resources/display.res: resources/display.rc
168         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
169
170 resources/mouse.res: resources/mouse.rc
171         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
172
173 resources/version16.res: resources/version16.rc
174         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
175
176 ### Dependencies: